Skip to content

EMRServerless module

Index > EMRServerless

Auto-generated documentation for EMRServerless type annotations stubs module types-aiobotocore-emr-serverless.

How to install

From PyPI with pip

Install types-aioboto3 for EMRServerless service.

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


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


# standalone installation
python -m pip install types-aiobotocore-emr-serverless

How to uninstall

python -m pip uninstall -y types-aiobotocore-emr-serverless

Usage

Code samples can be found in Examples.

EMRServerlessClient

Type annotations and code completion for session.client("emr-serverless") as EMRServerlessClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_emr_serverless.client import EMRServerlessClient


session = Session()
async with session.client("emr-serverless") as client:
    client: EMRServerlessClient

Paginators

Type annotations and code completion for paginators from session.client("emr-serverless").get_paginator("...").

Usage example
from types_aiobotocore_emr_serverless.paginator import ListApplicationsPaginator

def get_list_applications_paginator() -> ListApplicationsPaginator:
    return client.get_paginator("list_applications"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_emr_serverless.literals import ApplicationStateType

def get_value() -> ApplicationStateType:
    return "CREATED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_emr_serverless.type_defs import ApplicationSummaryTypeDef

def get_value() -> ApplicationSummaryTypeDef:
    return {
        "id": ...,
        "arn": ...,
        "releaseLabel": ...,
        "type": ...,
        "state": ...,
        "createdAt": ...,
        "updatedAt": ...,
    }