PartnerCentralBenefits module#
Index > PartnerCentralBenefits
Auto-generated documentation for PartnerCentralBenefits type annotations stubs module types-aiobotocore-partnercentral-benefits.
How to install#
Generate locally (recommended)#
You can generate type annotations for aiobotocore package locally with mypy-boto3-builder.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aiobotocore==3.3.0' mypy-boto3-builder - Select
aiobotocoreAWS SDK. - Add
PartnerCentralBenefitsservice. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aiobotocore for PartnerCentralBenefits service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[partnercentral-benefits]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[partnercentral-benefits]'
# standalone installation
python -m pip install types-aiobotocore-partnercentral-benefits
How to uninstall#
python -m pip uninstall -y types-aiobotocore-partnercentral-benefits
Usage#
Code samples can be found in Examples.
PartnerCentralBenefitsClient#
Type annotations and code completion for session.create_client("partnercentral-benefits") as PartnerCentralBenefitsClient
boto3 documentation
# PartnerCentralBenefitsClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_partnercentral_benefits.client import PartnerCentralBenefitsClient
session = get_session()
async with session.create_client("partnercentral-benefits") as client:
client: PartnerCentralBenefitsClient
Paginators#
Type annotations and code completion for
paginators
from session.create_client("partnercentral-benefits").get_paginator("...").
# ListBenefitAllocationsPaginator usage example
from types_aiobotocore_partnercentral_benefits.paginator import ListBenefitAllocationsPaginator
def get_list_benefit_allocations_paginator() -> ListBenefitAllocationsPaginator:
return client.get_paginator("list_benefit_allocations"))
Literals#
Type annotations for literals used in methods and schema.
# BenefitAllocationStatusType usage example
from types_aiobotocore_partnercentral_benefits.literals import BenefitAllocationStatusType
def get_value() -> BenefitAllocationStatusType:
return "ACTIVE"
- BenefitAllocationStatusType
- BenefitApplicationStatusType
- BenefitStatusType
- CurrencyCodeType
- FileTypeType
- FulfillmentTypeType
- ListBenefitAllocationsPaginatorName
- ListBenefitApplicationsPaginatorName
- ListBenefitsPaginatorName
- ResourceTypeType
- PartnerCentralBenefitsServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AccessDetailsTypeDef
- AmendmentTypeDef
- AssociateBenefitApplicationResourceInputTypeDef
- ResponseMetadataTypeDef
- AssociatedResourceTypeDef
- BenefitAllocationSummaryTypeDef
- BenefitApplicationSummaryTypeDef
- BenefitSummaryTypeDef
- CancelBenefitApplicationInputTypeDef
- MonetaryValueTypeDef
- ContactTypeDef
- FileInputTypeDef
- TagTypeDef
- DisassociateBenefitApplicationResourceInputTypeDef
- FileDetailTypeDef
- GetBenefitAllocationInputTypeDef
- GetBenefitApplicationInputTypeDef
- GetBenefitInputTypeDef
- PaginatorConfigTypeDef
- ListBenefitAllocationsInputTypeDef
- ListBenefitsInputTypeDef
- ListTagsForResourceRequestTypeDef
- RecallBenefitApplicationInputTypeDef
- SubmitBenefitApplicationInputTypeDef
- UntagResourceRequestTypeDef
- AmendBenefitApplicationInputTypeDef
- AssociateBenefitApplicationResourceOutputTypeDef
- CreateBenefitApplicationOutputTypeDef
- DisassociateBenefitApplicationResourceOutputTypeDef
- GetBenefitOutputTypeDef
- UpdateBenefitApplicationOutputTypeDef
- ListBenefitApplicationsInputTypeDef
- ListBenefitAllocationsOutputTypeDef
- ListBenefitApplicationsOutputTypeDef
- ListBenefitsOutputTypeDef
- CreditCodeTypeDef
- IssuanceDetailTypeDef
- UpdateBenefitApplicationInputTypeDef
- CreateBenefitApplicationInputTypeDef
- ListTagsForResourceResponseTypeDef
- TagResourceRequestTypeDef
- GetBenefitApplicationOutputTypeDef
- ListBenefitAllocationsInputPaginateTypeDef
- ListBenefitApplicationsInputPaginateTypeDef
- ListBenefitsInputPaginateTypeDef
- CreditDetailsTypeDef
- ConsumableDetailsTypeDef
- DisbursementDetailsTypeDef
- FulfillmentDetailsTypeDef
- GetBenefitAllocationOutputTypeDef