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

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("...").

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.

Usage example
from types_aiobotocore_personalize.literals import DomainType

def get_value() -> DomainType:
    return "ECOMMERCE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_personalize.type_defs import AlgorithmImageTypeDef

def get_value() -> AlgorithmImageTypeDef:
    return {
        "dockerURI": ...,
    }