Skip to content

DeviceFarm module

Index > DeviceFarm

Auto-generated documentation for DeviceFarm type annotations stubs module types-aiobotocore-devicefarm.

How to install

From PyPI with pip

Install types-aioboto3 for DeviceFarm service.

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


# 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[devicefarm]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

DeviceFarmClient

Type annotations and code completion for session.client("devicefarm") as DeviceFarmClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_devicefarm.client import DeviceFarmClient


session = Session()
async with session.client("devicefarm") as client:
    client: DeviceFarmClient

Paginators

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

Usage example
from types_aiobotocore_devicefarm.paginator import GetOfferingStatusPaginator

def get_get_offering_status_paginator() -> GetOfferingStatusPaginator:
    return client.get_paginator("get_offering_status"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_devicefarm.literals import ArtifactCategoryType

def get_value() -> ArtifactCategoryType:
    return "FILE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_devicefarm.type_defs import TrialMinutesTypeDef

def get_value() -> TrialMinutesTypeDef:
    return {
        "total": ...,
    }