Skip to content

WorkSpacesWeb module#

Index > WorkSpacesWeb

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

How to install#

You can generate type annotations for aiobotocore package locally with mypy-boto3-builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'aiobotocore==2.23.0' mypy-boto3-builder
  2. Select aiobotocore AWS SDK.
  3. Add WorkSpacesWeb service.
  4. Use provided commands to install generated packages.

From PyPI with pip#

Install types-aiobotocore for WorkSpacesWeb service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[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-aiobotocore-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.create_client("workspaces-web") as WorkSpacesWebClient boto3 documentation

# WorkSpacesWebClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_workspaces_web.client import WorkSpacesWebClient


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

Paginators#

Type annotations and code completion for paginators from session.create_client("workspaces-web").get_paginator("...").

# ListDataProtectionSettingsPaginator usage example

from types_aiobotocore_workspaces_web.paginator import ListDataProtectionSettingsPaginator

def get_list_data_protection_settings_paginator() -> ListDataProtectionSettingsPaginator:
    return client.get_paginator("list_data_protection_settings"))

Literals#

Type annotations for literals used in methods and schema.

# AuthenticationTypeType usage example

from types_aiobotocore_workspaces_web.literals import AuthenticationTypeType

def get_value() -> AuthenticationTypeType:
    return "IAM_Identity_Center"

Type definitions#

Type annotations for type definitions used in methods and schema.