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,
) -> 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.
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
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 | |