@aws-sdk/client-cost-explorer 3.943.0 → 3.947.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/README.md +8 -0
- package/dist-cjs/index.js +80 -161
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/CostExplorer.js +2 -0
- package/dist-es/CostExplorerClient.js +2 -2
- package/dist-es/commands/ListCostCategoryResourceAssociationsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/pagination/ListCostCategoryResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +65 -162
- package/dist-types/CostExplorer.d.ts +9 -1
- package/dist-types/CostExplorerClient.d.ts +13 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +3 -3
- package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +5 -5
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +6 -6
- package/dist-types/commands/GetAnomaliesCommand.d.ts +3 -3
- package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +3 -3
- package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +3 -3
- package/dist-types/commands/GetApproximateUsageRecordsCommand.d.ts +3 -3
- package/dist-types/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +3 -3
- package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +3 -3
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +3 -3
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +5 -5
- package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +3 -3
- package/dist-types/commands/GetCostForecastCommand.d.ts +3 -3
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +3 -3
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +4 -4
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +3 -3
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +3 -3
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +3 -3
- package/dist-types/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.d.ts +3 -3
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +4 -4
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +3 -3
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +3 -3
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +3 -3
- package/dist-types/commands/GetTagsCommand.d.ts +3 -3
- package/dist-types/commands/GetUsageForecastCommand.d.ts +3 -3
- package/dist-types/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +3 -3
- package/dist-types/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +3 -3
- package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +3 -3
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +13 -7
- package/dist-types/commands/ListCostCategoryResourceAssociationsCommand.d.ts +90 -0
- package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +3 -3
- package/dist-types/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/StartCostAllocationTagBackfillCommand.d.ts +3 -3
- package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/CostExplorerServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +134 -50
- package/dist-types/pagination/GetAnomaliesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetAnomalyMonitorsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetAnomalySubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCostAndUsageComparisonsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCostComparisonDriversPaginator.d.ts +1 -1
- package/dist-types/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
- package/dist-types/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCostAllocationTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -2
- package/dist-types/ts3.4/CostExplorer.d.ts +24 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +9 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCostCategoryResourceAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CostExplorerServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -1
- package/package.json +13 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
9
|
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
UseDualStack?: boolean | undefined;
|
|
35
47
|
UseFIPS?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CostExplorerServiceException as __BaseException } from "./CostExplorerServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The requested analysis can't be found.</p>
|
|
@@ -504,12 +504,12 @@ export interface AnomalyDateInterval {
|
|
|
504
504
|
*/
|
|
505
505
|
export interface CostCategoryValues {
|
|
506
506
|
/**
|
|
507
|
-
* <p>The unique name of the
|
|
507
|
+
* <p>The unique name of the cost category.</p>
|
|
508
508
|
* @public
|
|
509
509
|
*/
|
|
510
510
|
Key?: string | undefined;
|
|
511
511
|
/**
|
|
512
|
-
* <p>The specific value of the
|
|
512
|
+
* <p>The specific value of the cost category.</p>
|
|
513
513
|
* @public
|
|
514
514
|
*/
|
|
515
515
|
Values?: string[] | undefined;
|
|
@@ -551,7 +551,7 @@ export interface DimensionValues {
|
|
|
551
551
|
/**
|
|
552
552
|
* <p>The match options that you can use to filter your results.</p>
|
|
553
553
|
* <p>
|
|
554
|
-
* <code>MatchOptions</code> is only applicable for actions related to
|
|
554
|
+
* <code>MatchOptions</code> is only applicable for actions related to cost category and
|
|
555
555
|
* Anomaly Subscriptions. Refer to the documentation for each specific API to see what is
|
|
556
556
|
* supported.</p>
|
|
557
557
|
* <p>The default values for <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
@@ -584,7 +584,7 @@ export interface TagValues {
|
|
|
584
584
|
Values?: string[] | undefined;
|
|
585
585
|
/**
|
|
586
586
|
* <p>The match options that you can use to filter your results. <code>MatchOptions</code>
|
|
587
|
-
* is only applicable for actions related to
|
|
587
|
+
* is only applicable for actions related to cost category. The default values for
|
|
588
588
|
* <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
589
589
|
* <code>CASE_SENSITIVE</code>.</p>
|
|
590
590
|
* @public
|
|
@@ -702,20 +702,20 @@ export interface CostCategorySplitChargeRuleParameter {
|
|
|
702
702
|
Values: string[] | undefined;
|
|
703
703
|
}
|
|
704
704
|
/**
|
|
705
|
-
* <p>Use the split charge rule to split the cost of one
|
|
705
|
+
* <p>Use the split charge rule to split the cost of one cost category value across several
|
|
706
706
|
* other target values. </p>
|
|
707
707
|
* @public
|
|
708
708
|
*/
|
|
709
709
|
export interface CostCategorySplitChargeRule {
|
|
710
710
|
/**
|
|
711
|
-
* <p>The
|
|
711
|
+
* <p>The cost category value that you want to split. That value can't be used as a source
|
|
712
712
|
* or a target in other split charge rules. To indicate uncategorized costs, you can use an
|
|
713
713
|
* empty string as the source.</p>
|
|
714
714
|
* @public
|
|
715
715
|
*/
|
|
716
716
|
Source: string | undefined;
|
|
717
717
|
/**
|
|
718
|
-
* <p>The
|
|
718
|
+
* <p>The cost category values that you want to split costs across. These values can't be
|
|
719
719
|
* used as a source in other split charge rules. </p>
|
|
720
720
|
* @public
|
|
721
721
|
*/
|
|
@@ -744,12 +744,12 @@ export interface CostCategorySplitChargeRule {
|
|
|
744
744
|
*/
|
|
745
745
|
export interface CreateCostCategoryDefinitionResponse {
|
|
746
746
|
/**
|
|
747
|
-
* <p>The unique identifier for your newly created
|
|
747
|
+
* <p>The unique identifier for your newly created cost category. </p>
|
|
748
748
|
* @public
|
|
749
749
|
*/
|
|
750
750
|
CostCategoryArn?: string | undefined;
|
|
751
751
|
/**
|
|
752
|
-
* <p>The
|
|
752
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month).</p>
|
|
753
753
|
* @public
|
|
754
754
|
*/
|
|
755
755
|
EffectiveStart?: string | undefined;
|
|
@@ -789,7 +789,7 @@ export interface DeleteAnomalySubscriptionResponse {
|
|
|
789
789
|
*/
|
|
790
790
|
export interface DeleteCostCategoryDefinitionRequest {
|
|
791
791
|
/**
|
|
792
|
-
* <p>The unique identifier for your
|
|
792
|
+
* <p>The unique identifier for your cost category. </p>
|
|
793
793
|
* @public
|
|
794
794
|
*/
|
|
795
795
|
CostCategoryArn: string | undefined;
|
|
@@ -799,13 +799,13 @@ export interface DeleteCostCategoryDefinitionRequest {
|
|
|
799
799
|
*/
|
|
800
800
|
export interface DeleteCostCategoryDefinitionResponse {
|
|
801
801
|
/**
|
|
802
|
-
* <p>The unique identifier for your
|
|
802
|
+
* <p>The unique identifier for your cost category. </p>
|
|
803
803
|
* @public
|
|
804
804
|
*/
|
|
805
805
|
CostCategoryArn?: string | undefined;
|
|
806
806
|
/**
|
|
807
|
-
* <p>The effective end date of the
|
|
808
|
-
* this date is categorized by the deleted
|
|
807
|
+
* <p>The effective end date of the cost category as a result of deleting it. No costs after
|
|
808
|
+
* this date is categorized by the deleted cost category. </p>
|
|
809
809
|
* @public
|
|
810
810
|
*/
|
|
811
811
|
EffectiveEnd?: string | undefined;
|
|
@@ -815,12 +815,12 @@ export interface DeleteCostCategoryDefinitionResponse {
|
|
|
815
815
|
*/
|
|
816
816
|
export interface DescribeCostCategoryDefinitionRequest {
|
|
817
817
|
/**
|
|
818
|
-
* <p>The unique identifier for your
|
|
818
|
+
* <p>The unique identifier for your cost category. </p>
|
|
819
819
|
* @public
|
|
820
820
|
*/
|
|
821
821
|
CostCategoryArn: string | undefined;
|
|
822
822
|
/**
|
|
823
|
-
* <p>The date when the
|
|
823
|
+
* <p>The date when the cost category was effective. </p>
|
|
824
824
|
* @public
|
|
825
825
|
*/
|
|
826
826
|
EffectiveOn?: string | undefined;
|
|
@@ -1268,12 +1268,12 @@ export interface GetCostCategoriesResponse {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
NextPageToken?: string | undefined;
|
|
1270
1270
|
/**
|
|
1271
|
-
* <p>The names of the
|
|
1271
|
+
* <p>The names of the cost categories.</p>
|
|
1272
1272
|
* @public
|
|
1273
1273
|
*/
|
|
1274
1274
|
CostCategoryNames?: string[] | undefined;
|
|
1275
1275
|
/**
|
|
1276
|
-
* <p>The
|
|
1276
|
+
* <p>The cost category values.</p>
|
|
1277
1277
|
* <p>If the <code>CostCategoryName</code> key isn't specified in the request, the
|
|
1278
1278
|
* <code>CostCategoryValues</code> fields aren't returned. </p>
|
|
1279
1279
|
* @public
|
|
@@ -3942,7 +3942,7 @@ export interface ListCostAllocationTagsResponse {
|
|
|
3942
3942
|
*/
|
|
3943
3943
|
export interface ListCostCategoryDefinitionsRequest {
|
|
3944
3944
|
/**
|
|
3945
|
-
* <p>The date when the
|
|
3945
|
+
* <p>The date when the cost category was effective. </p>
|
|
3946
3946
|
* @public
|
|
3947
3947
|
*/
|
|
3948
3948
|
EffectiveOn?: string | undefined;
|
|
@@ -3957,37 +3957,44 @@ export interface ListCostCategoryDefinitionsRequest {
|
|
|
3957
3957
|
* @public
|
|
3958
3958
|
*/
|
|
3959
3959
|
MaxResults?: number | undefined;
|
|
3960
|
+
/**
|
|
3961
|
+
* <p>
|
|
3962
|
+
* Filter cost category definitions that are supported by given resource types based on the latest version. If the filter is present, the result only includes Cost Categories that supports input resource type. If the filter isn't provided, no filtering is applied. The valid values are <code>billing:rispgroupsharing</code>.
|
|
3963
|
+
* </p>
|
|
3964
|
+
* @public
|
|
3965
|
+
*/
|
|
3966
|
+
SupportedResourceTypes?: string[] | undefined;
|
|
3960
3967
|
}
|
|
3961
3968
|
/**
|
|
3962
|
-
* <p>A reference to a
|
|
3969
|
+
* <p>A reference to a cost category containing only enough information to identify the Cost
|
|
3963
3970
|
* Category.</p>
|
|
3964
|
-
* <p>You can use this information to retrieve the full
|
|
3971
|
+
* <p>You can use this information to retrieve the full cost category information using
|
|
3965
3972
|
* <code>DescribeCostCategory</code>.</p>
|
|
3966
3973
|
* @public
|
|
3967
3974
|
*/
|
|
3968
3975
|
export interface CostCategoryReference {
|
|
3969
3976
|
/**
|
|
3970
|
-
* <p>The unique identifier for your
|
|
3977
|
+
* <p>The unique identifier for your cost category. </p>
|
|
3971
3978
|
* @public
|
|
3972
3979
|
*/
|
|
3973
3980
|
CostCategoryArn?: string | undefined;
|
|
3974
3981
|
/**
|
|
3975
|
-
* <p>The unique name of the
|
|
3982
|
+
* <p>The unique name of the cost category.</p>
|
|
3976
3983
|
* @public
|
|
3977
3984
|
*/
|
|
3978
3985
|
Name?: string | undefined;
|
|
3979
3986
|
/**
|
|
3980
|
-
* <p>The
|
|
3987
|
+
* <p>The cost category's effective start date.</p>
|
|
3981
3988
|
* @public
|
|
3982
3989
|
*/
|
|
3983
3990
|
EffectiveStart?: string | undefined;
|
|
3984
3991
|
/**
|
|
3985
|
-
* <p>The
|
|
3992
|
+
* <p>The cost category's effective end date.</p>
|
|
3986
3993
|
* @public
|
|
3987
3994
|
*/
|
|
3988
3995
|
EffectiveEnd?: string | undefined;
|
|
3989
3996
|
/**
|
|
3990
|
-
* <p>The number of rules that are associated with a specific
|
|
3997
|
+
* <p>The number of rules that are associated with a specific cost category. </p>
|
|
3991
3998
|
* @public
|
|
3992
3999
|
*/
|
|
3993
4000
|
NumberOfRules?: number | undefined;
|
|
@@ -4008,13 +4015,20 @@ export interface CostCategoryReference {
|
|
|
4008
4015
|
* @public
|
|
4009
4016
|
*/
|
|
4010
4017
|
DefaultValue?: string | undefined;
|
|
4018
|
+
/**
|
|
4019
|
+
* <p>
|
|
4020
|
+
* The resource types supported by a specific cost category.
|
|
4021
|
+
* </p>
|
|
4022
|
+
* @public
|
|
4023
|
+
*/
|
|
4024
|
+
SupportedResourceTypes?: string[] | undefined;
|
|
4011
4025
|
}
|
|
4012
4026
|
/**
|
|
4013
4027
|
* @public
|
|
4014
4028
|
*/
|
|
4015
4029
|
export interface ListCostCategoryDefinitionsResponse {
|
|
4016
4030
|
/**
|
|
4017
|
-
* <p>A reference to a
|
|
4031
|
+
* <p>A reference to a cost category that contains enough information to identify the Cost
|
|
4018
4032
|
* Category. </p>
|
|
4019
4033
|
* @public
|
|
4020
4034
|
*/
|
|
@@ -4026,6 +4040,74 @@ export interface ListCostCategoryDefinitionsResponse {
|
|
|
4026
4040
|
*/
|
|
4027
4041
|
NextToken?: string | undefined;
|
|
4028
4042
|
}
|
|
4043
|
+
/**
|
|
4044
|
+
* @public
|
|
4045
|
+
*/
|
|
4046
|
+
export interface ListCostCategoryResourceAssociationsRequest {
|
|
4047
|
+
/**
|
|
4048
|
+
* <p>The unique identifier for your cost category.</p>
|
|
4049
|
+
* @public
|
|
4050
|
+
*/
|
|
4051
|
+
CostCategoryArn?: string | undefined;
|
|
4052
|
+
/**
|
|
4053
|
+
* <p>
|
|
4054
|
+
* The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
|
|
4055
|
+
* </p>
|
|
4056
|
+
* @public
|
|
4057
|
+
*/
|
|
4058
|
+
NextToken?: string | undefined;
|
|
4059
|
+
/**
|
|
4060
|
+
* <p>
|
|
4061
|
+
* The number of entries a paginated response contains.
|
|
4062
|
+
* </p>
|
|
4063
|
+
* @public
|
|
4064
|
+
*/
|
|
4065
|
+
MaxResults?: number | undefined;
|
|
4066
|
+
}
|
|
4067
|
+
/**
|
|
4068
|
+
* <p>A reference to a cost category association that contains information on an associated resource.
|
|
4069
|
+
* </p>
|
|
4070
|
+
* @public
|
|
4071
|
+
*/
|
|
4072
|
+
export interface CostCategoryResourceAssociation {
|
|
4073
|
+
/**
|
|
4074
|
+
* <p>
|
|
4075
|
+
* The unique identifier for an associated resource.
|
|
4076
|
+
* </p>
|
|
4077
|
+
* @public
|
|
4078
|
+
*/
|
|
4079
|
+
ResourceArn?: string | undefined;
|
|
4080
|
+
/**
|
|
4081
|
+
* <p>The unique name of the cost category.</p>
|
|
4082
|
+
* @public
|
|
4083
|
+
*/
|
|
4084
|
+
CostCategoryName?: string | undefined;
|
|
4085
|
+
/**
|
|
4086
|
+
* <p>The unique identifier for your cost category.
|
|
4087
|
+
* </p>
|
|
4088
|
+
* @public
|
|
4089
|
+
*/
|
|
4090
|
+
CostCategoryArn?: string | undefined;
|
|
4091
|
+
}
|
|
4092
|
+
/**
|
|
4093
|
+
* @public
|
|
4094
|
+
*/
|
|
4095
|
+
export interface ListCostCategoryResourceAssociationsResponse {
|
|
4096
|
+
/**
|
|
4097
|
+
* <p>
|
|
4098
|
+
* A reference to a cost category association that contains information on an associated resource.
|
|
4099
|
+
* </p>
|
|
4100
|
+
* @public
|
|
4101
|
+
*/
|
|
4102
|
+
CostCategoryResourceAssociations?: CostCategoryResourceAssociation[] | undefined;
|
|
4103
|
+
/**
|
|
4104
|
+
* <p>
|
|
4105
|
+
* The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
|
|
4106
|
+
* </p>
|
|
4107
|
+
* @public
|
|
4108
|
+
*/
|
|
4109
|
+
NextToken?: string | undefined;
|
|
4110
|
+
}
|
|
4029
4111
|
/**
|
|
4030
4112
|
* @public
|
|
4031
4113
|
*/
|
|
@@ -4402,12 +4484,12 @@ export interface UpdateCostAllocationTagsStatusResponse {
|
|
|
4402
4484
|
*/
|
|
4403
4485
|
export interface UpdateCostCategoryDefinitionResponse {
|
|
4404
4486
|
/**
|
|
4405
|
-
* <p>The unique identifier for your
|
|
4487
|
+
* <p>The unique identifier for your cost category. </p>
|
|
4406
4488
|
* @public
|
|
4407
4489
|
*/
|
|
4408
4490
|
CostCategoryArn?: string | undefined;
|
|
4409
4491
|
/**
|
|
4410
|
-
* <p>The
|
|
4492
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month).</p>
|
|
4411
4493
|
* @public
|
|
4412
4494
|
*/
|
|
4413
4495
|
EffectiveStart?: string | undefined;
|
|
@@ -4930,7 +5012,7 @@ export interface CostAndUsageComparison {
|
|
|
4930
5012
|
}
|
|
4931
5013
|
/**
|
|
4932
5014
|
* <p>Rules are processed in order. If there are multiple rules that match the line item,
|
|
4933
|
-
* then the first rule to match is used to determine that
|
|
5015
|
+
* then the first rule to match is used to determine that cost category value.</p>
|
|
4934
5016
|
* @public
|
|
4935
5017
|
*/
|
|
4936
5018
|
export interface CostCategoryRule {
|
|
@@ -4948,7 +5030,7 @@ export interface CostCategoryRule {
|
|
|
4948
5030
|
* <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, <code>LINKED_ACCOUNT_NAME</code>, <code>REGION</code>, and <code>USAGE_TYPE</code>.</p>
|
|
4949
5031
|
* <p>
|
|
4950
5032
|
* <code>RECORD_TYPE</code> is a dimension used for Cost Explorer APIs, and is also
|
|
4951
|
-
* supported for
|
|
5033
|
+
* supported for cost category expressions. This dimension uses different terms, depending
|
|
4952
5034
|
* on whether you're using the console or API/JSON editor. For a detailed comparison, see
|
|
4953
5035
|
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms">Term Comparisons</a> in the <i>Billing and Cost Management User
|
|
4954
5036
|
* Guide</i>.</p>
|
|
@@ -5410,6 +5492,9 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
5410
5492
|
* <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated
|
|
5411
5493
|
* with that account's usage of that service. You can nest <code>Expression</code> objects to
|
|
5412
5494
|
* 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>
|
|
5495
|
+
* <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group
|
|
5496
|
+
* 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>
|
|
5497
|
+
* <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
|
|
5413
5498
|
* <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are
|
|
5414
5499
|
* <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
5415
5500
|
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and
|
|
@@ -5470,8 +5555,8 @@ export interface GetCostCategoriesRequest {
|
|
|
5470
5555
|
/**
|
|
5471
5556
|
* <p>The value that you want to search the filter values for.</p>
|
|
5472
5557
|
* <p>If you don't specify a <code>CostCategoryName</code>, <code>SearchString</code> is used to
|
|
5473
|
-
* filter
|
|
5474
|
-
* <code>CostCategoryName</code>, <code>SearchString</code> is used to filter
|
|
5558
|
+
* filter cost category names that match the <code>SearchString</code> pattern. If you specify a
|
|
5559
|
+
* <code>CostCategoryName</code>, <code>SearchString</code> is used to filter cost category
|
|
5475
5560
|
* values that match the <code>SearchString</code> pattern.</p>
|
|
5476
5561
|
* @public
|
|
5477
5562
|
*/
|
|
@@ -5482,7 +5567,7 @@ export interface GetCostCategoriesRequest {
|
|
|
5482
5567
|
*/
|
|
5483
5568
|
TimePeriod: DateInterval | undefined;
|
|
5484
5569
|
/**
|
|
5485
|
-
* <p>The unique name of the
|
|
5570
|
+
* <p>The unique name of the cost category.</p>
|
|
5486
5571
|
* @public
|
|
5487
5572
|
*/
|
|
5488
5573
|
CostCategoryName?: string | undefined;
|
|
@@ -8148,40 +8233,39 @@ export interface CreateAnomalySubscriptionRequest {
|
|
|
8148
8233
|
*/
|
|
8149
8234
|
export interface CostCategory {
|
|
8150
8235
|
/**
|
|
8151
|
-
* <p>The unique identifier for your
|
|
8236
|
+
* <p>The unique identifier for your cost category. </p>
|
|
8152
8237
|
* @public
|
|
8153
8238
|
*/
|
|
8154
8239
|
CostCategoryArn: string | undefined;
|
|
8155
8240
|
/**
|
|
8156
|
-
* <p>The effective start date of your
|
|
8241
|
+
* <p>The effective start date of your cost category.</p>
|
|
8157
8242
|
* @public
|
|
8158
8243
|
*/
|
|
8159
8244
|
EffectiveStart: string | undefined;
|
|
8160
8245
|
/**
|
|
8161
|
-
* <p>The effective end date of your
|
|
8246
|
+
* <p>The effective end date of your cost category.</p>
|
|
8162
8247
|
* @public
|
|
8163
8248
|
*/
|
|
8164
8249
|
EffectiveEnd?: string | undefined;
|
|
8165
8250
|
/**
|
|
8166
|
-
* <p>The unique name of the
|
|
8251
|
+
* <p>The unique name of the cost category.</p>
|
|
8167
8252
|
* @public
|
|
8168
8253
|
*/
|
|
8169
8254
|
Name: string | undefined;
|
|
8170
8255
|
/**
|
|
8171
|
-
* <p>The rule schema version in this particular
|
|
8256
|
+
* <p>The rule schema version in this particular cost category.</p>
|
|
8172
8257
|
* @public
|
|
8173
8258
|
*/
|
|
8174
8259
|
RuleVersion: CostCategoryRuleVersion | undefined;
|
|
8175
8260
|
/**
|
|
8176
8261
|
* <p>The rules are processed in order. If there are multiple rules that match the line
|
|
8177
|
-
* item, then the first rule to match is used to determine that
|
|
8262
|
+
* item, then the first rule to match is used to determine that cost category value.
|
|
8178
8263
|
* </p>
|
|
8179
8264
|
* @public
|
|
8180
8265
|
*/
|
|
8181
8266
|
Rules: CostCategoryRule[] | undefined;
|
|
8182
8267
|
/**
|
|
8183
|
-
* <p> The split charge rules that are used to allocate your charges between your
|
|
8184
|
-
* Category values. </p>
|
|
8268
|
+
* <p> The split charge rules that are used to allocate your charges between your cost category values. </p>
|
|
8185
8269
|
* @public
|
|
8186
8270
|
*/
|
|
8187
8271
|
SplitChargeRules?: CostCategorySplitChargeRule[] | undefined;
|
|
@@ -8203,22 +8287,22 @@ export interface CostCategory {
|
|
|
8203
8287
|
*/
|
|
8204
8288
|
export interface CreateCostCategoryDefinitionRequest {
|
|
8205
8289
|
/**
|
|
8206
|
-
* <p>The unique name of the
|
|
8290
|
+
* <p>The unique name of the cost category.</p>
|
|
8207
8291
|
* @public
|
|
8208
8292
|
*/
|
|
8209
8293
|
Name: string | undefined;
|
|
8210
8294
|
/**
|
|
8211
|
-
* <p>The
|
|
8295
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.</p>
|
|
8212
8296
|
* @public
|
|
8213
8297
|
*/
|
|
8214
8298
|
EffectiveStart?: string | undefined;
|
|
8215
8299
|
/**
|
|
8216
|
-
* <p>The rule schema version in this particular
|
|
8300
|
+
* <p>The rule schema version in this particular cost category.</p>
|
|
8217
8301
|
* @public
|
|
8218
8302
|
*/
|
|
8219
8303
|
RuleVersion: CostCategoryRuleVersion | undefined;
|
|
8220
8304
|
/**
|
|
8221
|
-
* <p>The
|
|
8305
|
+
* <p>The cost category rules used to categorize costs. For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html">CostCategoryRule</a>.</p>
|
|
8222
8306
|
* @public
|
|
8223
8307
|
*/
|
|
8224
8308
|
Rules: CostCategoryRule[] | undefined;
|
|
@@ -8229,7 +8313,7 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
8229
8313
|
*/
|
|
8230
8314
|
DefaultValue?: string | undefined;
|
|
8231
8315
|
/**
|
|
8232
|
-
* <p> The split charge rules used to allocate your charges between your
|
|
8316
|
+
* <p> The split charge rules used to allocate your charges between your cost category values.
|
|
8233
8317
|
* </p>
|
|
8234
8318
|
* @public
|
|
8235
8319
|
*/
|
|
@@ -8351,17 +8435,17 @@ export interface GetCostComparisonDriversResponse {
|
|
|
8351
8435
|
*/
|
|
8352
8436
|
export interface UpdateCostCategoryDefinitionRequest {
|
|
8353
8437
|
/**
|
|
8354
|
-
* <p>The unique identifier for your
|
|
8438
|
+
* <p>The unique identifier for your cost category.</p>
|
|
8355
8439
|
* @public
|
|
8356
8440
|
*/
|
|
8357
8441
|
CostCategoryArn: string | undefined;
|
|
8358
8442
|
/**
|
|
8359
|
-
* <p>The
|
|
8443
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.</p>
|
|
8360
8444
|
* @public
|
|
8361
8445
|
*/
|
|
8362
8446
|
EffectiveStart?: string | undefined;
|
|
8363
8447
|
/**
|
|
8364
|
-
* <p>The rule schema version in this particular
|
|
8448
|
+
* <p>The rule schema version in this particular cost category.</p>
|
|
8365
8449
|
* @public
|
|
8366
8450
|
*/
|
|
8367
8451
|
RuleVersion: CostCategoryRuleVersion | undefined;
|
|
@@ -8379,7 +8463,7 @@ export interface UpdateCostCategoryDefinitionRequest {
|
|
|
8379
8463
|
*/
|
|
8380
8464
|
DefaultValue?: string | undefined;
|
|
8381
8465
|
/**
|
|
8382
|
-
* <p> The split charge rules used to allocate your charges between your
|
|
8466
|
+
* <p> The split charge rules used to allocate your charges between your cost category values.
|
|
8383
8467
|
* </p>
|
|
8384
8468
|
* @public
|
|
8385
8469
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetAnomaliesCommandInput, GetAnomaliesCommandOutput } from "../commands/GetAnomaliesCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetAnomalyMonitorsCommandInput, GetAnomalyMonitorsCommandOutput } from "../commands/GetAnomalyMonitorsCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetAnomalySubscriptionsCommandInput, GetAnomalySubscriptionsCommandOutput } from "../commands/GetAnomalySubscriptionsCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetCostAndUsageComparisonsCommandInput, GetCostAndUsageComparisonsCommandOutput } from "../commands/GetCostAndUsageComparisonsCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetCostComparisonDriversCommandInput, GetCostComparisonDriversCommandOutput } from "../commands/GetCostComparisonDriversCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetSavingsPlansCoverageCommandInput, GetSavingsPlansCoverageCommandOutput } from "../commands/GetSavingsPlansCoverageCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput } from "../commands/GetSavingsPlansUtilizationDetailsCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput } from "../commands/ListCostAllocationTagBackfillHistoryCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
|
|
3
3
|
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListCostCategoryResourceAssociationsCommandInput, ListCostCategoryResourceAssociationsCommandOutput } from "../commands/ListCostCategoryResourceAssociationsCommand";
|
|
3
|
+
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListCostCategoryResourceAssociations: (config: CostExplorerPaginationConfiguration, input: ListCostCategoryResourceAssociationsCommandInput, ...rest: any[]) => Paginator<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
@@ -9,3 +9,4 @@ export * from "./Interfaces";
|
|
|
9
9
|
export * from "./ListCostAllocationTagBackfillHistoryPaginator";
|
|
10
10
|
export * from "./ListCostAllocationTagsPaginator";
|
|
11
11
|
export * from "./ListCostCategoryDefinitionsPaginator";
|
|
12
|
+
export * from "./ListCostCategoryResourceAssociationsPaginator";
|