create_bill_scenario
async
¶
create_bill_scenario(
name: BillScenarioName,
*,
config_overrides: Optional[AsyncBCMPricingCalculatorClientConfig] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[Tags] = None,
group_sharing_preference: Optional[GroupSharingPreferenceEnum] = None,
cost_category_group_sharing_preference_arn: Optional[CostCategoryArn] = None,
) -> CreateBillScenarioResponse
Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.
Parameters:
-
name(BillScenarioName) –A descriptive name for the bill scenario.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
-
tags(Optional[Tags], default:None) –The tags to apply to the bill scenario.
-
group_sharing_preference(Optional[GroupSharingPreferenceEnum], default:None) –The setting for the reserved instance and savings plans group sharing used in this estimate.
-
cost_category_group_sharing_preference_arn(Optional[CostCategoryArn], default:None) –The arn of the cost category used in the reserved and prioritized group sharing.
Raises:
-
AccessDeniedException–The request is denied because you don't have sufficient permissions to perform this operation. Verify that you have the required permissions and try again.
-
InternalServerException–An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
-
ConflictException–The request couldn't be processed because the resource is in a conflicting state. Verify the resource's current state and retry the request.
-
DataUnavailableException–The requested data is currently unavailable.
-
ServiceQuotaExceededException–The request would cause you to exceed your service quota.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bcm_pricing_calculator/_services/async_bcm_pricing_calculator.py
1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 | |