Skip to content

GameSparks module#

Index > GameSparks

Auto-generated documentation for GameSparks type annotations stubs module mypy-boto3-gamesparks.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and GameSparks.

From PyPI with pip#

Install boto3-stubs for GameSparks service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[gamesparks]'

# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[gamesparks]'

# standalone installation
python -m pip install mypy-boto3-gamesparks

How to uninstall#

python -m pip uninstall -y mypy-boto3-gamesparks


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("gamesparks") as GameSparksClient boto3 documentation

# GameSparksClient usage example

from boto3.session import Session

from mypy_boto3_gamesparks.client import GameSparksClient

def get_client() -> GameSparksClient:
    return Session().client("gamesparks")


Type annotations and code completion for paginators from boto3.client("gamesparks").get_paginator("...").

# ListExtensionVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_gamesparks.paginator import ListExtensionVersionsPaginator

def get_list_extension_versions_paginator() -> ListExtensionVersionsPaginator:
    return Session().client("gamesparks").get_paginator("list_extension_versions"))


Type annotations for literals used in methods and schemas.

# DeploymentActionType usage example

from mypy_boto3_gamesparks.literals import DeploymentActionType

def get_value() -> DeploymentActionType:
    return "DEPLOY"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# ConnectionTypeDef usage example

from mypy_boto3_gamesparks.type_defs import ConnectionTypeDef

def get_value() -> ConnectionTypeDef:
    return {
        "Created": ...,