Skip to content

mgn module#

Index > mgn

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

How to install#

From PyPI with pip#

Install types-aioboto3 for mgn service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

mgnClient#

Type annotations and code completion for session.client("mgn") as mgnClient boto3 documentation

# mgnClient usage example

from aioboto3.session import Session

from types_aiobotocore_mgn.client import mgnClient


session = Session()
async with session.client("mgn") as client:
    client: mgnClient

Paginators#

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

# DescribeJobLogItemsPaginator usage example

from types_aiobotocore_mgn.paginator import DescribeJobLogItemsPaginator

def get_describe_job_log_items_paginator() -> DescribeJobLogItemsPaginator:
    return client.get_paginator("describe_job_log_items"))

Literals#

Type annotations for literals used in methods and schema.

# ActionCategoryType usage example

from types_aiobotocore_mgn.literals import ActionCategoryType

def get_value() -> ActionCategoryType:
    return "BACKUP"

Type definitions#

Type annotations for type definitions used in methods and schema.