Skip to content

GlobalAccelerator module

Index > GlobalAccelerator

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

How to install

From PyPI with pip

Install types-aioboto3 for GlobalAccelerator service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

GlobalAcceleratorClient

Type annotations and code completion for session.client("globalaccelerator") as GlobalAcceleratorClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_globalaccelerator.client import GlobalAcceleratorClient


session = Session()
async with session.client("globalaccelerator") as client:
    client: GlobalAcceleratorClient

Paginators

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

Usage example
from types_aiobotocore_globalaccelerator.paginator import ListAcceleratorsPaginator

def get_list_accelerators_paginator() -> ListAcceleratorsPaginator:
    return client.get_paginator("list_accelerators"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_globalaccelerator.literals import AcceleratorStatusType

def get_value() -> AcceleratorStatusType:
    return "DEPLOYED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_globalaccelerator.type_defs import AcceleratorAttributesTypeDef

def get_value() -> AcceleratorAttributesTypeDef:
    return {
        "FlowLogsEnabled": ...,
    }