Skip to content

WorkSpacesWeb module

Index > WorkSpacesWeb

Auto-generated documentation for WorkSpacesWeb type annotations stubs module types-aiobotocore-workspaces-web.

How to install

From PyPI with pip

Install types-aioboto3 for WorkSpacesWeb service.

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


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


# standalone installation
python -m pip install types-aiobotocore-workspaces-web

How to uninstall

python -m pip uninstall -y types-aiobotocore-workspaces-web

Usage

Code samples can be found in Examples.

WorkSpacesWebClient

Type annotations and code completion for session.client("workspaces-web") as WorkSpacesWebClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_workspaces_web.client import WorkSpacesWebClient


session = Session()
async with session.client("workspaces-web") as client:
    client: WorkSpacesWebClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_workspaces_web.literals import BrowserTypeType

def get_value() -> BrowserTypeType:
    return "Chrome"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_workspaces_web.type_defs import AssociateBrowserSettingsRequestRequestTypeDef

def get_value() -> AssociateBrowserSettingsRequestRequestTypeDef:
    return {
        "browserSettingsArn": ...,
        "portalArn": ...,
    }