Skip to content

Greengrass module#

Index > Greengrass

Auto-generated documentation for Greengrass type annotations stubs module types-aiobotocore-greengrass.

How to install#

From PyPI with pip#

Install types-aiobotocore for Greengrass service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[greengrass]'


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

GreengrassClient#

Type annotations and code completion for session.create_client("greengrass") as GreengrassClient boto3 documentation

# GreengrassClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_greengrass.client import GreengrassClient


session = get_session()
async with session.create_client("greengrass") as client:
    client: GreengrassClient

Paginators#

Type annotations and code completion for paginators from session.create_client("greengrass").get_paginator("...").

# ListBulkDeploymentDetailedReportsPaginator usage example

from types_aiobotocore_greengrass.paginator import ListBulkDeploymentDetailedReportsPaginator

def get_list_bulk_deployment_detailed_reports_paginator() -> ListBulkDeploymentDetailedReportsPaginator:
    return client.get_paginator("list_bulk_deployment_detailed_reports"))

Literals#

Type annotations for literals used in methods and schema.

# BulkDeploymentStatusType usage example

from types_aiobotocore_greengrass.literals import BulkDeploymentStatusType

def get_value() -> BulkDeploymentStatusType:
    return "Completed"

Type definitions#

Type annotations for type definitions used in methods and schema.