@aws-sdk/client-cost-explorer 3.540.0 → 3.549.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.
Files changed (29) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +123 -0
  3. package/dist-es/CostExplorer.js +4 -0
  4. package/dist-es/commands/ListCostAllocationTagBackfillHistoryCommand.js +24 -0
  5. package/dist-es/commands/StartCostAllocationTagBackfillCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +18 -0
  8. package/dist-es/pagination/ListCostAllocationTagBackfillHistoryPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_json1_1.js +51 -1
  11. package/dist-types/CostExplorer.d.ts +15 -0
  12. package/dist-types/CostExplorerClient.d.ts +4 -2
  13. package/dist-types/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +77 -0
  14. package/dist-types/commands/StartCostAllocationTagBackfillCommand.d.ts +76 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/models/models_0.d.ts +131 -0
  17. package/dist-types/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +7 -0
  18. package/dist-types/pagination/index.d.ts +1 -0
  19. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  20. package/dist-types/ts3.4/CostExplorer.d.ts +41 -0
  21. package/dist-types/ts3.4/CostExplorerClient.d.ts +12 -0
  22. package/dist-types/ts3.4/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +39 -0
  23. package/dist-types/ts3.4/commands/StartCostAllocationTagBackfillCommand.d.ts +39 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +36 -0
  26. package/dist-types/ts3.4/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +11 -0
  27. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  28. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  29. package/package.json +6 -6
@@ -0,0 +1,77 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { ListCostAllocationTagBackfillHistoryRequest, ListCostAllocationTagBackfillHistoryResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListCostAllocationTagBackfillHistoryCommand}.
13
+ */
14
+ export interface ListCostAllocationTagBackfillHistoryCommandInput extends ListCostAllocationTagBackfillHistoryRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListCostAllocationTagBackfillHistoryCommand}.
20
+ */
21
+ export interface ListCostAllocationTagBackfillHistoryCommandOutput extends ListCostAllocationTagBackfillHistoryResponse, __MetadataBearer {
22
+ }
23
+ declare const ListCostAllocationTagBackfillHistoryCommand_base: {
24
+ new (input: ListCostAllocationTagBackfillHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput, CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListCostAllocationTagBackfillHistoryCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput, CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * Retrieves a list of your historical cost allocation tag backfill requests.
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CostExplorerClient, ListCostAllocationTagBackfillHistoryCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
36
+ * // const { CostExplorerClient, ListCostAllocationTagBackfillHistoryCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
37
+ * const client = new CostExplorerClient(config);
38
+ * const input = { // ListCostAllocationTagBackfillHistoryRequest
39
+ * NextToken: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * };
42
+ * const command = new ListCostAllocationTagBackfillHistoryCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListCostAllocationTagBackfillHistoryResponse
45
+ * // BackfillRequests: [ // CostAllocationTagBackfillRequestList
46
+ * // { // CostAllocationTagBackfillRequest
47
+ * // BackfillFrom: "STRING_VALUE",
48
+ * // RequestedAt: "STRING_VALUE",
49
+ * // CompletedAt: "STRING_VALUE",
50
+ * // BackfillStatus: "SUCCEEDED" || "PROCESSING" || "FAILED",
51
+ * // LastUpdatedAt: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListCostAllocationTagBackfillHistoryCommandInput - {@link ListCostAllocationTagBackfillHistoryCommandInput}
60
+ * @returns {@link ListCostAllocationTagBackfillHistoryCommandOutput}
61
+ * @see {@link ListCostAllocationTagBackfillHistoryCommandInput} for command's `input` shape.
62
+ * @see {@link ListCostAllocationTagBackfillHistoryCommandOutput} for command's `response` shape.
63
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
64
+ *
65
+ * @throws {@link InvalidNextTokenException} (client fault)
66
+ * <p>The pagination token is invalid. Try again without a pagination token.</p>
67
+ *
68
+ * @throws {@link LimitExceededException} (client fault)
69
+ * <p>You made too many calls in a short period of time. Try again later.</p>
70
+ *
71
+ * @throws {@link CostExplorerServiceException}
72
+ * <p>Base exception class for all service exceptions from CostExplorer service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class ListCostAllocationTagBackfillHistoryCommand extends ListCostAllocationTagBackfillHistoryCommand_base {
77
+ }
@@ -0,0 +1,76 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { StartCostAllocationTagBackfillRequest, StartCostAllocationTagBackfillResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link StartCostAllocationTagBackfillCommand}.
13
+ */
14
+ export interface StartCostAllocationTagBackfillCommandInput extends StartCostAllocationTagBackfillRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link StartCostAllocationTagBackfillCommand}.
20
+ */
21
+ export interface StartCostAllocationTagBackfillCommandOutput extends StartCostAllocationTagBackfillResponse, __MetadataBearer {
22
+ }
23
+ declare const StartCostAllocationTagBackfillCommand_base: {
24
+ new (input: StartCostAllocationTagBackfillCommandInput): import("@smithy/smithy-client").CommandImpl<StartCostAllocationTagBackfillCommandInput, StartCostAllocationTagBackfillCommandOutput, CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartCostAllocationTagBackfillCommandInput): import("@smithy/smithy-client").CommandImpl<StartCostAllocationTagBackfillCommandInput, StartCostAllocationTagBackfillCommandOutput, CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>
30
+ * 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
+ * <p>You can request a backfill once every 24 hours.
32
+ * </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { CostExplorerClient, StartCostAllocationTagBackfillCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
37
+ * // const { CostExplorerClient, StartCostAllocationTagBackfillCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
38
+ * const client = new CostExplorerClient(config);
39
+ * const input = { // StartCostAllocationTagBackfillRequest
40
+ * BackfillFrom: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new StartCostAllocationTagBackfillCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // StartCostAllocationTagBackfillResponse
45
+ * // BackfillRequest: { // CostAllocationTagBackfillRequest
46
+ * // BackfillFrom: "STRING_VALUE",
47
+ * // RequestedAt: "STRING_VALUE",
48
+ * // CompletedAt: "STRING_VALUE",
49
+ * // BackfillStatus: "SUCCEEDED" || "PROCESSING" || "FAILED",
50
+ * // LastUpdatedAt: "STRING_VALUE",
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param StartCostAllocationTagBackfillCommandInput - {@link StartCostAllocationTagBackfillCommandInput}
57
+ * @returns {@link StartCostAllocationTagBackfillCommandOutput}
58
+ * @see {@link StartCostAllocationTagBackfillCommandInput} for command's `input` shape.
59
+ * @see {@link StartCostAllocationTagBackfillCommandOutput} for command's `response` shape.
60
+ * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
61
+ *
62
+ * @throws {@link BackfillLimitExceededException} (client fault)
63
+ * <p>
64
+ * A request to backfill is already in progress. Once the previous request is complete, you can create another request.
65
+ * </p>
66
+ *
67
+ * @throws {@link LimitExceededException} (client fault)
68
+ * <p>You made too many calls in a short period of time. Try again later.</p>
69
+ *
70
+ * @throws {@link CostExplorerServiceException}
71
+ * <p>Base exception class for all service exceptions from CostExplorer service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class StartCostAllocationTagBackfillCommand extends StartCostAllocationTagBackfillCommand_base {
76
+ }
@@ -25,11 +25,13 @@ export * from "./GetSavingsPlansUtilizationCommand";
25
25
  export * from "./GetSavingsPlansUtilizationDetailsCommand";
26
26
  export * from "./GetTagsCommand";
27
27
  export * from "./GetUsageForecastCommand";
28
+ export * from "./ListCostAllocationTagBackfillHistoryCommand";
28
29
  export * from "./ListCostAllocationTagsCommand";
29
30
  export * from "./ListCostCategoryDefinitionsCommand";
30
31
  export * from "./ListSavingsPlansPurchaseRecommendationGenerationCommand";
31
32
  export * from "./ListTagsForResourceCommand";
32
33
  export * from "./ProvideAnomalyFeedbackCommand";
34
+ export * from "./StartCostAllocationTagBackfillCommand";
33
35
  export * from "./StartSavingsPlansPurchaseRecommendationGenerationCommand";
34
36
  export * from "./TagResourceCommand";
35
37
  export * from "./UntagResourceCommand";
@@ -3866,6 +3866,99 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
3866
3866
  */
3867
3867
  constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
3868
3868
  }
3869
+ /**
3870
+ * @public
3871
+ */
3872
+ export interface ListCostAllocationTagBackfillHistoryRequest {
3873
+ /**
3874
+ * <p>
3875
+ * 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.
3876
+ * </p>
3877
+ * @public
3878
+ */
3879
+ NextToken?: string;
3880
+ /**
3881
+ * <p>
3882
+ * The maximum number of objects that are returned for this request.
3883
+ * </p>
3884
+ * @public
3885
+ */
3886
+ MaxResults?: number;
3887
+ }
3888
+ /**
3889
+ * @public
3890
+ * @enum
3891
+ */
3892
+ export declare const CostAllocationTagBackfillStatus: {
3893
+ readonly FAILED: "FAILED";
3894
+ readonly PROCESSING: "PROCESSING";
3895
+ readonly SUCCEEDED: "SUCCEEDED";
3896
+ };
3897
+ /**
3898
+ * @public
3899
+ */
3900
+ export type CostAllocationTagBackfillStatus = (typeof CostAllocationTagBackfillStatus)[keyof typeof CostAllocationTagBackfillStatus];
3901
+ /**
3902
+ * <p>
3903
+ * The cost allocation tag backfill request structure that contains metadata and details of a certain backfill.</p>
3904
+ * @public
3905
+ */
3906
+ export interface CostAllocationTagBackfillRequest {
3907
+ /**
3908
+ * <p>
3909
+ * The date the backfill starts from.
3910
+ * </p>
3911
+ * @public
3912
+ */
3913
+ BackfillFrom?: string;
3914
+ /**
3915
+ * <p>
3916
+ * The time when the backfill was requested.
3917
+ * </p>
3918
+ * @public
3919
+ */
3920
+ RequestedAt?: string;
3921
+ /**
3922
+ * <p>
3923
+ * The backfill completion time.
3924
+ * </p>
3925
+ * @public
3926
+ */
3927
+ CompletedAt?: string;
3928
+ /**
3929
+ * <p>
3930
+ * The status of the cost allocation tag backfill request.
3931
+ * </p>
3932
+ * @public
3933
+ */
3934
+ BackfillStatus?: CostAllocationTagBackfillStatus;
3935
+ /**
3936
+ * <p>
3937
+ * The time when the backfill status was last updated.
3938
+ * </p>
3939
+ * @public
3940
+ */
3941
+ LastUpdatedAt?: string;
3942
+ }
3943
+ /**
3944
+ * @public
3945
+ */
3946
+ export interface ListCostAllocationTagBackfillHistoryResponse {
3947
+ /**
3948
+ * <p>
3949
+ * The list of historical cost allocation tag backfill requests.
3950
+ * </p>
3951
+ * @public
3952
+ */
3953
+ BackfillRequests?: CostAllocationTagBackfillRequest[];
3954
+ /**
3955
+ * <p>
3956
+ * 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.
3957
+ * </p>
3958
+ * @public
3959
+ */
3960
+ NextToken?: string;
3961
+ }
3869
3962
  /**
3870
3963
  * @public
3871
3964
  * @enum
@@ -4200,6 +4293,44 @@ export interface ProvideAnomalyFeedbackResponse {
4200
4293
  */
4201
4294
  AnomalyId: string | undefined;
4202
4295
  }
4296
+ /**
4297
+ * <p>
4298
+ * A request to backfill is already in progress. Once the previous request is complete, you can create another request.
4299
+ * </p>
4300
+ * @public
4301
+ */
4302
+ export declare class BackfillLimitExceededException extends __BaseException {
4303
+ readonly name: "BackfillLimitExceededException";
4304
+ readonly $fault: "client";
4305
+ Message?: string;
4306
+ /**
4307
+ * @internal
4308
+ */
4309
+ constructor(opts: __ExceptionOptionType<BackfillLimitExceededException, __BaseException>);
4310
+ }
4311
+ /**
4312
+ * @public
4313
+ */
4314
+ export interface StartCostAllocationTagBackfillRequest {
4315
+ /**
4316
+ * <p>
4317
+ * The date you want the backfill to start from. The date can only be a first day of the month (a billing start date). Dates can't precede the previous twelve months, or in the future.</p>
4318
+ * @public
4319
+ */
4320
+ BackfillFrom: string | undefined;
4321
+ }
4322
+ /**
4323
+ * @public
4324
+ */
4325
+ export interface StartCostAllocationTagBackfillResponse {
4326
+ /**
4327
+ * <p>
4328
+ * An object containing detailed metadata of your new backfill request.
4329
+ * </p>
4330
+ * @public
4331
+ */
4332
+ BackfillRequest?: CostAllocationTagBackfillRequest;
4333
+ }
4203
4334
  /**
4204
4335
  * <p>A request to generate a recommendation is already in progress.</p>
4205
4336
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput } from "../commands/ListCostAllocationTagBackfillHistoryCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListCostAllocationTagBackfillHistory: (config: CostExplorerPaginationConfiguration, input: ListCostAllocationTagBackfillHistoryCommandInput, ...rest: any[]) => Paginator<ListCostAllocationTagBackfillHistoryCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  export * from "./GetSavingsPlansCoveragePaginator";
2
2
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
3
3
  export * from "./Interfaces";
4
+ export * from "./ListCostAllocationTagBackfillHistoryPaginator";
4
5
  export * from "./ListCostAllocationTagsPaginator";
5
6
  export * from "./ListCostCategoryDefinitionsPaginator";
@@ -27,11 +27,13 @@ import { GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationComma
27
27
  import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput } from "../commands/GetSavingsPlansUtilizationDetailsCommand";
28
28
  import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand";
29
29
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand";
30
+ import { ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput } from "../commands/ListCostAllocationTagBackfillHistoryCommand";
30
31
  import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
31
32
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
32
33
  import { ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "../commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
33
34
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
34
35
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "../commands/ProvideAnomalyFeedbackCommand";
36
+ import { StartCostAllocationTagBackfillCommandInput, StartCostAllocationTagBackfillCommandOutput } from "../commands/StartCostAllocationTagBackfillCommand";
35
37
  import { StartSavingsPlansPurchaseRecommendationGenerationCommandInput, StartSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "../commands/StartSavingsPlansPurchaseRecommendationGenerationCommand";
36
38
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
37
39
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
@@ -147,6 +149,10 @@ export declare const se_GetTagsCommand: (input: GetTagsCommandInput, context: __
147
149
  * serializeAws_json1_1GetUsageForecastCommand
148
150
  */
149
151
  export declare const se_GetUsageForecastCommand: (input: GetUsageForecastCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
152
+ /**
153
+ * serializeAws_json1_1ListCostAllocationTagBackfillHistoryCommand
154
+ */
155
+ export declare const se_ListCostAllocationTagBackfillHistoryCommand: (input: ListCostAllocationTagBackfillHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
150
156
  /**
151
157
  * serializeAws_json1_1ListCostAllocationTagsCommand
152
158
  */
@@ -167,6 +173,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
167
173
  * serializeAws_json1_1ProvideAnomalyFeedbackCommand
168
174
  */
169
175
  export declare const se_ProvideAnomalyFeedbackCommand: (input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
176
+ /**
177
+ * serializeAws_json1_1StartCostAllocationTagBackfillCommand
178
+ */
179
+ export declare const se_StartCostAllocationTagBackfillCommand: (input: StartCostAllocationTagBackfillCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
170
180
  /**
171
181
  * serializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCommand
172
182
  */
@@ -303,6 +313,10 @@ export declare const de_GetTagsCommand: (output: __HttpResponse, context: __Serd
303
313
  * deserializeAws_json1_1GetUsageForecastCommand
304
314
  */
305
315
  export declare const de_GetUsageForecastCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageForecastCommandOutput>;
316
+ /**
317
+ * deserializeAws_json1_1ListCostAllocationTagBackfillHistoryCommand
318
+ */
319
+ export declare const de_ListCostAllocationTagBackfillHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostAllocationTagBackfillHistoryCommandOutput>;
306
320
  /**
307
321
  * deserializeAws_json1_1ListCostAllocationTagsCommand
308
322
  */
@@ -323,6 +337,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
323
337
  * deserializeAws_json1_1ProvideAnomalyFeedbackCommand
324
338
  */
325
339
  export declare const de_ProvideAnomalyFeedbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ProvideAnomalyFeedbackCommandOutput>;
340
+ /**
341
+ * deserializeAws_json1_1StartCostAllocationTagBackfillCommand
342
+ */
343
+ export declare const de_StartCostAllocationTagBackfillCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartCostAllocationTagBackfillCommandOutput>;
326
344
  /**
327
345
  * deserializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCommand
328
346
  */
@@ -107,6 +107,10 @@ import {
107
107
  GetUsageForecastCommandInput,
108
108
  GetUsageForecastCommandOutput,
109
109
  } from "./commands/GetUsageForecastCommand";
110
+ import {
111
+ ListCostAllocationTagBackfillHistoryCommandInput,
112
+ ListCostAllocationTagBackfillHistoryCommandOutput,
113
+ } from "./commands/ListCostAllocationTagBackfillHistoryCommand";
110
114
  import {
111
115
  ListCostAllocationTagsCommandInput,
112
116
  ListCostAllocationTagsCommandOutput,
@@ -127,6 +131,10 @@ import {
127
131
  ProvideAnomalyFeedbackCommandInput,
128
132
  ProvideAnomalyFeedbackCommandOutput,
129
133
  } from "./commands/ProvideAnomalyFeedbackCommand";
134
+ import {
135
+ StartCostAllocationTagBackfillCommandInput,
136
+ StartCostAllocationTagBackfillCommandOutput,
137
+ } from "./commands/StartCostAllocationTagBackfillCommand";
130
138
  import {
131
139
  StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
132
140
  StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
@@ -534,6 +542,26 @@ export interface CostExplorer {
534
542
  options: __HttpHandlerOptions,
535
543
  cb: (err: any, data?: GetUsageForecastCommandOutput) => void
536
544
  ): void;
545
+ listCostAllocationTagBackfillHistory(): Promise<ListCostAllocationTagBackfillHistoryCommandOutput>;
546
+ listCostAllocationTagBackfillHistory(
547
+ args: ListCostAllocationTagBackfillHistoryCommandInput,
548
+ options?: __HttpHandlerOptions
549
+ ): Promise<ListCostAllocationTagBackfillHistoryCommandOutput>;
550
+ listCostAllocationTagBackfillHistory(
551
+ args: ListCostAllocationTagBackfillHistoryCommandInput,
552
+ cb: (
553
+ err: any,
554
+ data?: ListCostAllocationTagBackfillHistoryCommandOutput
555
+ ) => void
556
+ ): void;
557
+ listCostAllocationTagBackfillHistory(
558
+ args: ListCostAllocationTagBackfillHistoryCommandInput,
559
+ options: __HttpHandlerOptions,
560
+ cb: (
561
+ err: any,
562
+ data?: ListCostAllocationTagBackfillHistoryCommandOutput
563
+ ) => void
564
+ ): void;
537
565
  listCostAllocationTags(): Promise<ListCostAllocationTagsCommandOutput>;
538
566
  listCostAllocationTags(
539
567
  args: ListCostAllocationTagsCommandInput,
@@ -608,6 +636,19 @@ export interface CostExplorer {
608
636
  options: __HttpHandlerOptions,
609
637
  cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void
610
638
  ): void;
639
+ startCostAllocationTagBackfill(
640
+ args: StartCostAllocationTagBackfillCommandInput,
641
+ options?: __HttpHandlerOptions
642
+ ): Promise<StartCostAllocationTagBackfillCommandOutput>;
643
+ startCostAllocationTagBackfill(
644
+ args: StartCostAllocationTagBackfillCommandInput,
645
+ cb: (err: any, data?: StartCostAllocationTagBackfillCommandOutput) => void
646
+ ): void;
647
+ startCostAllocationTagBackfill(
648
+ args: StartCostAllocationTagBackfillCommandInput,
649
+ options: __HttpHandlerOptions,
650
+ cb: (err: any, data?: StartCostAllocationTagBackfillCommandOutput) => void
651
+ ): void;
611
652
  startSavingsPlansPurchaseRecommendationGeneration(): Promise<StartSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
612
653
  startSavingsPlansPurchaseRecommendationGeneration(
613
654
  args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
@@ -153,6 +153,10 @@ import {
153
153
  GetUsageForecastCommandInput,
154
154
  GetUsageForecastCommandOutput,
155
155
  } from "./commands/GetUsageForecastCommand";
156
+ import {
157
+ ListCostAllocationTagBackfillHistoryCommandInput,
158
+ ListCostAllocationTagBackfillHistoryCommandOutput,
159
+ } from "./commands/ListCostAllocationTagBackfillHistoryCommand";
156
160
  import {
157
161
  ListCostAllocationTagsCommandInput,
158
162
  ListCostAllocationTagsCommandOutput,
@@ -173,6 +177,10 @@ import {
173
177
  ProvideAnomalyFeedbackCommandInput,
174
178
  ProvideAnomalyFeedbackCommandOutput,
175
179
  } from "./commands/ProvideAnomalyFeedbackCommand";
180
+ import {
181
+ StartCostAllocationTagBackfillCommandInput,
182
+ StartCostAllocationTagBackfillCommandOutput,
183
+ } from "./commands/StartCostAllocationTagBackfillCommand";
176
184
  import {
177
185
  StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
178
186
  StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
@@ -236,11 +244,13 @@ export type ServiceInputTypes =
236
244
  | GetSavingsPlansUtilizationDetailsCommandInput
237
245
  | GetTagsCommandInput
238
246
  | GetUsageForecastCommandInput
247
+ | ListCostAllocationTagBackfillHistoryCommandInput
239
248
  | ListCostAllocationTagsCommandInput
240
249
  | ListCostCategoryDefinitionsCommandInput
241
250
  | ListSavingsPlansPurchaseRecommendationGenerationCommandInput
242
251
  | ListTagsForResourceCommandInput
243
252
  | ProvideAnomalyFeedbackCommandInput
253
+ | StartCostAllocationTagBackfillCommandInput
244
254
  | StartSavingsPlansPurchaseRecommendationGenerationCommandInput
245
255
  | TagResourceCommandInput
246
256
  | UntagResourceCommandInput
@@ -276,11 +286,13 @@ export type ServiceOutputTypes =
276
286
  | GetSavingsPlansUtilizationDetailsCommandOutput
277
287
  | GetTagsCommandOutput
278
288
  | GetUsageForecastCommandOutput
289
+ | ListCostAllocationTagBackfillHistoryCommandOutput
279
290
  | ListCostAllocationTagsCommandOutput
280
291
  | ListCostCategoryDefinitionsCommandOutput
281
292
  | ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
282
293
  | ListTagsForResourceCommandOutput
283
294
  | ProvideAnomalyFeedbackCommandOutput
295
+ | StartCostAllocationTagBackfillCommandOutput
284
296
  | StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
285
297
  | TagResourceCommandOutput
286
298
  | UntagResourceCommandOutput
@@ -0,0 +1,39 @@
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
+ ListCostAllocationTagBackfillHistoryRequest,
10
+ ListCostAllocationTagBackfillHistoryResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListCostAllocationTagBackfillHistoryCommandInput
14
+ extends ListCostAllocationTagBackfillHistoryRequest {}
15
+ export interface ListCostAllocationTagBackfillHistoryCommandOutput
16
+ extends ListCostAllocationTagBackfillHistoryResponse,
17
+ __MetadataBearer {}
18
+ declare const ListCostAllocationTagBackfillHistoryCommand_base: {
19
+ new (
20
+ input: ListCostAllocationTagBackfillHistoryCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListCostAllocationTagBackfillHistoryCommandInput,
23
+ ListCostAllocationTagBackfillHistoryCommandOutput,
24
+ CostExplorerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [ListCostAllocationTagBackfillHistoryCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListCostAllocationTagBackfillHistoryCommandInput,
32
+ ListCostAllocationTagBackfillHistoryCommandOutput,
33
+ CostExplorerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListCostAllocationTagBackfillHistoryCommand extends ListCostAllocationTagBackfillHistoryCommand_base {}
@@ -0,0 +1,39 @@
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
+ StartCostAllocationTagBackfillRequest,
10
+ StartCostAllocationTagBackfillResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface StartCostAllocationTagBackfillCommandInput
14
+ extends StartCostAllocationTagBackfillRequest {}
15
+ export interface StartCostAllocationTagBackfillCommandOutput
16
+ extends StartCostAllocationTagBackfillResponse,
17
+ __MetadataBearer {}
18
+ declare const StartCostAllocationTagBackfillCommand_base: {
19
+ new (
20
+ input: StartCostAllocationTagBackfillCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ StartCostAllocationTagBackfillCommandInput,
23
+ StartCostAllocationTagBackfillCommandOutput,
24
+ CostExplorerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: StartCostAllocationTagBackfillCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ StartCostAllocationTagBackfillCommandInput,
32
+ StartCostAllocationTagBackfillCommandOutput,
33
+ CostExplorerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class StartCostAllocationTagBackfillCommand extends StartCostAllocationTagBackfillCommand_base {}
@@ -25,11 +25,13 @@ export * from "./GetSavingsPlansUtilizationCommand";
25
25
  export * from "./GetSavingsPlansUtilizationDetailsCommand";
26
26
  export * from "./GetTagsCommand";
27
27
  export * from "./GetUsageForecastCommand";
28
+ export * from "./ListCostAllocationTagBackfillHistoryCommand";
28
29
  export * from "./ListCostAllocationTagsCommand";
29
30
  export * from "./ListCostCategoryDefinitionsCommand";
30
31
  export * from "./ListSavingsPlansPurchaseRecommendationGenerationCommand";
31
32
  export * from "./ListTagsForResourceCommand";
32
33
  export * from "./ProvideAnomalyFeedbackCommand";
34
+ export * from "./StartCostAllocationTagBackfillCommand";
33
35
  export * from "./StartSavingsPlansPurchaseRecommendationGenerationCommand";
34
36
  export * from "./TagResourceCommand";
35
37
  export * from "./UntagResourceCommand";
@@ -998,6 +998,28 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
998
998
  opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>
999
999
  );
1000
1000
  }
1001
+ export interface ListCostAllocationTagBackfillHistoryRequest {
1002
+ NextToken?: string;
1003
+ MaxResults?: number;
1004
+ }
1005
+ export declare const CostAllocationTagBackfillStatus: {
1006
+ readonly FAILED: "FAILED";
1007
+ readonly PROCESSING: "PROCESSING";
1008
+ readonly SUCCEEDED: "SUCCEEDED";
1009
+ };
1010
+ export type CostAllocationTagBackfillStatus =
1011
+ (typeof CostAllocationTagBackfillStatus)[keyof typeof CostAllocationTagBackfillStatus];
1012
+ export interface CostAllocationTagBackfillRequest {
1013
+ BackfillFrom?: string;
1014
+ RequestedAt?: string;
1015
+ CompletedAt?: string;
1016
+ BackfillStatus?: CostAllocationTagBackfillStatus;
1017
+ LastUpdatedAt?: string;
1018
+ }
1019
+ export interface ListCostAllocationTagBackfillHistoryResponse {
1020
+ BackfillRequests?: CostAllocationTagBackfillRequest[];
1021
+ NextToken?: string;
1022
+ }
1001
1023
  export declare const CostAllocationTagStatus: {
1002
1024
  readonly ACTIVE: "Active";
1003
1025
  readonly INACTIVE: "Inactive";
@@ -1084,6 +1106,20 @@ export interface ProvideAnomalyFeedbackRequest {
1084
1106
  export interface ProvideAnomalyFeedbackResponse {
1085
1107
  AnomalyId: string | undefined;
1086
1108
  }
1109
+ export declare class BackfillLimitExceededException extends __BaseException {
1110
+ readonly name: "BackfillLimitExceededException";
1111
+ readonly $fault: "client";
1112
+ Message?: string;
1113
+ constructor(
1114
+ opts: __ExceptionOptionType<BackfillLimitExceededException, __BaseException>
1115
+ );
1116
+ }
1117
+ export interface StartCostAllocationTagBackfillRequest {
1118
+ BackfillFrom: string | undefined;
1119
+ }
1120
+ export interface StartCostAllocationTagBackfillResponse {
1121
+ BackfillRequest?: CostAllocationTagBackfillRequest;
1122
+ }
1087
1123
  export declare class GenerationExistsException extends __BaseException {
1088
1124
  readonly name: "GenerationExistsException";
1089
1125
  readonly $fault: "client";
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCostAllocationTagBackfillHistoryCommandInput,
4
+ ListCostAllocationTagBackfillHistoryCommandOutput,
5
+ } from "../commands/ListCostAllocationTagBackfillHistoryCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCostAllocationTagBackfillHistory: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: ListCostAllocationTagBackfillHistoryCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListCostAllocationTagBackfillHistoryCommandOutput>;