update_bill_scenario
async
¶
update_bill_scenario(
identifier: ResourceId,
*,
config_overrides: Optional[AsyncBCMPricingCalculatorClientConfig] = None,
name: Optional[BillScenarioName] = None,
expires_at: Optional[datetime] = None,
group_sharing_preference: Optional[GroupSharingPreferenceEnum] = None,
cost_category_group_sharing_preference_arn: Optional[CostCategoryArn] = None,
) -> UpdateBillScenarioResponse
Updates an existing bill scenario.
Parameters:
-
identifier(ResourceId) –The unique identifier of the bill scenario to update.
-
name(Optional[BillScenarioName], default:None) –The new name for the bill scenario.
-
expires_at(Optional[datetime], default:None) –The new expiration date for the bill scenario.
-
group_sharing_preference(Optional[GroupSharingPreferenceEnum], default:None) –The setting for the reserved instance and savings plan 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–You do not have sufficient access to perform this action.
-
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 could not be processed because of conflict in the current state of the resource.
-
DataUnavailableException–The requested data is currently unavailable.
-
ResourceNotFoundException–The specified resource was not found.
-
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
1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 | |