@aws-sdk/client-cost-explorer 3.321.1 → 3.326.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +6 -0
- package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +6 -0
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +7 -0
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +113 -0
- package/dist-types/commands/GetAnomaliesCommand.d.ts +36 -0
- package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +85 -0
- package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +92 -0
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +48 -0
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +48 -0
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +14 -0
- package/dist-types/commands/GetCostForecastCommand.d.ts +20 -0
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +16 -0
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +56 -0
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +95 -0
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +62 -0
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +145 -0
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +23 -0
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +55 -0
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +45 -0
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +50 -0
- package/dist-types/commands/GetTagsCommand.d.ts +11 -0
- package/dist-types/commands/GetUsageForecastCommand.d.ts +20 -0
- package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +25 -0
- package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +15 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +6 -0
- package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +8 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +12 -0
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +7 -0
- package/package.json +16 -16
|
@@ -113,6 +113,49 @@ export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlans
|
|
|
113
113
|
* };
|
|
114
114
|
* const command = new GetSavingsPlansUtilizationCommand(input);
|
|
115
115
|
* const response = await client.send(command);
|
|
116
|
+
* // { // GetSavingsPlansUtilizationResponse
|
|
117
|
+
* // SavingsPlansUtilizationsByTime: [ // SavingsPlansUtilizationsByTime
|
|
118
|
+
* // { // SavingsPlansUtilizationByTime
|
|
119
|
+
* // TimePeriod: { // DateInterval
|
|
120
|
+
* // Start: "STRING_VALUE", // required
|
|
121
|
+
* // End: "STRING_VALUE", // required
|
|
122
|
+
* // },
|
|
123
|
+
* // Utilization: { // SavingsPlansUtilization
|
|
124
|
+
* // TotalCommitment: "STRING_VALUE",
|
|
125
|
+
* // UsedCommitment: "STRING_VALUE",
|
|
126
|
+
* // UnusedCommitment: "STRING_VALUE",
|
|
127
|
+
* // UtilizationPercentage: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // Savings: { // SavingsPlansSavings
|
|
130
|
+
* // NetSavings: "STRING_VALUE",
|
|
131
|
+
* // OnDemandCostEquivalent: "STRING_VALUE",
|
|
132
|
+
* // },
|
|
133
|
+
* // AmortizedCommitment: { // SavingsPlansAmortizedCommitment
|
|
134
|
+
* // AmortizedRecurringCommitment: "STRING_VALUE",
|
|
135
|
+
* // AmortizedUpfrontCommitment: "STRING_VALUE",
|
|
136
|
+
* // TotalAmortizedCommitment: "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // Total: { // SavingsPlansUtilizationAggregates
|
|
141
|
+
* // Utilization: {
|
|
142
|
+
* // TotalCommitment: "STRING_VALUE",
|
|
143
|
+
* // UsedCommitment: "STRING_VALUE",
|
|
144
|
+
* // UnusedCommitment: "STRING_VALUE",
|
|
145
|
+
* // UtilizationPercentage: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // Savings: {
|
|
148
|
+
* // NetSavings: "STRING_VALUE",
|
|
149
|
+
* // OnDemandCostEquivalent: "STRING_VALUE",
|
|
150
|
+
* // },
|
|
151
|
+
* // AmortizedCommitment: {
|
|
152
|
+
* // AmortizedRecurringCommitment: "STRING_VALUE",
|
|
153
|
+
* // AmortizedUpfrontCommitment: "STRING_VALUE",
|
|
154
|
+
* // TotalAmortizedCommitment: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // };
|
|
158
|
+
*
|
|
116
159
|
* ```
|
|
117
160
|
*
|
|
118
161
|
* @param GetSavingsPlansUtilizationCommandInput - {@link GetSavingsPlansUtilizationCommandInput}
|
|
@@ -127,6 +170,8 @@ export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlans
|
|
|
127
170
|
* @throws {@link LimitExceededException} (client fault)
|
|
128
171
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
129
172
|
*
|
|
173
|
+
* @throws {@link CostExplorerServiceException}
|
|
174
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
130
175
|
*
|
|
131
176
|
*/
|
|
132
177
|
export declare class GetSavingsPlansUtilizationCommand extends $Command<GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -121,6 +121,54 @@ export interface GetSavingsPlansUtilizationDetailsCommandOutput extends GetSavin
|
|
|
121
121
|
* };
|
|
122
122
|
* const command = new GetSavingsPlansUtilizationDetailsCommand(input);
|
|
123
123
|
* const response = await client.send(command);
|
|
124
|
+
* // { // GetSavingsPlansUtilizationDetailsResponse
|
|
125
|
+
* // SavingsPlansUtilizationDetails: [ // SavingsPlansUtilizationDetails // required
|
|
126
|
+
* // { // SavingsPlansUtilizationDetail
|
|
127
|
+
* // SavingsPlanArn: "STRING_VALUE",
|
|
128
|
+
* // Attributes: { // Attributes
|
|
129
|
+
* // "<keys>": "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // Utilization: { // SavingsPlansUtilization
|
|
132
|
+
* // TotalCommitment: "STRING_VALUE",
|
|
133
|
+
* // UsedCommitment: "STRING_VALUE",
|
|
134
|
+
* // UnusedCommitment: "STRING_VALUE",
|
|
135
|
+
* // UtilizationPercentage: "STRING_VALUE",
|
|
136
|
+
* // },
|
|
137
|
+
* // Savings: { // SavingsPlansSavings
|
|
138
|
+
* // NetSavings: "STRING_VALUE",
|
|
139
|
+
* // OnDemandCostEquivalent: "STRING_VALUE",
|
|
140
|
+
* // },
|
|
141
|
+
* // AmortizedCommitment: { // SavingsPlansAmortizedCommitment
|
|
142
|
+
* // AmortizedRecurringCommitment: "STRING_VALUE",
|
|
143
|
+
* // AmortizedUpfrontCommitment: "STRING_VALUE",
|
|
144
|
+
* // TotalAmortizedCommitment: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // Total: { // SavingsPlansUtilizationAggregates
|
|
149
|
+
* // Utilization: {
|
|
150
|
+
* // TotalCommitment: "STRING_VALUE",
|
|
151
|
+
* // UsedCommitment: "STRING_VALUE",
|
|
152
|
+
* // UnusedCommitment: "STRING_VALUE",
|
|
153
|
+
* // UtilizationPercentage: "STRING_VALUE",
|
|
154
|
+
* // },
|
|
155
|
+
* // Savings: {
|
|
156
|
+
* // NetSavings: "STRING_VALUE",
|
|
157
|
+
* // OnDemandCostEquivalent: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // AmortizedCommitment: {
|
|
160
|
+
* // AmortizedRecurringCommitment: "STRING_VALUE",
|
|
161
|
+
* // AmortizedUpfrontCommitment: "STRING_VALUE",
|
|
162
|
+
* // TotalAmortizedCommitment: "STRING_VALUE",
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // TimePeriod: { // DateInterval
|
|
166
|
+
* // Start: "STRING_VALUE", // required
|
|
167
|
+
* // End: "STRING_VALUE", // required
|
|
168
|
+
* // },
|
|
169
|
+
* // NextToken: "STRING_VALUE",
|
|
170
|
+
* // };
|
|
171
|
+
*
|
|
124
172
|
* ```
|
|
125
173
|
*
|
|
126
174
|
* @param GetSavingsPlansUtilizationDetailsCommandInput - {@link GetSavingsPlansUtilizationDetailsCommandInput}
|
|
@@ -138,6 +186,8 @@ export interface GetSavingsPlansUtilizationDetailsCommandOutput extends GetSavin
|
|
|
138
186
|
* @throws {@link LimitExceededException} (client fault)
|
|
139
187
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
140
188
|
*
|
|
189
|
+
* @throws {@link CostExplorerServiceException}
|
|
190
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
141
191
|
*
|
|
142
192
|
*/
|
|
143
193
|
export declare class GetSavingsPlansUtilizationDetailsCommand extends $Command<GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -112,6 +112,15 @@ export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer
|
|
|
112
112
|
* };
|
|
113
113
|
* const command = new GetTagsCommand(input);
|
|
114
114
|
* const response = await client.send(command);
|
|
115
|
+
* // { // GetTagsResponse
|
|
116
|
+
* // NextPageToken: "STRING_VALUE",
|
|
117
|
+
* // Tags: [ // TagList // required
|
|
118
|
+
* // "STRING_VALUE",
|
|
119
|
+
* // ],
|
|
120
|
+
* // ReturnSize: Number("int"), // required
|
|
121
|
+
* // TotalSize: Number("int"), // required
|
|
122
|
+
* // };
|
|
123
|
+
*
|
|
115
124
|
* ```
|
|
116
125
|
*
|
|
117
126
|
* @param GetTagsCommandInput - {@link GetTagsCommandInput}
|
|
@@ -136,6 +145,8 @@ export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer
|
|
|
136
145
|
* <p>Your request parameters changed between pages. Try again with the old parameters or
|
|
137
146
|
* without a pagination token.</p>
|
|
138
147
|
*
|
|
148
|
+
* @throws {@link CostExplorerServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
139
150
|
*
|
|
140
151
|
*/
|
|
141
152
|
export declare class GetTagsCommand extends $Command<GetTagsCommandInput, GetTagsCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -105,6 +105,24 @@ export interface GetUsageForecastCommandOutput extends GetUsageForecastResponse,
|
|
|
105
105
|
* };
|
|
106
106
|
* const command = new GetUsageForecastCommand(input);
|
|
107
107
|
* const response = await client.send(command);
|
|
108
|
+
* // { // GetUsageForecastResponse
|
|
109
|
+
* // Total: { // MetricValue
|
|
110
|
+
* // Amount: "STRING_VALUE",
|
|
111
|
+
* // Unit: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ForecastResultsByTime: [ // ForecastResultsByTime
|
|
114
|
+
* // { // ForecastResult
|
|
115
|
+
* // TimePeriod: { // DateInterval
|
|
116
|
+
* // Start: "STRING_VALUE", // required
|
|
117
|
+
* // End: "STRING_VALUE", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // MeanValue: "STRING_VALUE",
|
|
120
|
+
* // PredictionIntervalLowerBound: "STRING_VALUE",
|
|
121
|
+
* // PredictionIntervalUpperBound: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // };
|
|
125
|
+
*
|
|
108
126
|
* ```
|
|
109
127
|
*
|
|
110
128
|
* @param GetUsageForecastCommandInput - {@link GetUsageForecastCommandInput}
|
|
@@ -124,6 +142,8 @@ export interface GetUsageForecastCommandOutput extends GetUsageForecastResponse,
|
|
|
124
142
|
* <code>UsageType/UsageTypeGroup</code> filter selections that contain matching units,
|
|
125
143
|
* for example: <code>hours</code>.</p>
|
|
126
144
|
*
|
|
145
|
+
* @throws {@link CostExplorerServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
127
147
|
*
|
|
128
148
|
*/
|
|
129
149
|
export declare class GetUsageForecastCommand extends $Command<GetUsageForecastCommandInput, GetUsageForecastCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -38,6 +38,17 @@ export interface ListCostAllocationTagsCommandOutput extends ListCostAllocationT
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListCostAllocationTagsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // ListCostAllocationTagsResponse
|
|
42
|
+
* // CostAllocationTags: [ // CostAllocationTagList
|
|
43
|
+
* // { // CostAllocationTag
|
|
44
|
+
* // TagKey: "STRING_VALUE", // required
|
|
45
|
+
* // Type: "AWSGenerated" || "UserDefined", // required
|
|
46
|
+
* // Status: "Active" || "Inactive", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
41
52
|
* ```
|
|
42
53
|
*
|
|
43
54
|
* @param ListCostAllocationTagsCommandInput - {@link ListCostAllocationTagsCommandInput}
|
|
@@ -52,6 +63,8 @@ export interface ListCostAllocationTagsCommandOutput extends ListCostAllocationT
|
|
|
52
63
|
* @throws {@link LimitExceededException} (client fault)
|
|
53
64
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
54
65
|
*
|
|
66
|
+
* @throws {@link CostExplorerServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
55
68
|
*
|
|
56
69
|
*/
|
|
57
70
|
export declare class ListCostAllocationTagsCommand extends $Command<ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -39,6 +39,29 @@ export interface ListCostCategoryDefinitionsCommandOutput extends ListCostCatego
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new ListCostCategoryDefinitionsCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // ListCostCategoryDefinitionsResponse
|
|
43
|
+
* // CostCategoryReferences: [ // CostCategoryReferencesList
|
|
44
|
+
* // { // CostCategoryReference
|
|
45
|
+
* // CostCategoryArn: "STRING_VALUE",
|
|
46
|
+
* // Name: "STRING_VALUE",
|
|
47
|
+
* // EffectiveStart: "STRING_VALUE",
|
|
48
|
+
* // EffectiveEnd: "STRING_VALUE",
|
|
49
|
+
* // NumberOfRules: Number("int"),
|
|
50
|
+
* // ProcessingStatus: [ // CostCategoryProcessingStatusList
|
|
51
|
+
* // { // CostCategoryProcessingStatus
|
|
52
|
+
* // Component: "COST_EXPLORER",
|
|
53
|
+
* // Status: "PROCESSING" || "APPLIED",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // Values: [ // CostCategoryValuesList
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // DefaultValue: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
42
65
|
* ```
|
|
43
66
|
*
|
|
44
67
|
* @param ListCostCategoryDefinitionsCommandInput - {@link ListCostCategoryDefinitionsCommandInput}
|
|
@@ -50,6 +73,8 @@ export interface ListCostCategoryDefinitionsCommandOutput extends ListCostCatego
|
|
|
50
73
|
* @throws {@link LimitExceededException} (client fault)
|
|
51
74
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
52
75
|
*
|
|
76
|
+
* @throws {@link CostExplorerServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
53
78
|
*
|
|
54
79
|
*/
|
|
55
80
|
export declare class ListCostCategoryDefinitionsCommand extends $Command<ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -37,6 +37,19 @@ export interface ListSavingsPlansPurchaseRecommendationGenerationCommandOutput e
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ListSavingsPlansPurchaseRecommendationGenerationCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // ListSavingsPlansPurchaseRecommendationGenerationResponse
|
|
41
|
+
* // GenerationSummaryList: [ // GenerationSummaryList
|
|
42
|
+
* // { // GenerationSummary
|
|
43
|
+
* // RecommendationId: "STRING_VALUE",
|
|
44
|
+
* // GenerationStatus: "SUCCEEDED" || "PROCESSING" || "FAILED",
|
|
45
|
+
* // GenerationStartedTime: "STRING_VALUE",
|
|
46
|
+
* // GenerationCompletionTime: "STRING_VALUE",
|
|
47
|
+
* // EstimatedCompletionTime: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextPageToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
40
53
|
* ```
|
|
41
54
|
*
|
|
42
55
|
* @param ListSavingsPlansPurchaseRecommendationGenerationCommandInput - {@link ListSavingsPlansPurchaseRecommendationGenerationCommandInput}
|
|
@@ -51,6 +64,8 @@ export interface ListSavingsPlansPurchaseRecommendationGenerationCommandOutput e
|
|
|
51
64
|
* @throws {@link LimitExceededException} (client fault)
|
|
52
65
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
53
66
|
*
|
|
67
|
+
* @throws {@link CostExplorerServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
54
69
|
*
|
|
55
70
|
*/
|
|
56
71
|
export declare class ListSavingsPlansPurchaseRecommendationGenerationCommand extends $Command<ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -32,6 +32,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListTagsForResourceResponse
|
|
36
|
+
* // ResourceTags: [ // ResourceTagList
|
|
37
|
+
* // { // ResourceTag
|
|
38
|
+
* // Key: "STRING_VALUE", // required
|
|
39
|
+
* // Value: "STRING_VALUE", // required
|
|
40
|
+
* // },
|
|
41
|
+
* // ],
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
35
44
|
* ```
|
|
36
45
|
*
|
|
37
46
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -46,6 +55,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
46
55
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
47
56
|
* <p> The specified ARN in the request doesn't exist. </p>
|
|
48
57
|
*
|
|
58
|
+
* @throws {@link CostExplorerServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
49
60
|
*
|
|
50
61
|
*/
|
|
51
62
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -32,6 +32,10 @@ export interface ProvideAnomalyFeedbackCommandOutput extends ProvideAnomalyFeedb
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ProvideAnomalyFeedbackCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ProvideAnomalyFeedbackResponse
|
|
36
|
+
* // AnomalyId: "STRING_VALUE", // required
|
|
37
|
+
* // };
|
|
38
|
+
*
|
|
35
39
|
* ```
|
|
36
40
|
*
|
|
37
41
|
* @param ProvideAnomalyFeedbackCommandInput - {@link ProvideAnomalyFeedbackCommandInput}
|
|
@@ -43,6 +47,8 @@ export interface ProvideAnomalyFeedbackCommandOutput extends ProvideAnomalyFeedb
|
|
|
43
47
|
* @throws {@link LimitExceededException} (client fault)
|
|
44
48
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
45
49
|
*
|
|
50
|
+
* @throws {@link CostExplorerServiceException}
|
|
51
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
46
52
|
*
|
|
47
53
|
*/
|
|
48
54
|
export declare class ProvideAnomalyFeedbackCommand extends $Command<ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -37,6 +37,12 @@ export interface StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
|
37
37
|
* const input = {};
|
|
38
38
|
* const command = new StartSavingsPlansPurchaseRecommendationGenerationCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // StartSavingsPlansPurchaseRecommendationGenerationResponse
|
|
41
|
+
* // RecommendationId: "STRING_VALUE",
|
|
42
|
+
* // GenerationStartedTime: "STRING_VALUE",
|
|
43
|
+
* // EstimatedCompletionTime: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
40
46
|
* ```
|
|
41
47
|
*
|
|
42
48
|
* @param StartSavingsPlansPurchaseRecommendationGenerationCommandInput - {@link StartSavingsPlansPurchaseRecommendationGenerationCommandInput}
|
|
@@ -55,6 +61,8 @@ export interface StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
|
55
61
|
* <p> You've reached the limit on the number of resources you can create, or exceeded the
|
|
56
62
|
* size of an individual resource. </p>
|
|
57
63
|
*
|
|
64
|
+
* @throws {@link CostExplorerServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
58
66
|
*
|
|
59
67
|
*/
|
|
60
68
|
export declare class StartSavingsPlansPurchaseRecommendationGenerationCommand extends $Command<StartSavingsPlansPurchaseRecommendationGenerationCommandInput, StartSavingsPlansPurchaseRecommendationGenerationCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -43,6 +43,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new TagResourceCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
46
48
|
* ```
|
|
47
49
|
*
|
|
48
50
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -61,6 +63,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
61
63
|
* <p>Can occur if you specify a number of tags for a resource greater than the maximum 50
|
|
62
64
|
* user tags per resource.</p>
|
|
63
65
|
*
|
|
66
|
+
* @throws {@link CostExplorerServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
64
68
|
*
|
|
65
69
|
*/
|
|
66
70
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UntagResourceCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -49,6 +51,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
49
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
52
|
* <p> The specified ARN in the request doesn't exist. </p>
|
|
51
53
|
*
|
|
54
|
+
* @throws {@link CostExplorerServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
52
56
|
*
|
|
53
57
|
*/
|
|
54
58
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -33,6 +33,10 @@ export interface UpdateAnomalyMonitorCommandOutput extends UpdateAnomalyMonitorR
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new UpdateAnomalyMonitorCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // UpdateAnomalyMonitorResponse
|
|
37
|
+
* // MonitorArn: "STRING_VALUE", // required
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
36
40
|
* ```
|
|
37
41
|
*
|
|
38
42
|
* @param UpdateAnomalyMonitorCommandInput - {@link UpdateAnomalyMonitorCommandInput}
|
|
@@ -47,6 +51,8 @@ export interface UpdateAnomalyMonitorCommandOutput extends UpdateAnomalyMonitorR
|
|
|
47
51
|
* @throws {@link UnknownMonitorException} (client fault)
|
|
48
52
|
* <p>The cost anomaly monitor does not exist for the account. </p>
|
|
49
53
|
*
|
|
54
|
+
* @throws {@link CostExplorerServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
50
56
|
*
|
|
51
57
|
*/
|
|
52
58
|
export declare class UpdateAnomalyMonitorCommand extends $Command<UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -111,6 +111,10 @@ export interface UpdateAnomalySubscriptionCommandOutput extends UpdateAnomalySub
|
|
|
111
111
|
* };
|
|
112
112
|
* const command = new UpdateAnomalySubscriptionCommand(input);
|
|
113
113
|
* const response = await client.send(command);
|
|
114
|
+
* // { // UpdateAnomalySubscriptionResponse
|
|
115
|
+
* // SubscriptionArn: "STRING_VALUE", // required
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
114
118
|
* ```
|
|
115
119
|
*
|
|
116
120
|
* @param UpdateAnomalySubscriptionCommandInput - {@link UpdateAnomalySubscriptionCommandInput}
|
|
@@ -128,6 +132,8 @@ export interface UpdateAnomalySubscriptionCommandOutput extends UpdateAnomalySub
|
|
|
128
132
|
* @throws {@link UnknownSubscriptionException} (client fault)
|
|
129
133
|
* <p>The cost anomaly subscription does not exist for the account. </p>
|
|
130
134
|
*
|
|
135
|
+
* @throws {@link CostExplorerServiceException}
|
|
136
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
131
137
|
*
|
|
132
138
|
*/
|
|
133
139
|
export declare class UpdateAnomalySubscriptionCommand extends $Command<UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -39,6 +39,16 @@ export interface UpdateCostAllocationTagsStatusCommandOutput extends UpdateCostA
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateCostAllocationTagsStatusCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateCostAllocationTagsStatusResponse
|
|
43
|
+
* // Errors: [ // UpdateCostAllocationTagsStatusErrors
|
|
44
|
+
* // { // UpdateCostAllocationTagsStatusError
|
|
45
|
+
* // TagKey: "STRING_VALUE",
|
|
46
|
+
* // Code: "STRING_VALUE",
|
|
47
|
+
* // Message: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
42
52
|
* ```
|
|
43
53
|
*
|
|
44
54
|
* @param UpdateCostAllocationTagsStatusCommandInput - {@link UpdateCostAllocationTagsStatusCommandInput}
|
|
@@ -50,6 +60,8 @@ export interface UpdateCostAllocationTagsStatusCommandOutput extends UpdateCostA
|
|
|
50
60
|
* @throws {@link LimitExceededException} (client fault)
|
|
51
61
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
52
62
|
*
|
|
63
|
+
* @throws {@link CostExplorerServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
53
65
|
*
|
|
54
66
|
*/
|
|
55
67
|
export declare class UpdateCostAllocationTagsStatusCommand extends $Command<UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -130,6 +130,11 @@ export interface UpdateCostCategoryDefinitionCommandOutput extends UpdateCostCat
|
|
|
130
130
|
* };
|
|
131
131
|
* const command = new UpdateCostCategoryDefinitionCommand(input);
|
|
132
132
|
* const response = await client.send(command);
|
|
133
|
+
* // { // UpdateCostCategoryDefinitionResponse
|
|
134
|
+
* // CostCategoryArn: "STRING_VALUE",
|
|
135
|
+
* // EffectiveStart: "STRING_VALUE",
|
|
136
|
+
* // };
|
|
137
|
+
*
|
|
133
138
|
* ```
|
|
134
139
|
*
|
|
135
140
|
* @param UpdateCostCategoryDefinitionCommandInput - {@link UpdateCostCategoryDefinitionCommandInput}
|
|
@@ -148,6 +153,8 @@ export interface UpdateCostCategoryDefinitionCommandOutput extends UpdateCostCat
|
|
|
148
153
|
* <p> You've reached the limit on the number of resources you can create, or exceeded the
|
|
149
154
|
* size of an individual resource. </p>
|
|
150
155
|
*
|
|
156
|
+
* @throws {@link CostExplorerServiceException}
|
|
157
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
151
158
|
*
|
|
152
159
|
*/
|
|
153
160
|
export declare class UpdateCostCategoryDefinitionCommand extends $Command<UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput, CostExplorerClientResolvedConfig> {
|
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.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|