PartnerCentralRevenueMeasurementAPI module#
Index > PartnerCentralRevenueMeasurementAPI
Auto-generated documentation for PartnerCentralRevenueMeasurementAPI type annotations stubs module mypy-boto3-partnercentral-revenue-measurement.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3 package locally with mypy-boto3-builder.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.43.42' mypy-boto3-builder - Select
boto3-stubsAWS SDK. - Add
PartnerCentralRevenueMeasurementAPIservice. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start command.
Click Modify and select boto3 common and PartnerCentralRevenueMeasurementAPI.
From PyPI with pip#
Install boto3-stubs for PartnerCentralRevenueMeasurementAPI service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[partnercentral-revenue-measurement]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[partnercentral-revenue-measurement]'
# standalone installation
python -m pip install mypy-boto3-partnercentral-revenue-measurement
How to uninstall#
python -m pip uninstall -y mypy-boto3-partnercentral-revenue-measurement
Usage#
Code samples can be found in Examples.
PartnerCentralRevenueMeasurementAPIClient#
Type annotations and code completion for boto3.client("partnercentral-revenue-measurement") as PartnerCentralRevenueMeasurementAPIClient
boto3 documentation
# PartnerCentralRevenueMeasurementAPIClient usage example
from boto3.session import Session
from mypy_boto3_partnercentral_revenue_measurement.client import PartnerCentralRevenueMeasurementAPIClient
def get_client() -> PartnerCentralRevenueMeasurementAPIClient:
return Session().client("partnercentral-revenue-measurement")
Paginators#
Type annotations and code completion for paginators
from boto3.client("partnercentral-revenue-measurement").get_paginator("...").
# ListMarketplaceRevenueShareAllocationsPaginator usage example
from boto3.session import Session
from mypy_boto3_partnercentral_revenue_measurement.paginator import ListMarketplaceRevenueShareAllocationsPaginator
def get_list_marketplace_revenue_share_allocations_paginator() -> ListMarketplaceRevenueShareAllocationsPaginator:
return Session().client("partnercentral-revenue-measurement").get_paginator("list_marketplace_revenue_share_allocations"))
- ListMarketplaceRevenueShareAllocationsPaginator
- ListMarketplaceRevenueSharesPaginator
- ListRevenueAttributionAllocationsPaginator
- ListRevenueAttributionsPaginator
Literals#
Type annotations for literals used in methods and schema.
# AllocationStatusType usage example
from mypy_boto3_partnercentral_revenue_measurement.literals import AllocationStatusType
def get_value() -> AllocationStatusType:
return "ACTIVE"
- AllocationStatusType
- AttributionSortByType
- CatalogNameType
- EntityTypeType
- ListMarketplaceRevenueShareAllocationsPaginatorName
- ListMarketplaceRevenueSharesPaginatorName
- ListRevenueAttributionAllocationsPaginatorName
- ListRevenueAttributionsPaginatorName
- MarketplaceRevenueShareAllocationSortFieldType
- MarketplaceRevenueShareSortByType
- RevenueAttributionAllocationActionType
- RevenueAttributionAllocationErrorCodeType
- RevenueAttributionAllocationSortFieldType
- RevenueAttributionAllocationTaskStatusType
- SortOrderType
- TenancyModelType
- PartnerCentralRevenueMeasurementAPIServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- MarketplaceProductSummaryTypeDef
- CreateMarketplaceRevenueShareAllocationInputTypeDef
- ResponseMetadataTypeDef
- TagTypeDef
- GetMarketplaceRevenueShareAllocationInputTypeDef
- GetMarketplaceRevenueShareInputTypeDef
- GetRevenueAttributionAllocationInputTypeDef
- GetRevenueAttributionAllocationsTaskInputTypeDef
- RevenueAttributionAllocationErrorDetailTypeDef
- GetRevenueAttributionInputTypeDef
- PaginatorConfigTypeDef
- ListMarketplaceRevenueShareAllocationsInputTypeDef
- MarketplaceRevenueShareAllocationSummaryTypeDef
- TimestampTypeDef
- MarketplaceRevenueShareSummaryTypeDef
- ListRevenueAttributionAllocationsInputTypeDef
- RevenueAttributionAllocationSummaryTypeDef
- ListTagsForResourceInputTypeDef
- RevenueShareAllocationTypeDef
- UntagResourceInputTypeDef
- UpdateMarketplaceRevenueShareAllocationInputTypeDef
- UpdateRevenueAttributionInputTypeDef
- AttributionSummaryTypeDef
- CreateMarketplaceRevenueShareAllocationOutputTypeDef
- CreateMarketplaceRevenueShareOutputTypeDef
- CreateRevenueAttributionOutputTypeDef
- EmptyResponseMetadataTypeDef
- GetMarketplaceRevenueShareAllocationOutputTypeDef
- GetMarketplaceRevenueShareOutputTypeDef
- GetRevenueAttributionAllocationOutputTypeDef
- GetRevenueAttributionOutputTypeDef
- StartRevenueAttributionAllocationsTaskOutputTypeDef
- UpdateMarketplaceRevenueShareAllocationOutputTypeDef
- UpdateRevenueAttributionOutputTypeDef
- CreateMarketplaceRevenueShareInputTypeDef
- CreateRevenueAttributionInputTypeDef
- ListTagsForResourceOutputTypeDef
- TagResourceInputTypeDef
- GetRevenueAttributionAllocationsTaskOutputTypeDef
- ListMarketplaceRevenueShareAllocationsInputPaginateTypeDef
- ListRevenueAttributionAllocationsInputPaginateTypeDef
- ListMarketplaceRevenueShareAllocationsOutputTypeDef
- ListMarketplaceRevenueSharesInputPaginateTypeDef
- ListMarketplaceRevenueSharesInputTypeDef
- ListRevenueAttributionsInputPaginateTypeDef
- ListRevenueAttributionsInputTypeDef
- ListMarketplaceRevenueSharesOutputTypeDef
- ListRevenueAttributionAllocationsOutputTypeDef
- StartRevenueAttributionAllocationsTaskInputTypeDef
- ListRevenueAttributionsOutputTypeDef