Skip to content

GameLift module#

Index > GameLift

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

How to install#

From PyPI with pip#

Install types-aiobotocore for GameLift service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

GameLiftClient#

Type annotations and code completion for session.create_client("gamelift") as GameLiftClient boto3 documentation

# GameLiftClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_gamelift.client import GameLiftClient


session = get_session()
async with session.create_client("gamelift") as client:
    client: GameLiftClient

Paginators#

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

# DescribeFleetAttributesPaginator usage example

from types_aiobotocore_gamelift.paginator import DescribeFleetAttributesPaginator

def get_describe_fleet_attributes_paginator() -> DescribeFleetAttributesPaginator:
    return client.get_paginator("describe_fleet_attributes"))

Literals#

Type annotations for literals used in methods and schema.

# AcceptanceTypeType usage example

from types_aiobotocore_gamelift.literals import AcceptanceTypeType

def get_value() -> AcceptanceTypeType:
    return "ACCEPT"

Type definitions#

Type annotations for type definitions used in methods and schema.