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 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.
-
ResourceNotFoundException–The specified resource wasn't 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
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 | |