MarketplaceEntitlementService module#
Index > MarketplaceEntitlementService
Auto-generated documentation for MarketplaceEntitlementService type annotations stubs module types-aiobotocore-marketplace-entitlement.
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==2.23.0' mypy-boto3-builder
- Select
aiobotocore
AWS SDK. - Add
MarketplaceEntitlementService
service. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aiobotocore
for MarketplaceEntitlementService
service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[marketplace-entitlement]'
# 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[marketplace-entitlement]'
# standalone installation
python -m pip install types-aiobotocore-marketplace-entitlement
How to uninstall#
python -m pip uninstall -y types-aiobotocore-marketplace-entitlement
Usage#
Code samples can be found in Examples.
MarketplaceEntitlementServiceClient#
Type annotations and code completion for session.create_client("marketplace-entitlement")
as MarketplaceEntitlementServiceClient
boto3 documentation
# MarketplaceEntitlementServiceClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_marketplace_entitlement.client import MarketplaceEntitlementServiceClient
session = get_session()
async with session.create_client("marketplace-entitlement") as client:
client: MarketplaceEntitlementServiceClient
Paginators#
Type annotations and code completion for
paginators
from session.create_client("marketplace-entitlement").get_paginator("...")
.
# GetEntitlementsPaginator usage example
from types_aiobotocore_marketplace_entitlement.paginator import GetEntitlementsPaginator
def get_get_entitlements_paginator() -> GetEntitlementsPaginator:
return client.get_paginator("get_entitlements"))
Literals#
Type annotations for literals used in methods and schema.
# GetEntitlementFilterNameType usage example
from types_aiobotocore_marketplace_entitlement.literals import GetEntitlementFilterNameType
def get_value() -> GetEntitlementFilterNameType:
return "CUSTOMER_AWS_ACCOUNT_ID"
- GetEntitlementFilterNameType
- GetEntitlementsPaginatorName
- MarketplaceEntitlementServiceServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.