update_revenue_attribution
async
¶
update_revenue_attribution(
catalog: CatalogName,
identifier: RevenueAttributionIdentifier,
revision: RevisionToken,
*,
config_overrides: Optional[
AsyncPartnerCentralRevenueMeasurementClientConfig
] = None,
client_token: Optional[ClientToken] = None,
description: Optional[str] = None,
context: Optional[RevenueAttributionContext] = None,
) -> UpdateRevenueAttributionOutput
Updates an existing revenue attribution record.
Parameters:
-
catalog(CatalogName) –The catalog that the revenue attribution belongs to.
-
identifier(RevenueAttributionIdentifier) –The unique identifier of the revenue attribution to update. Accepts a direct ID or ARN.
-
client_token(Optional[ClientToken], default:None) –A unique token to ensure idempotency of the update request.
-
description(Optional[str], default:None) –The updated description of the revenue attribution.
-
revision(RevisionToken) –The current revision of the revenue attribution. Must match the server's current value.
-
context(Optional[RevenueAttributionContext], default:None) –Full-replacement context map. Omit to leave the stored context unchanged; pass an empty map to clear it.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was throttled due to too many requests. Retry your request.
-
ValidationException–The request failed validation due to invalid input parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Example for UpdateRevenueAttribution
>>> await client.update_revenue_attribution(catalog='AWS', identifier='ra-0a1b2c3d4e5f6', revision='1')
Source code in docs_src/capo_partnercentral_revenue_measurement/_services/async_partner_central_revenue_measurement.py
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 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 | |