Skip to content

Commit 19c246d

Browse files
author
awstools
committed
feat(client-bcm-pricing-calculator): Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations.
1 parent 5738642 commit 19c246d

12 files changed

+97
-21
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export interface BatchCreateBillScenarioCommitmentModificationCommandOutput
4444
* <p>
4545
* Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.
4646
* </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>
4751
* @example
4852
* Use a bare-bones client and the command you need to make an API call.
4953
* ```javascript

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

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export interface BatchCreateBillScenarioUsageModificationCommandOutput
4444
* <p>
4545
* Create Amazon Web Services service usage that you want to model in a Bill Scenario.
4646
* </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>
4751
* @example
4852
* Use a bare-bones client and the command you need to make an API call.
4953
* ```javascript

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

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export interface BatchCreateWorkloadEstimateUsageCommandOutput
4040
* <p>
4141
* Create Amazon Web Services service usage that you want to model in a Workload Estimate.
4242
* </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>
4347
* @example
4448
* Use a bare-bones client and the command you need to make an API call.
4549
* ```javascript

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

+9
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ export interface BatchDeleteBillScenarioCommitmentModificationCommandOutput
4949
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchCreateBillScenarioUsageModification.html">
5050
* BatchCreateBillScenarioCommitmentModification</a> operation.
5151
* </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>
5256
* @example
5357
* Use a bare-bones client and the command you need to make an API call.
5458
* ```javascript
@@ -81,6 +85,11 @@ export interface BatchDeleteBillScenarioCommitmentModificationCommandOutput
8185
* @see {@link BatchDeleteBillScenarioCommitmentModificationCommandOutput} for command's `response` shape.
8286
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
8387
*
88+
* @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>
92+
*
8493
* @throws {@link DataUnavailableException} (client fault)
8594
* <p>
8695
* The requested data is currently unavailable.

Diff for: clients/client-bcm-pricing-calculator/src/commands/BatchDeleteBillScenarioUsageModificationCommand.ts

+9
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export interface BatchDeleteBillScenarioUsageModificationCommandOutput
4747
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateBillScenarioUsageModification.html">
4848
* BatchUpdateBillScenarioUsageModification</a>.
4949
* </p>
50+
* <note>
51+
* <p>The <code>BatchDeleteBillScenarioUsageModification</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals,
52+
* include the permission <code>bcm-pricing-calculator:DeleteBillScenarioUsageModification</code> in your policies.</p>
53+
* </note>
5054
* @example
5155
* Use a bare-bones client and the command you need to make an API call.
5256
* ```javascript
@@ -79,6 +83,11 @@ export interface BatchDeleteBillScenarioUsageModificationCommandOutput
7983
* @see {@link BatchDeleteBillScenarioUsageModificationCommandOutput} for command's `response` shape.
8084
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
8185
*
86+
* @throws {@link ConflictException} (client fault)
87+
* <p>
88+
* The request could not be processed because of conflict in the current state of the resource.
89+
* </p>
90+
*
8291
* @throws {@link DataUnavailableException} (client fault)
8392
* <p>
8493
* The requested data is currently unavailable.

Diff for: clients/client-bcm-pricing-calculator/src/commands/BatchDeleteWorkloadEstimateUsageCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ export interface BatchDeleteWorkloadEstimateUsageCommandOutput
4343
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateWorkloadEstimateUsage.html">
4444
* BatchUpdateWorkloadEstimateUsage</a>.
4545
* </p>
46+
* <note>
47+
* <p>The <code>BatchDeleteWorkloadEstimateUsage</code> operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals,
48+
* include the permission <code>bcm-pricing-calculator:DeleteWorkloadEstimateUsage</code> in your policies.</p>
49+
* </note>
4650
* @example
4751
* Use a bare-bones client and the command you need to make an API call.
4852
* ```javascript

Diff for: clients/client-bcm-pricing-calculator/src/commands/BatchUpdateBillScenarioCommitmentModificationCommand.ts

+9
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export interface BatchUpdateBillScenarioCommitmentModificationCommandOutput
4444
* <p>
4545
* Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.
4646
* </p>
47+
* <note>
48+
* <p>The <code>BatchUpdateBillScenarioCommitmentModification</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:UpdateBillScenarioCommitmentModification</code> in your policies.</p>
50+
* </note>
4751
* @example
4852
* Use a bare-bones client and the command you need to make an API call.
4953
* ```javascript
@@ -102,6 +106,11 @@ export interface BatchUpdateBillScenarioCommitmentModificationCommandOutput
102106
* @see {@link BatchUpdateBillScenarioCommitmentModificationCommandOutput} for command's `response` shape.
103107
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
104108
*
109+
* @throws {@link ConflictException} (client fault)
110+
* <p>
111+
* The request could not be processed because of conflict in the current state of the resource.
112+
* </p>
113+
*
105114
* @throws {@link DataUnavailableException} (client fault)
106115
* <p>
107116
* The requested data is currently unavailable.

Diff for: clients/client-bcm-pricing-calculator/src/commands/BatchUpdateBillScenarioUsageModificationCommand.ts

+9
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export interface BatchUpdateBillScenarioUsageModificationCommandOutput
4444
* <p>
4545
* Update a newly added or existing usage lines. You can update the usage amounts, usage hour, and usage group based on a usage ID and a Bill scenario ID.
4646
* </p>
47+
* <note>
48+
* <p>The <code>BatchUpdateBillScenarioUsageModification</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:UpdateBillScenarioUsageModification</code> in your policies.</p>
50+
* </note>
4751
* @example
4852
* Use a bare-bones client and the command you need to make an API call.
4953
* ```javascript
@@ -168,6 +172,11 @@ export interface BatchUpdateBillScenarioUsageModificationCommandOutput
168172
* @see {@link BatchUpdateBillScenarioUsageModificationCommandOutput} for command's `response` shape.
169173
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
170174
*
175+
* @throws {@link ConflictException} (client fault)
176+
* <p>
177+
* The request could not be processed because of conflict in the current state of the resource.
178+
* </p>
179+
*
171180
* @throws {@link DataUnavailableException} (client fault)
172181
* <p>
173182
* The requested data is currently unavailable.

Diff for: clients/client-bcm-pricing-calculator/src/commands/BatchUpdateWorkloadEstimateUsageCommand.ts

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export interface BatchUpdateWorkloadEstimateUsageCommandOutput
4040
* <p>
4141
* Update a newly added or existing usage lines. You can update the usage amounts and usage group based on a usage ID and a Workload estimate ID.
4242
* </p>
43+
* <note>
44+
* <p>The <code>BatchUpdateWorkloadEstimateUsage</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:UpdateWorkloadEstimateUsage</code> in your policies.</p>
46+
* </note>
4347
* @example
4448
* Use a bare-bones client and the command you need to make an API call.
4549
* ```javascript

Diff for: clients/client-bcm-pricing-calculator/src/commands/DeleteBillScenarioCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ export interface DeleteBillScenarioCommandOutput extends DeleteBillScenarioRespo
5656
* @see {@link DeleteBillScenarioCommandOutput} for command's `response` shape.
5757
* @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape.
5858
*
59+
* @throws {@link ConflictException} (client fault)
60+
* <p>
61+
* The request could not be processed because of conflict in the current state of the resource.
62+
* </p>
63+
*
5964
* @throws {@link DataUnavailableException} (client fault)
6065
* <p>
6166
* The requested data is currently unavailable.

Diff for: clients/client-bcm-pricing-calculator/src/models/models_0.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1577,15 +1577,15 @@ export interface ListBillEstimatesRequest {
15771577

15781578
/**
15791579
* <p>
1580-
* Filter bill estimates based on their creation date.
1580+
* Filter bill estimates based on the creation date.
15811581
* </p>
15821582
* @public
15831583
*/
15841584
createdAtFilter?: FilterTimestamp | undefined;
15851585

15861586
/**
15871587
* <p>
1588-
* Filter bill estimates based on their expiration date.
1588+
* Filter bill estimates based on the expiration date.
15891589
* </p>
15901590
* @public
15911591
*/
@@ -2869,15 +2869,15 @@ export interface ListBillScenariosRequest {
28692869

28702870
/**
28712871
* <p>
2872-
* Filter bill scenarios based on their creation date.
2872+
* Filter bill scenarios based on the creation date.
28732873
* </p>
28742874
* @public
28752875
*/
28762876
createdAtFilter?: FilterTimestamp | undefined;
28772877

28782878
/**
28792879
* <p>
2880-
* Filter bill scenarios based on their expiration date.
2880+
* Filter bill scenarios based on the expiration date.
28812881
* </p>
28822882
* @public
28832883
*/
@@ -3558,15 +3558,15 @@ export interface ListWorkloadEstimatesFilter {
35583558
export interface ListWorkloadEstimatesRequest {
35593559
/**
35603560
* <p>
3561-
* Filter workload estimates based on their creation date.
3561+
* Filter workload estimates based on the creation date.
35623562
* </p>
35633563
* @public
35643564
*/
35653565
createdAtFilter?: FilterTimestamp | undefined;
35663566

35673567
/**
35683568
* <p>
3569-
* Filter workload estimates based on their expiration date.
3569+
* Filter workload estimates based on the expiration date.
35703570
* </p>
35713571
* @public
35723572
*/

0 commit comments

Comments
 (0)