Skip to content

Commit e57928b

Browse files
author
AWS
committed
AWS Billing and Cost Management Pricing Calculator Update: Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations.
1 parent 4b9bf2f commit e57928b

File tree

2 files changed

+26
-15
lines changed

2 files changed

+26
-15
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Billing and Cost Management Pricing Calculator",
4+
"contributor": "",
5+
"description": "Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations."
6+
}

services/bcmpricingcalculator/src/main/resources/codegen-resources/service-2.json

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{"shape":"AccessDeniedException"},
3333
{"shape":"ThrottlingException"}
3434
],
35-
"documentation":"<p> Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario. </p>",
35+
"documentation":"<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>",
3636
"idempotent":true
3737
},
3838
"BatchCreateBillScenarioUsageModification":{
@@ -53,7 +53,7 @@
5353
{"shape":"AccessDeniedException"},
5454
{"shape":"ThrottlingException"}
5555
],
56-
"documentation":"<p> Create Amazon Web Services service usage that you want to model in a Bill Scenario. </p>",
56+
"documentation":"<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>",
5757
"idempotent":true
5858
},
5959
"BatchCreateWorkloadEstimateUsage":{
@@ -74,7 +74,7 @@
7474
{"shape":"AccessDeniedException"},
7575
{"shape":"ThrottlingException"}
7676
],
77-
"documentation":"<p> Create Amazon Web Services service usage that you want to model in a Workload Estimate. </p>",
77+
"documentation":"<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>",
7878
"idempotent":true
7979
},
8080
"BatchDeleteBillScenarioCommitmentModification":{
@@ -86,14 +86,15 @@
8686
"input":{"shape":"BatchDeleteBillScenarioCommitmentModificationRequest"},
8787
"output":{"shape":"BatchDeleteBillScenarioCommitmentModificationResponse"},
8888
"errors":[
89+
{"shape":"ConflictException"},
8990
{"shape":"ValidationException"},
9091
{"shape":"DataUnavailableException"},
9192
{"shape":"InternalServerException"},
9293
{"shape":"ResourceNotFoundException"},
9394
{"shape":"AccessDeniedException"},
9495
{"shape":"ThrottlingException"}
9596
],
96-
"documentation":"<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>",
97+
"documentation":"<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>",
9798
"idempotent":true
9899
},
99100
"BatchDeleteBillScenarioUsageModification":{
@@ -105,6 +106,7 @@
105106
"input":{"shape":"BatchDeleteBillScenarioUsageModificationRequest"},
106107
"output":{"shape":"BatchDeleteBillScenarioUsageModificationResponse"},
107108
"errors":[
109+
{"shape":"ConflictException"},
108110
{"shape":"ValidationException"},
109111
{"shape":"DataUnavailableException"},
110112
{"shape":"ServiceQuotaExceededException"},
@@ -113,7 +115,7 @@
113115
{"shape":"AccessDeniedException"},
114116
{"shape":"ThrottlingException"}
115117
],
116-
"documentation":"<p> Delete usage that you have created in a Bill Scenario. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateBillScenarioUsageModification.html\"> BatchUpdateBillScenarioUsageModification</a>. </p>",
118+
"documentation":"<p> Delete usage that you have created in a Bill Scenario. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateBillScenarioUsageModification.html\"> BatchUpdateBillScenarioUsageModification</a>. </p> <note> <p>The <code>BatchDeleteBillScenarioUsageModification</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:DeleteBillScenarioUsageModification</code> in your policies.</p> </note>",
117119
"idempotent":true
118120
},
119121
"BatchDeleteWorkloadEstimateUsage":{
@@ -133,7 +135,7 @@
133135
{"shape":"AccessDeniedException"},
134136
{"shape":"ThrottlingException"}
135137
],
136-
"documentation":"<p> Delete usage that you have created in a Workload estimate. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateWorkloadEstimateUsage.html\"> BatchUpdateWorkloadEstimateUsage</a>. </p>",
138+
"documentation":"<p> Delete usage that you have created in a Workload estimate. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateWorkloadEstimateUsage.html\"> BatchUpdateWorkloadEstimateUsage</a>. </p> <note> <p>The <code>BatchDeleteWorkloadEstimateUsage</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:DeleteWorkloadEstimateUsage</code> in your policies.</p> </note>",
137139
"idempotent":true
138140
},
139141
"BatchUpdateBillScenarioCommitmentModification":{
@@ -145,14 +147,15 @@
145147
"input":{"shape":"BatchUpdateBillScenarioCommitmentModificationRequest"},
146148
"output":{"shape":"BatchUpdateBillScenarioCommitmentModificationResponse"},
147149
"errors":[
150+
{"shape":"ConflictException"},
148151
{"shape":"ValidationException"},
149152
{"shape":"DataUnavailableException"},
150153
{"shape":"InternalServerException"},
151154
{"shape":"ResourceNotFoundException"},
152155
{"shape":"AccessDeniedException"},
153156
{"shape":"ThrottlingException"}
154157
],
155-
"documentation":"<p> Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID. </p>",
158+
"documentation":"<p> Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID. </p> <note> <p>The <code>BatchUpdateBillScenarioCommitmentModification</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:UpdateBillScenarioCommitmentModification</code> in your policies.</p> </note>",
156159
"idempotent":true
157160
},
158161
"BatchUpdateBillScenarioUsageModification":{
@@ -164,6 +167,7 @@
164167
"input":{"shape":"BatchUpdateBillScenarioUsageModificationRequest"},
165168
"output":{"shape":"BatchUpdateBillScenarioUsageModificationResponse"},
166169
"errors":[
170+
{"shape":"ConflictException"},
167171
{"shape":"ValidationException"},
168172
{"shape":"DataUnavailableException"},
169173
{"shape":"ServiceQuotaExceededException"},
@@ -172,7 +176,7 @@
172176
{"shape":"AccessDeniedException"},
173177
{"shape":"ThrottlingException"}
174178
],
175-
"documentation":"<p> 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. </p>",
179+
"documentation":"<p> 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. </p> <note> <p>The <code>BatchUpdateBillScenarioUsageModification</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:UpdateBillScenarioUsageModification</code> in your policies.</p> </note>",
176180
"idempotent":true
177181
},
178182
"BatchUpdateWorkloadEstimateUsage":{
@@ -192,7 +196,7 @@
192196
{"shape":"AccessDeniedException"},
193197
{"shape":"ThrottlingException"}
194198
],
195-
"documentation":"<p> 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. </p>",
199+
"documentation":"<p> 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. </p> <note> <p>The <code>BatchUpdateWorkloadEstimateUsage</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:UpdateWorkloadEstimateUsage</code> in your policies.</p> </note>",
196200
"idempotent":true
197201
},
198202
"CreateBillEstimate":{
@@ -283,6 +287,7 @@
283287
"input":{"shape":"DeleteBillScenarioRequest"},
284288
"output":{"shape":"DeleteBillScenarioResponse"},
285289
"errors":[
290+
{"shape":"ConflictException"},
286291
{"shape":"ValidationException"},
287292
{"shape":"DataUnavailableException"},
288293
{"shape":"InternalServerException"},
@@ -2920,11 +2925,11 @@
29202925
},
29212926
"createdAtFilter":{
29222927
"shape":"FilterTimestamp",
2923-
"documentation":"<p> Filter bill estimates based on their creation date. </p>"
2928+
"documentation":"<p> Filter bill estimates based on the creation date. </p>"
29242929
},
29252930
"expiresAtFilter":{
29262931
"shape":"FilterTimestamp",
2927-
"documentation":"<p> Filter bill estimates based on their expiration date. </p>"
2932+
"documentation":"<p> Filter bill estimates based on the expiration date. </p>"
29282933
},
29292934
"nextToken":{
29302935
"shape":"NextPageToken",
@@ -3061,11 +3066,11 @@
30613066
},
30623067
"createdAtFilter":{
30633068
"shape":"FilterTimestamp",
3064-
"documentation":"<p> Filter bill scenarios based on their creation date. </p>"
3069+
"documentation":"<p> Filter bill scenarios based on the creation date. </p>"
30653070
},
30663071
"expiresAtFilter":{
30673072
"shape":"FilterTimestamp",
3068-
"documentation":"<p> Filter bill scenarios based on their expiration date. </p>"
3073+
"documentation":"<p> Filter bill scenarios based on the expiration date. </p>"
30693074
},
30703075
"nextToken":{
30713076
"shape":"NextPageToken",
@@ -3232,11 +3237,11 @@
32323237
"members":{
32333238
"createdAtFilter":{
32343239
"shape":"FilterTimestamp",
3235-
"documentation":"<p> Filter workload estimates based on their creation date. </p>"
3240+
"documentation":"<p> Filter workload estimates based on the creation date. </p>"
32363241
},
32373242
"expiresAtFilter":{
32383243
"shape":"FilterTimestamp",
3239-
"documentation":"<p> Filter workload estimates based on their expiration date. </p>"
3244+
"documentation":"<p> Filter workload estimates based on the expiration date. </p>"
32403245
},
32413246
"filters":{
32423247
"shape":"ListWorkloadEstimatesFilters",

0 commit comments

Comments
 (0)