Skip to content

Commit 1e8cdb0

Browse files
author
awstools
committed
feat(client-bcm-pricing-calculator): Add AFTER_DISCOUNTS_AND_COMMITMENTS to Workload Estimate Rate Type. Set ListWorkLoadEstimateUsage maxResults range to minimum of 0 and maximum of 300.
1 parent ae07662 commit 1e8cdb0

File tree

42 files changed

+1372
-3038
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1372
-3038
lines changed

clients/client-bcm-pricing-calculator/README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,7 @@
66

77
AWS SDK for JavaScript BCMPricingCalculator Client for Node.js, Browser and React Native.
88

9-
<p>
10-
You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and
11-
Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.
12-
</p>
13-
<p>The Pricing Calculator API provides the following endpoint:</p>
14-
<ul>
15-
<li>
16-
<p>
17-
<code>https://bcm-pricing-calculator.us-east-1.api.aws</code>
18-
</p>
19-
</li>
20-
</ul>
9+
<p> You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences. </p> <p>The Pricing Calculator API provides the following endpoint:</p> <ul> <li> <p> <code>https://bcm-pricing-calculator.us-east-1.api.aws</code> </p> </li> </ul>
2110

2211
## Installing
2312

clients/client-bcm-pricing-calculator/src/BCMPricingCalculator.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -818,18 +818,7 @@ export interface BCMPricingCalculator {
818818
}
819819

820820
/**
821-
* <p>
822-
* You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and
823-
* Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.
824-
* </p>
825-
* <p>The Pricing Calculator API provides the following endpoint:</p>
826-
* <ul>
827-
* <li>
828-
* <p>
829-
* <code>https://bcm-pricing-calculator.us-east-1.api.aws</code>
830-
* </p>
831-
* </li>
832-
* </ul>
821+
* <p> You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences. </p> <p>The Pricing Calculator API provides the following endpoint:</p> <ul> <li> <p> <code>https://bcm-pricing-calculator.us-east-1.api.aws</code> </p> </li> </ul>
833822
* @public
834823
*/
835824
export class BCMPricingCalculator extends BCMPricingCalculatorClient implements BCMPricingCalculator {}

clients/client-bcm-pricing-calculator/src/BCMPricingCalculatorClient.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -439,18 +439,7 @@ export type BCMPricingCalculatorClientResolvedConfigType = __SmithyResolvedConfi
439439
export interface BCMPricingCalculatorClientResolvedConfig extends BCMPricingCalculatorClientResolvedConfigType {}
440440

441441
/**
442-
* <p>
443-
* You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and
444-
* Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.
445-
* </p>
446-
* <p>The Pricing Calculator API provides the following endpoint:</p>
447-
* <ul>
448-
* <li>
449-
* <p>
450-
* <code>https://bcm-pricing-calculator.us-east-1.api.aws</code>
451-
* </p>
452-
* </li>
453-
* </ul>
442+
* <p> You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences. </p> <p>The Pricing Calculator API provides the following endpoint:</p> <ul> <li> <p> <code>https://bcm-pricing-calculator.us-east-1.api.aws</code> </p> </li> </ul>
454443
* @public
455444
*/
456445
export class BCMPricingCalculatorClient extends __Client<

clients/client-bcm-pricing-calculator/src/commands/BatchCreateBillScenarioCommitmentModificationCommand.ts

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,7 @@ export interface BatchCreateBillScenarioCommitmentModificationCommandOutput
4141
__MetadataBearer {}
4242

4343
/**
44-
* <p>
45-
* Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.
46-
* </p>
47-
* <note>
48-
* <p>The <code>BatchCreateBillScenarioCommitmentModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals,
49-
* include the permission <code>bcm-pricing-calculator:CreateBillScenarioCommitmentModification</code> in your policies.</p>
50-
* </note>
44+
* <p> Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario. </p> <note> <p>The <code>BatchCreateBillScenarioCommitmentModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>bcm-pricing-calculator:CreateBillScenarioCommitmentModification</code> in your policies.</p> </note>
5145
* @example
5246
* Use a bare-bones client and the command you need to make an API call.
5347
* ```javascript
@@ -126,39 +120,25 @@ export interface BatchCreateBillScenarioCommitmentModificationCommandOutput
126120
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
127121
*
128122
* @throws {@link ConflictException} (client fault)
129-
* <p>
130-
* The request could not be processed because of conflict in the current state of the resource.
131-
* </p>
123+
* <p> The request could not be processed because of conflict in the current state of the resource. </p>
132124
*
133125
* @throws {@link DataUnavailableException} (client fault)
134-
* <p>
135-
* The requested data is currently unavailable.
136-
* </p>
126+
* <p> The requested data is currently unavailable. </p>
137127
*
138128
* @throws {@link ResourceNotFoundException} (client fault)
139-
* <p>
140-
* The specified resource was not found.
141-
* </p>
129+
* <p> The specified resource was not found. </p>
142130
*
143131
* @throws {@link AccessDeniedException} (client fault)
144-
* <p>
145-
* You do not have sufficient access to perform this action.
146-
* </p>
132+
* <p> You do not have sufficient access to perform this action. </p>
147133
*
148134
* @throws {@link InternalServerException} (server fault)
149-
* <p>
150-
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
151-
* </p>
135+
* <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
152136
*
153137
* @throws {@link ThrottlingException} (client fault)
154-
* <p>
155-
* The request was denied due to request throttling.
156-
* </p>
138+
* <p> The request was denied due to request throttling. </p>
157139
*
158140
* @throws {@link ValidationException} (client fault)
159-
* <p>
160-
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
161-
* </p>
141+
* <p> The input provided fails to satisfy the constraints specified by an Amazon Web Services service. </p>
162142
*
163143
* @throws {@link BCMPricingCalculatorServiceException}
164144
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>

clients/client-bcm-pricing-calculator/src/commands/BatchCreateBillScenarioUsageModificationCommand.ts

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,7 @@ export interface BatchCreateBillScenarioUsageModificationCommandOutput
4141
__MetadataBearer {}
4242

4343
/**
44-
* <p>
45-
* Create Amazon Web Services service usage that you want to model in a Bill Scenario.
46-
* </p>
47-
* <note>
48-
* <p>The <code>BatchCreateBillScenarioUsageModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals,
49-
* include the permission <code>bcm-pricing-calculator:CreateBillScenarioUsageModification</code> in your policies.</p>
50-
* </note>
44+
* <p> Create Amazon Web Services service usage that you want to model in a Bill Scenario. </p> <note> <p>The <code>BatchCreateBillScenarioUsageModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>bcm-pricing-calculator:CreateBillScenarioUsageModification</code> in your policies.</p> </note>
5145
* @example
5246
* Use a bare-bones client and the command you need to make an API call.
5347
* ```javascript
@@ -244,44 +238,28 @@ export interface BatchCreateBillScenarioUsageModificationCommandOutput
244238
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
245239
*
246240
* @throws {@link ConflictException} (client fault)
247-
* <p>
248-
* The request could not be processed because of conflict in the current state of the resource.
249-
* </p>
241+
* <p> The request could not be processed because of conflict in the current state of the resource. </p>
250242
*
251243
* @throws {@link DataUnavailableException} (client fault)
252-
* <p>
253-
* The requested data is currently unavailable.
254-
* </p>
244+
* <p> The requested data is currently unavailable. </p>
255245
*
256246
* @throws {@link ResourceNotFoundException} (client fault)
257-
* <p>
258-
* The specified resource was not found.
259-
* </p>
247+
* <p> The specified resource was not found. </p>
260248
*
261249
* @throws {@link ServiceQuotaExceededException} (client fault)
262-
* <p>
263-
* The request would cause you to exceed your service quota.
264-
* </p>
250+
* <p> The request would cause you to exceed your service quota. </p>
265251
*
266252
* @throws {@link AccessDeniedException} (client fault)
267-
* <p>
268-
* You do not have sufficient access to perform this action.
269-
* </p>
253+
* <p> You do not have sufficient access to perform this action. </p>
270254
*
271255
* @throws {@link InternalServerException} (server fault)
272-
* <p>
273-
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
274-
* </p>
256+
* <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
275257
*
276258
* @throws {@link ThrottlingException} (client fault)
277-
* <p>
278-
* The request was denied due to request throttling.
279-
* </p>
259+
* <p> The request was denied due to request throttling. </p>
280260
*
281261
* @throws {@link ValidationException} (client fault)
282-
* <p>
283-
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
284-
* </p>
262+
* <p> The input provided fails to satisfy the constraints specified by an Amazon Web Services service. </p>
285263
*
286264
* @throws {@link BCMPricingCalculatorServiceException}
287265
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>

clients/client-bcm-pricing-calculator/src/commands/BatchCreateWorkloadEstimateUsageCommand.ts

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,7 @@ export interface BatchCreateWorkloadEstimateUsageCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>
41-
* Create Amazon Web Services service usage that you want to model in a Workload Estimate.
42-
* </p>
43-
* <note>
44-
* <p>The <code>BatchCreateWorkloadEstimateUsage</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals,
45-
* include the permission <code>bcm-pricing-calculator:CreateWorkloadEstimateUsage</code> in your policies.</p>
46-
* </note>
40+
* <p> Create Amazon Web Services service usage that you want to model in a Workload Estimate. </p> <note> <p>The <code>BatchCreateWorkloadEstimateUsage</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>bcm-pricing-calculator:CreateWorkloadEstimateUsage</code> in your policies.</p> </note>
4741
* @example
4842
* Use a bare-bones client and the command you need to make an API call.
4943
* ```javascript
@@ -233,44 +227,28 @@ export interface BatchCreateWorkloadEstimateUsageCommandOutput
233227
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
234228
*
235229
* @throws {@link ConflictException} (client fault)
236-
* <p>
237-
* The request could not be processed because of conflict in the current state of the resource.
238-
* </p>
230+
* <p> The request could not be processed because of conflict in the current state of the resource. </p>
239231
*
240232
* @throws {@link DataUnavailableException} (client fault)
241-
* <p>
242-
* The requested data is currently unavailable.
243-
* </p>
233+
* <p> The requested data is currently unavailable. </p>
244234
*
245235
* @throws {@link ResourceNotFoundException} (client fault)
246-
* <p>
247-
* The specified resource was not found.
248-
* </p>
236+
* <p> The specified resource was not found. </p>
249237
*
250238
* @throws {@link ServiceQuotaExceededException} (client fault)
251-
* <p>
252-
* The request would cause you to exceed your service quota.
253-
* </p>
239+
* <p> The request would cause you to exceed your service quota. </p>
254240
*
255241
* @throws {@link AccessDeniedException} (client fault)
256-
* <p>
257-
* You do not have sufficient access to perform this action.
258-
* </p>
242+
* <p> You do not have sufficient access to perform this action. </p>
259243
*
260244
* @throws {@link InternalServerException} (server fault)
261-
* <p>
262-
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
263-
* </p>
245+
* <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
264246
*
265247
* @throws {@link ThrottlingException} (client fault)
266-
* <p>
267-
* The request was denied due to request throttling.
268-
* </p>
248+
* <p> The request was denied due to request throttling. </p>
269249
*
270250
* @throws {@link ValidationException} (client fault)
271-
* <p>
272-
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
273-
* </p>
251+
* <p> The input provided fails to satisfy the constraints specified by an Amazon Web Services service. </p>
274252
*
275253
* @throws {@link BCMPricingCalculatorServiceException}
276254
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>

clients/client-bcm-pricing-calculator/src/commands/BatchDeleteBillScenarioCommitmentModificationCommand.ts

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,7 @@ export interface BatchDeleteBillScenarioCommitmentModificationCommandOutput
4141
__MetadataBearer {}
4242

4343
/**
44-
* <p>
45-
* Delete commitment that you have created in a Bill Scenario. You can only delete a commitment that you had
46-
* added and cannot model deletion (or removal) of a existing commitment. If you want model deletion of an existing
47-
* commitment, see the negate <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BillScenarioCommitmentModificationAction.html">
48-
* BillScenarioCommitmentModificationAction</a> of
49-
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchCreateBillScenarioUsageModification.html">
50-
* BatchCreateBillScenarioCommitmentModification</a> operation.
51-
* </p>
52-
* <note>
53-
* <p>The <code>BatchDeleteBillScenarioCommitmentModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals,
54-
* include the permission <code>bcm-pricing-calculator:DeleteBillScenarioCommitmentModification</code> in your policies.</p>
55-
* </note>
44+
* <p> Delete commitment that you have created in a Bill Scenario. You can only delete a commitment that you had added and cannot model deletion (or removal) of a existing commitment. If you want model deletion of an existing commitment, see the negate <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BillScenarioCommitmentModificationAction.html"> BillScenarioCommitmentModificationAction</a> of <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchCreateBillScenarioUsageModification.html"> BatchCreateBillScenarioCommitmentModification</a> operation. </p> <note> <p>The <code>BatchDeleteBillScenarioCommitmentModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission <code>bcm-pricing-calculator:DeleteBillScenarioCommitmentModification</code> in your policies.</p> </note>
5645
* @example
5746
* Use a bare-bones client and the command you need to make an API call.
5847
* ```javascript
@@ -86,39 +75,25 @@ export interface BatchDeleteBillScenarioCommitmentModificationCommandOutput
8675
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
8776
*
8877
* @throws {@link ConflictException} (client fault)
89-
* <p>
90-
* The request could not be processed because of conflict in the current state of the resource.
91-
* </p>
78+
* <p> The request could not be processed because of conflict in the current state of the resource. </p>
9279
*
9380
* @throws {@link DataUnavailableException} (client fault)
94-
* <p>
95-
* The requested data is currently unavailable.
96-
* </p>
81+
* <p> The requested data is currently unavailable. </p>
9782
*
9883
* @throws {@link ResourceNotFoundException} (client fault)
99-
* <p>
100-
* The specified resource was not found.
101-
* </p>
84+
* <p> The specified resource was not found. </p>
10285
*
10386
* @throws {@link AccessDeniedException} (client fault)
104-
* <p>
105-
* You do not have sufficient access to perform this action.
106-
* </p>
87+
* <p> You do not have sufficient access to perform this action. </p>
10788
*
10889
* @throws {@link InternalServerException} (server fault)
109-
* <p>
110-
* An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
111-
* </p>
90+
* <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
11291
*
11392
* @throws {@link ThrottlingException} (client fault)
114-
* <p>
115-
* The request was denied due to request throttling.
116-
* </p>
93+
* <p> The request was denied due to request throttling. </p>
11794
*
11895
* @throws {@link ValidationException} (client fault)
119-
* <p>
120-
* The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
121-
* </p>
96+
* <p> The input provided fails to satisfy the constraints specified by an Amazon Web Services service. </p>
12297
*
12398
* @throws {@link BCMPricingCalculatorServiceException}
12499
* <p>Base exception class for all service exceptions from BCMPricingCalculator service.</p>

0 commit comments

Comments
 (0)