Skip to content

Personalize module#

Index > Personalize

Auto-generated documentation for Personalize type annotations stubs module types-aiobotocore-personalize.

How to install#

From PyPI with pip#

Install types-aioboto3 for Personalize service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[personalize]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[personalize]'


# standalone installation
python -m pip install types-aiobotocore-personalize

How to uninstall#

python -m pip uninstall -y types-aiobotocore-personalize

Usage#

Code samples can be found in Examples.

PersonalizeClient#

Type annotations and code completion for session.client("personalize") as PersonalizeClient boto3 documentation

# PersonalizeClient usage example

from aioboto3.session import Session

from types_aiobotocore_personalize.client import PersonalizeClient


session = Session()
async with session.client("personalize") as client:
    client: PersonalizeClient

Paginators#

Type annotations and code completion for paginators from session.client("personalize").get_paginator("...").

# ListBatchInferenceJobsPaginator usage example

from types_aiobotocore_personalize.paginator import ListBatchInferenceJobsPaginator

def get_list_batch_inference_jobs_paginator() -> ListBatchInferenceJobsPaginator:
    return client.get_paginator("list_batch_inference_jobs"))

Literals#

Type annotations for literals used in methods and schema.

# BatchInferenceJobModeType usage example

from types_aiobotocore_personalize.literals import BatchInferenceJobModeType

def get_value() -> BatchInferenceJobModeType:
    return "BATCH_INFERENCE"

Type definitions#

Type annotations for type definitions used in methods and schema.