Skip to content

Private5G module#

Index > Private5G

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

How to install#

From PyPI with pip#

Install types-aiobotocore for Private5G service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

Private5GClient#

Type annotations and code completion for session.create_client("privatenetworks") as Private5GClient boto3 documentation

# Private5GClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_privatenetworks.client import Private5GClient


session = get_session()
async with session.create_client("privatenetworks") as client:
    client: Private5GClient

Paginators#

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

# ListDeviceIdentifiersPaginator usage example

from types_aiobotocore_privatenetworks.paginator import ListDeviceIdentifiersPaginator

def get_list_device_identifiers_paginator() -> ListDeviceIdentifiersPaginator:
    return client.get_paginator("list_device_identifiers"))

Literals#

Type annotations for literals used in methods and schema.

# AcknowledgmentStatusType usage example

from types_aiobotocore_privatenetworks.literals import AcknowledgmentStatusType

def get_value() -> AcknowledgmentStatusType:
    return "ACKNOWLEDGED"

Type definitions#

Type annotations for type definitions used in methods and schema.