create_marketplace_revenue_share
¶
create_marketplace_revenue_share(
catalog: CatalogName,
*,
config_overrides: Optional[PartnerCentralRevenueMeasurementClientConfig] = None,
client_token: Optional[ClientToken] = None,
products: Optional[MarketplaceRevenueShareProductEntryList] = None,
tags: Optional[TagList] = None,
) -> CreateMarketplaceRevenueShareOutput
Creates a new marketplace revenue share resource in the specified catalog.
Parameters:
-
catalog(CatalogName) –The catalog in which to create the marketplace revenue share.
-
client_token(Optional[ClientToken], default:None) –A unique token to ensure idempotency of the create request.
-
products(Optional[MarketplaceRevenueShareProductEntryList], default:None) –The products in the marketplace revenue share, each with its typed account lists. 1 to 25 products.
-
tags(Optional[TagList], default:None) –Tags to associate with the marketplace revenue share upon creation.
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.
-
ServiceQuotaExceededException–The request would exceed a service quota limit.
-
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 CreateMarketplaceRevenueShare
>>> client.create_marketplace_revenue_share(catalog='AWS', products=[{'ProductId': 'prod-abc123def4567', 'Accounts': [{'AccountType': 'DEPLOYMENT', 'AccountIds': ['111122223333']}]}])
Source code in docs_src/capo_partnercentral_revenue_measurement/_services/partner_central_revenue_measurement.py
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | |