Skip to content

ManagedGrafana module

Index > ManagedGrafana

Auto-generated documentation for ManagedGrafana type annotations stubs module types-aiobotocore-grafana.

How to install

From PyPI with pip

Install types-aioboto3 for ManagedGrafana service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

ManagedGrafanaClient

Type annotations and code completion for session.client("grafana") as ManagedGrafanaClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_grafana.client import ManagedGrafanaClient


session = Session()
async with session.client("grafana") as client:
    client: ManagedGrafanaClient

Paginators

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

Usage example
from types_aiobotocore_grafana.paginator import ListPermissionsPaginator

def get_list_permissions_paginator() -> ListPermissionsPaginator:
    return client.get_paginator("list_permissions"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_grafana.literals import AccountAccessTypeType

def get_value() -> AccountAccessTypeType:
    return "CURRENT_ACCOUNT"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_grafana.type_defs import AssertionAttributesTypeDef

def get_value() -> AssertionAttributesTypeDef:
    return {
        "email": ...,
    }