update_custom_line_item
¶
update_custom_line_item(
arn: CustomLineItemArn,
*,
config_overrides: Optional[billingconductorClientConfig] = None,
name: Optional[CustomLineItemName] = None,
description: Optional[CustomLineItemDescription] = None,
charge_details: Optional[UpdateCustomLineItemChargeDetails] = None,
billing_period_range: Optional[CustomLineItemBillingPeriodRange] = None,
) -> UpdateCustomLineItemOutput
Update an existing custom line item in the current or previous billing period.
Parameters:
-
arn(CustomLineItemArn) –The ARN of the custom line item to be updated.
-
name(Optional[CustomLineItemName], default:None) –The new name for the custom line item.
-
description(Optional[CustomLineItemDescription], default:None) –The new line item description of the custom line item.
-
charge_details(Optional[UpdateCustomLineItemChargeDetails], default:None) –A
ListCustomLineItemChargeDetailscontaining the new charge details for the custom line item.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–You can cause an inconsistent state by updating or deleting a resource.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–The request references a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input doesn't match with the constraints specified by Amazon Web Services services.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_billingconductor/_services/billingconductor.py
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 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 | |