Skip to content

MediaStoreData module#

Index > MediaStoreData

Auto-generated documentation for MediaStoreData type annotations stubs module mypy-boto3-mediastore-data.

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 MediaStoreData.

From PyPI with pip#

Install boto3-stubs for MediaStoreData service.

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

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

# standalone installation
python -m pip install mypy-boto3-mediastore-data

How to uninstall#

python -m pip uninstall -y mypy-boto3-mediastore-data


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("mediastore-data") as MediaStoreDataClient boto3 documentation

# MediaStoreDataClient usage example

from boto3.session import Session

from mypy_boto3_mediastore_data.client import MediaStoreDataClient

def get_client() -> MediaStoreDataClient:
    return Session().client("mediastore-data")


Type annotations and code completion for paginators from boto3.client("mediastore-data").get_paginator("...").

# ListItemsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediastore_data.paginator import ListItemsPaginator

def get_list_items_paginator() -> ListItemsPaginator:
    return Session().client("mediastore-data").get_paginator("list_items"))


Type annotations for literals used in methods and schemas.

# ItemTypeType usage example

from mypy_boto3_mediastore_data.literals import ItemTypeType

def get_value() -> ItemTypeType:
    return "FOLDER"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# DeleteObjectRequestRequestTypeDef usage example

from mypy_boto3_mediastore_data.type_defs import DeleteObjectRequestRequestTypeDef

def get_value() -> DeleteObjectRequestRequestTypeDef:
    return {
        "Path": ...,