@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 { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AnalysisDetails: StaticStructureSchema;
|
|
3
3
|
export declare var AnalysisNotFoundException: StaticErrorSchema;
|
|
4
4
|
export declare var AnalysisSummary: StaticStructureSchema;
|
|
@@ -20,6 +20,7 @@ export declare var CostCategory: StaticStructureSchema;
|
|
|
20
20
|
export declare var CostCategoryInheritedValueDimension: StaticStructureSchema;
|
|
21
21
|
export declare var CostCategoryProcessingStatus: StaticStructureSchema;
|
|
22
22
|
export declare var CostCategoryReference: StaticStructureSchema;
|
|
23
|
+
export declare var CostCategoryResourceAssociation: StaticStructureSchema;
|
|
23
24
|
export declare var CostCategoryRule: StaticStructureSchema;
|
|
24
25
|
export declare var CostCategorySplitChargeRule: StaticStructureSchema;
|
|
25
26
|
export declare var CostCategorySplitChargeRuleParameter: StaticStructureSchema;
|
|
@@ -123,6 +124,8 @@ export declare var ListCostAllocationTagsRequest: StaticStructureSchema;
|
|
|
123
124
|
export declare var ListCostAllocationTagsResponse: StaticStructureSchema;
|
|
124
125
|
export declare var ListCostCategoryDefinitionsRequest: StaticStructureSchema;
|
|
125
126
|
export declare var ListCostCategoryDefinitionsResponse: StaticStructureSchema;
|
|
127
|
+
export declare var ListCostCategoryResourceAssociationsRequest: StaticStructureSchema;
|
|
128
|
+
export declare var ListCostCategoryResourceAssociationsResponse: StaticStructureSchema;
|
|
126
129
|
export declare var ListSavingsPlansPurchaseRecommendationGenerationRequest: StaticStructureSchema;
|
|
127
130
|
export declare var ListSavingsPlansPurchaseRecommendationGenerationResponse: StaticStructureSchema;
|
|
128
131
|
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
@@ -205,7 +208,6 @@ export declare var UpdateCostAllocationTagsStatusResponse: StaticStructureSchema
|
|
|
205
208
|
export declare var UpdateCostCategoryDefinitionRequest: StaticStructureSchema;
|
|
206
209
|
export declare var UpdateCostCategoryDefinitionResponse: StaticStructureSchema;
|
|
207
210
|
export declare var UtilizationByTime: StaticStructureSchema;
|
|
208
|
-
export declare var __Unit: "unit";
|
|
209
211
|
export declare var CostExplorerServiceException: StaticErrorSchema;
|
|
210
212
|
export declare var AnalysisIds: number;
|
|
211
213
|
export declare var AnalysisSummaryList: StaticListSchema;
|
|
@@ -220,6 +222,7 @@ export declare var CostAndUsageComparisons: StaticListSchema;
|
|
|
220
222
|
export declare var CostCategoryNamesList: number;
|
|
221
223
|
export declare var CostCategoryProcessingStatusList: StaticListSchema;
|
|
222
224
|
export declare var CostCategoryReferencesList: StaticListSchema;
|
|
225
|
+
export declare var CostCategoryResourceAssociations: StaticListSchema;
|
|
223
226
|
export declare var CostCategoryRulesList: StaticListSchema;
|
|
224
227
|
export declare var CostCategorySplitChargeRuleParametersList: StaticListSchema;
|
|
225
228
|
export declare var CostCategorySplitChargeRuleParameterValuesList: number;
|
|
@@ -249,6 +252,8 @@ export declare var ReservationPurchaseRecommendations: StaticListSchema;
|
|
|
249
252
|
export declare var ReservationUtilizationGroups: StaticListSchema;
|
|
250
253
|
export declare var ResourceTagKeyList: number;
|
|
251
254
|
export declare var ResourceTagList: StaticListSchema;
|
|
255
|
+
export declare var ResourceTypes: number;
|
|
256
|
+
export declare var ResourceTypesFilterInput: number;
|
|
252
257
|
export declare var ResultsByTime: StaticListSchema;
|
|
253
258
|
export declare var RightsizingRecommendationList: StaticListSchema;
|
|
254
259
|
export declare var RootCauses: StaticListSchema;
|
|
@@ -306,6 +311,7 @@ export declare var ListCommitmentPurchaseAnalyses: StaticOperationSchema;
|
|
|
306
311
|
export declare var ListCostAllocationTagBackfillHistory: StaticOperationSchema;
|
|
307
312
|
export declare var ListCostAllocationTags: StaticOperationSchema;
|
|
308
313
|
export declare var ListCostCategoryDefinitions: StaticOperationSchema;
|
|
314
|
+
export declare var ListCostCategoryResourceAssociations: StaticOperationSchema;
|
|
309
315
|
export declare var ListSavingsPlansPurchaseRecommendationGeneration: StaticOperationSchema;
|
|
310
316
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
311
317
|
export declare var ProvideAnomalyFeedback: StaticOperationSchema;
|
|
@@ -135,6 +135,10 @@ import {
|
|
|
135
135
|
ListCostCategoryDefinitionsCommandInput,
|
|
136
136
|
ListCostCategoryDefinitionsCommandOutput,
|
|
137
137
|
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
138
|
+
import {
|
|
139
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
140
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
141
|
+
} from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
138
142
|
import {
|
|
139
143
|
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
140
144
|
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
@@ -663,6 +667,26 @@ export interface CostExplorer {
|
|
|
663
667
|
options: __HttpHandlerOptions,
|
|
664
668
|
cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void
|
|
665
669
|
): void;
|
|
670
|
+
listCostCategoryResourceAssociations(): Promise<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
671
|
+
listCostCategoryResourceAssociations(
|
|
672
|
+
args: ListCostCategoryResourceAssociationsCommandInput,
|
|
673
|
+
options?: __HttpHandlerOptions
|
|
674
|
+
): Promise<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
675
|
+
listCostCategoryResourceAssociations(
|
|
676
|
+
args: ListCostCategoryResourceAssociationsCommandInput,
|
|
677
|
+
cb: (
|
|
678
|
+
err: any,
|
|
679
|
+
data?: ListCostCategoryResourceAssociationsCommandOutput
|
|
680
|
+
) => void
|
|
681
|
+
): void;
|
|
682
|
+
listCostCategoryResourceAssociations(
|
|
683
|
+
args: ListCostCategoryResourceAssociationsCommandInput,
|
|
684
|
+
options: __HttpHandlerOptions,
|
|
685
|
+
cb: (
|
|
686
|
+
err: any,
|
|
687
|
+
data?: ListCostCategoryResourceAssociationsCommandOutput
|
|
688
|
+
) => void
|
|
689
|
+
): void;
|
|
666
690
|
listSavingsPlansPurchaseRecommendationGeneration(): Promise<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
667
691
|
listSavingsPlansPurchaseRecommendationGeneration(
|
|
668
692
|
args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -184,6 +184,10 @@ import {
|
|
|
184
184
|
ListCostCategoryDefinitionsCommandInput,
|
|
185
185
|
ListCostCategoryDefinitionsCommandOutput,
|
|
186
186
|
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
187
|
+
import {
|
|
188
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
189
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
190
|
+
} from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
187
191
|
import {
|
|
188
192
|
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
189
193
|
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
@@ -274,6 +278,7 @@ export type ServiceInputTypes =
|
|
|
274
278
|
| ListCostAllocationTagBackfillHistoryCommandInput
|
|
275
279
|
| ListCostAllocationTagsCommandInput
|
|
276
280
|
| ListCostCategoryDefinitionsCommandInput
|
|
281
|
+
| ListCostCategoryResourceAssociationsCommandInput
|
|
277
282
|
| ListSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
278
283
|
| ListTagsForResourceCommandInput
|
|
279
284
|
| ProvideAnomalyFeedbackCommandInput
|
|
@@ -321,6 +326,7 @@ export type ServiceOutputTypes =
|
|
|
321
326
|
| ListCostAllocationTagBackfillHistoryCommandOutput
|
|
322
327
|
| ListCostAllocationTagsCommandOutput
|
|
323
328
|
| ListCostCategoryDefinitionsCommandOutput
|
|
329
|
+
| ListCostCategoryResourceAssociationsCommandOutput
|
|
324
330
|
| ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
325
331
|
| ListTagsForResourceCommandOutput
|
|
326
332
|
| ProvideAnomalyFeedbackCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CostExplorerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CostExplorerClient";
|
|
8
|
+
import {
|
|
9
|
+
ListCostCategoryResourceAssociationsRequest,
|
|
10
|
+
ListCostCategoryResourceAssociationsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListCostCategoryResourceAssociationsCommandInput
|
|
15
|
+
extends ListCostCategoryResourceAssociationsRequest {}
|
|
16
|
+
export interface ListCostCategoryResourceAssociationsCommandOutput
|
|
17
|
+
extends ListCostCategoryResourceAssociationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListCostCategoryResourceAssociationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListCostCategoryResourceAssociationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
24
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
25
|
+
CostExplorerClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListCostCategoryResourceAssociationsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
33
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
34
|
+
CostExplorerClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListCostCategoryResourceAssociationsCommand extends ListCostCategoryResourceAssociationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListCostCategoryResourceAssociationsRequest;
|
|
44
|
+
output: ListCostCategoryResourceAssociationsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListCostCategoryResourceAssociationsCommandInput;
|
|
48
|
+
output: ListCostCategoryResourceAssociationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -32,6 +32,7 @@ export * from "./ListCommitmentPurchaseAnalysesCommand";
|
|
|
32
32
|
export * from "./ListCostAllocationTagBackfillHistoryCommand";
|
|
33
33
|
export * from "./ListCostAllocationTagsCommand";
|
|
34
34
|
export * from "./ListCostCategoryDefinitionsCommand";
|
|
35
|
+
export * from "./ListCostCategoryResourceAssociationsCommand";
|
|
35
36
|
export * from "./ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
36
37
|
export * from "./ListTagsForResourceCommand";
|
|
37
38
|
export * from "./ProvideAnomalyFeedbackCommand";
|
|
@@ -854,6 +854,7 @@ export interface ListCostCategoryDefinitionsRequest {
|
|
|
854
854
|
EffectiveOn?: string | undefined;
|
|
855
855
|
NextToken?: string | undefined;
|
|
856
856
|
MaxResults?: number | undefined;
|
|
857
|
+
SupportedResourceTypes?: string[] | undefined;
|
|
857
858
|
}
|
|
858
859
|
export interface CostCategoryReference {
|
|
859
860
|
CostCategoryArn?: string | undefined;
|
|
@@ -864,11 +865,28 @@ export interface CostCategoryReference {
|
|
|
864
865
|
ProcessingStatus?: CostCategoryProcessingStatus[] | undefined;
|
|
865
866
|
Values?: string[] | undefined;
|
|
866
867
|
DefaultValue?: string | undefined;
|
|
868
|
+
SupportedResourceTypes?: string[] | undefined;
|
|
867
869
|
}
|
|
868
870
|
export interface ListCostCategoryDefinitionsResponse {
|
|
869
871
|
CostCategoryReferences?: CostCategoryReference[] | undefined;
|
|
870
872
|
NextToken?: string | undefined;
|
|
871
873
|
}
|
|
874
|
+
export interface ListCostCategoryResourceAssociationsRequest {
|
|
875
|
+
CostCategoryArn?: string | undefined;
|
|
876
|
+
NextToken?: string | undefined;
|
|
877
|
+
MaxResults?: number | undefined;
|
|
878
|
+
}
|
|
879
|
+
export interface CostCategoryResourceAssociation {
|
|
880
|
+
ResourceArn?: string | undefined;
|
|
881
|
+
CostCategoryName?: string | undefined;
|
|
882
|
+
CostCategoryArn?: string | undefined;
|
|
883
|
+
}
|
|
884
|
+
export interface ListCostCategoryResourceAssociationsResponse {
|
|
885
|
+
CostCategoryResourceAssociations?:
|
|
886
|
+
| CostCategoryResourceAssociation[]
|
|
887
|
+
| undefined;
|
|
888
|
+
NextToken?: string | undefined;
|
|
889
|
+
}
|
|
872
890
|
export interface ListSavingsPlansPurchaseRecommendationGenerationRequest {
|
|
873
891
|
GenerationStatus?: GenerationStatus | undefined;
|
|
874
892
|
RecommendationIds?: string[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
4
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
5
|
+
} from "../commands/ListCostCategoryResourceAssociationsCommand";
|
|
6
|
+
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListCostCategoryResourceAssociations: (
|
|
8
|
+
config: CostExplorerPaginationConfiguration,
|
|
9
|
+
input: ListCostCategoryResourceAssociationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => 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";
|
|
@@ -26,6 +26,7 @@ export declare var CostCategory: StaticStructureSchema;
|
|
|
26
26
|
export declare var CostCategoryInheritedValueDimension: StaticStructureSchema;
|
|
27
27
|
export declare var CostCategoryProcessingStatus: StaticStructureSchema;
|
|
28
28
|
export declare var CostCategoryReference: StaticStructureSchema;
|
|
29
|
+
export declare var CostCategoryResourceAssociation: StaticStructureSchema;
|
|
29
30
|
export declare var CostCategoryRule: StaticStructureSchema;
|
|
30
31
|
export declare var CostCategorySplitChargeRule: StaticStructureSchema;
|
|
31
32
|
export declare var CostCategorySplitChargeRuleParameter: StaticStructureSchema;
|
|
@@ -129,6 +130,8 @@ export declare var ListCostAllocationTagsRequest: StaticStructureSchema;
|
|
|
129
130
|
export declare var ListCostAllocationTagsResponse: StaticStructureSchema;
|
|
130
131
|
export declare var ListCostCategoryDefinitionsRequest: StaticStructureSchema;
|
|
131
132
|
export declare var ListCostCategoryDefinitionsResponse: StaticStructureSchema;
|
|
133
|
+
export declare var ListCostCategoryResourceAssociationsRequest: StaticStructureSchema;
|
|
134
|
+
export declare var ListCostCategoryResourceAssociationsResponse: StaticStructureSchema;
|
|
132
135
|
export declare var ListSavingsPlansPurchaseRecommendationGenerationRequest: StaticStructureSchema;
|
|
133
136
|
export declare var ListSavingsPlansPurchaseRecommendationGenerationResponse: StaticStructureSchema;
|
|
134
137
|
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
@@ -211,7 +214,6 @@ export declare var UpdateCostAllocationTagsStatusResponse: StaticStructureSchema
|
|
|
211
214
|
export declare var UpdateCostCategoryDefinitionRequest: StaticStructureSchema;
|
|
212
215
|
export declare var UpdateCostCategoryDefinitionResponse: StaticStructureSchema;
|
|
213
216
|
export declare var UtilizationByTime: StaticStructureSchema;
|
|
214
|
-
export declare var __Unit: "unit";
|
|
215
217
|
export declare var CostExplorerServiceException: StaticErrorSchema;
|
|
216
218
|
export declare var AnalysisIds: number;
|
|
217
219
|
export declare var AnalysisSummaryList: StaticListSchema;
|
|
@@ -226,6 +228,7 @@ export declare var CostAndUsageComparisons: StaticListSchema;
|
|
|
226
228
|
export declare var CostCategoryNamesList: number;
|
|
227
229
|
export declare var CostCategoryProcessingStatusList: StaticListSchema;
|
|
228
230
|
export declare var CostCategoryReferencesList: StaticListSchema;
|
|
231
|
+
export declare var CostCategoryResourceAssociations: StaticListSchema;
|
|
229
232
|
export declare var CostCategoryRulesList: StaticListSchema;
|
|
230
233
|
export declare var CostCategorySplitChargeRuleParametersList: StaticListSchema;
|
|
231
234
|
export declare var CostCategorySplitChargeRuleParameterValuesList: number;
|
|
@@ -255,6 +258,8 @@ export declare var ReservationPurchaseRecommendations: StaticListSchema;
|
|
|
255
258
|
export declare var ReservationUtilizationGroups: StaticListSchema;
|
|
256
259
|
export declare var ResourceTagKeyList: number;
|
|
257
260
|
export declare var ResourceTagList: StaticListSchema;
|
|
261
|
+
export declare var ResourceTypes: number;
|
|
262
|
+
export declare var ResourceTypesFilterInput: number;
|
|
258
263
|
export declare var ResultsByTime: StaticListSchema;
|
|
259
264
|
export declare var RightsizingRecommendationList: StaticListSchema;
|
|
260
265
|
export declare var RootCauses: StaticListSchema;
|
|
@@ -312,6 +317,7 @@ export declare var ListCommitmentPurchaseAnalyses: StaticOperationSchema;
|
|
|
312
317
|
export declare var ListCostAllocationTagBackfillHistory: StaticOperationSchema;
|
|
313
318
|
export declare var ListCostAllocationTags: StaticOperationSchema;
|
|
314
319
|
export declare var ListCostCategoryDefinitions: StaticOperationSchema;
|
|
320
|
+
export declare var ListCostCategoryResourceAssociations: StaticOperationSchema;
|
|
315
321
|
export declare var ListSavingsPlansPurchaseRecommendationGeneration: StaticOperationSchema;
|
|
316
322
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
317
323
|
export declare var ProvideAnomalyFeedback: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.947.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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo cost-explorer"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo cost-explorer",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|