mypy-boto3-redshift-data 1.40.0


pip install mypy-boto3-redshift-data

  Latest version

Released: Jul 31, 2025


Meta
Author: Vlad Emelianov
Requires Python: >=3.8

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

Environment
  • Console

License
  • OSI Approved :: MIT License

Natural Language
  • English

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: 3 :: Only
  • Python :: Implementation :: CPython

Typing
  • Stubs Only

mypy-boto3-redshift-data

PyPI - mypy-boto3-redshift-data PyPI - Python Version Docs PyPI - Downloads

boto3.typed

Type annotations for boto3 RedshiftDataAPIService 1.40.0 compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.

Generated with mypy-boto3-builder 8.11.0.

More information can be found on boto3-stubs page and in mypy-boto3-redshift-data docs.

See how it helps you find and fix potential bugs:

types-boto3 demo

How to install

Generate locally (recommended)

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

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

VSCode extension

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

Click Modify and select boto3 common and RedshiftDataAPIService.

From PyPI with pip

Install boto3-stubs for RedshiftDataAPIService service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[redshift-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[redshift-data]'

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

How to uninstall

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

Usage

VSCode

python -m pip install 'boto3-stubs[redshift-data]'

Both type checking and code completion should now work. No explicit type annotations required, write your boto3 code as usual.

PyCharm

⚠️ Due to slow PyCharm performance on Literal overloads (issue PY-40997), it is recommended to use boto3-stubs-lite until the issue is resolved.

⚠️ If you experience slow performance and high CPU usage, try to disable PyCharm type checker and use mypy or pyright instead.

⚠️ To continue using PyCharm type checker, you can try to replace boto3-stubs with boto3-stubs-lite:

pip uninstall boto3-stubs
pip install boto3-stubs-lite

Install boto3-stubs[redshift-data] in your environment:

python -m pip install 'boto3-stubs[redshift-data]'

Both type checking and code completion should now work.

Emacs

  • Install boto3-stubs with services you use in your environment:
python -m pip install 'boto3-stubs[redshift-data]'
(use-package lsp-pyright
  :ensure t
  :hook (python-mode . (lambda ()
                          (require 'lsp-pyright)
                          (lsp)))  ; or lsp-deferred
  :init (when (executable-find "python3")
          (setq lsp-pyright-python-executable-cmd "python3"))
  )
  • Make sure emacs uses the environment where you have installed boto3-stubs

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Sublime Text

  • Install boto3-stubs[redshift-data] with services you use in your environment:
python -m pip install 'boto3-stubs[redshift-data]'

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Other IDEs

Not tested, but as long as your IDE supports mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto3-stubs[redshift-data] in your environment:
python -m pip install 'boto3-stubs[redshift-data]'

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: npm i -g pyright
  • Install boto3-stubs[redshift-data] in your environment:
python -m pip install 'boto3-stubs[redshift-data]'

Optionally, you can install boto3-stubs to typings directory.

Type checking should now work. No explicit type annotations required, write your boto3 code as usual.

Pylint compatibility

It is totally safe to use TYPE_CHECKING flag in order to avoid mypy-boto3-redshift-data dependency in production. However, there is an issue in pylint that it complains about undefined variables. To fix it, set all types to object in non-TYPE_CHECKING mode.

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
    from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
    from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
else:
    EC2Client = object
    EC2ServiceResource = object
    BundleTaskCompleteWaiter = object
    DescribeVolumesPaginator = object

...

Explicit type annotations

Client annotations

RedshiftDataAPIServiceClient provides annotations for boto3.client("redshift-data").

from boto3.session import Session

from mypy_boto3_redshift_data import RedshiftDataAPIServiceClient

client: RedshiftDataAPIServiceClient = Session().client("redshift-data")

# now client usage is checked by mypy and IDE should provide code completion

Paginators annotations

mypy_boto3_redshift_data.paginator module contains type annotations for all paginators.

from boto3.session import Session

from mypy_boto3_redshift_data import RedshiftDataAPIServiceClient
from mypy_boto3_redshift_data.paginator import (
    DescribeTablePaginator,
    GetStatementResultPaginator,
    GetStatementResultV2Paginator,
    ListDatabasesPaginator,
    ListSchemasPaginator,
    ListStatementsPaginator,
    ListTablesPaginator,
)

client: RedshiftDataAPIServiceClient = Session().client("redshift-data")

# Explicit type annotations are optional here
# Types should be correctly discovered by mypy and IDEs
describe_table_paginator: DescribeTablePaginator = client.get_paginator("describe_table")
get_statement_result_paginator: GetStatementResultPaginator = client.get_paginator(
    "get_statement_result"
)
get_statement_result_v2_paginator: GetStatementResultV2Paginator = client.get_paginator(
    "get_statement_result_v2"
)
list_databases_paginator: ListDatabasesPaginator = client.get_paginator("list_databases")
list_schemas_paginator: ListSchemasPaginator = client.get_paginator("list_schemas")
list_statements_paginator: ListStatementsPaginator = client.get_paginator("list_statements")
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")

Literals

mypy_boto3_redshift_data.literals module contains literals extracted from shapes that can be used in user code for type checking.

Full list of RedshiftDataAPIService Literals can be found in docs.

from mypy_boto3_redshift_data.literals import DescribeTablePaginatorName


def check_value(value: DescribeTablePaginatorName) -> bool: ...

Type definitions

mypy_boto3_redshift_data.type_defs module contains structures and shapes assembled to typed dictionaries and unions for additional type checking.

Full list of RedshiftDataAPIService TypeDefs can be found in docs.

# TypedDict usage example
from mypy_boto3_redshift_data.type_defs import BatchExecuteStatementInputTypeDef


def get_value() -> BatchExecuteStatementInputTypeDef:
    return {
        "Sqls": ...,
    }

How it works

Fully automated mypy-boto3-builder carefully generates type annotations for each service, patiently waiting for boto3 updates. It delivers drop-in type annotations for you and makes sure that:

  • All available boto3 services are covered.
  • Each public class and method of every boto3 service gets valid type annotations extracted from botocore schemas.
  • Type annotations include up-to-date documentation.
  • Link to documentation is provided for every method.
  • Code is processed by ruff for readability.

What's new

Implemented features

  • Fully type annotated boto3, botocore, aiobotocore and aioboto3 libraries
  • mypy, pyright, VSCode, PyCharm, Sublime Text and Emacs compatibility
  • Client, ServiceResource, Resource, Waiter Paginator type annotations for each service
  • Generated TypeDefs for each service
  • Generated Literals for each service
  • Auto discovery of types for boto3.client and boto3.resource calls
  • Auto discovery of types for session.client and session.resource calls
  • Auto discovery of types for client.get_waiter and client.get_paginator calls
  • Auto discovery of types for ServiceResource and Resource collections
  • Auto discovery of types for aiobotocore.Session.create_client calls

Latest changes

Builder changelog can be found in Releases.

Versioning

mypy-boto3-redshift-data version is the same as related boto3 version and follows Python Packaging version specifiers.

Thank you

Documentation

All services type annotations can be found in boto3 docs

Support and contributing

This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.

1.40.0 Jul 31, 2025
1.39.0 Jun 30, 2025
1.38.0 Apr 22, 2025
1.37.8 Mar 06, 2025
1.37.0 Feb 24, 2025
1.36.0 Jan 15, 2025
1.35.93 Jan 07, 2025
1.35.51 Oct 29, 2024
1.35.10 Aug 30, 2024
1.35.0 Aug 16, 2024
1.34.0 Dec 13, 2023
1.33.0 Nov 28, 2023
1.29.0 Nov 14, 2023
1.28.36 Aug 28, 2023
1.28.16 Aug 01, 2023
1.28.15.post1 Jul 29, 2023
1.28.15 Jul 28, 2023
1.28.12 Jul 27, 2023
1.28.0 Jul 06, 2023
1.27.0 Jul 03, 2023
1.26.109 Apr 07, 2023
1.26.88 Mar 09, 2023
1.26.30 Dec 14, 2022
1.26.0.post1 Nov 01, 2022
1.26.0 Nov 01, 2022
1.25.0 Oct 25, 2022
1.24.36.post1 Jul 23, 2022
1.24.11.post3 Jun 17, 2022
1.24.11.post2 Jun 17, 2022
1.24.11.post1 Jun 17, 2022
1.24.11 Jun 17, 2022
1.24.0 May 31, 2022
1.23.0.post1 May 13, 2022
1.23.0 May 13, 2022
1.22.8 May 06, 2022
1.22.0.post1 Apr 25, 2022
1.22.0 Apr 25, 2022
1.21.34 Apr 05, 2022
1.21.31 Apr 01, 2022
1.21.30 Mar 31, 2022
1.21.27 Mar 27, 2022
1.21.23.post1 Mar 23, 2022
1.21.23 Mar 22, 2022
1.21.0 Feb 14, 2022
1.20.49 Feb 07, 2022
1.20.46.post1 Jan 29, 2022
1.20.35.post1 Jan 13, 2022
1.20.17 Dec 01, 2021
1.20.9 Nov 18, 2021
1.20.8 Nov 17, 2021
1.20.1 Nov 09, 2021
1.20.0 Nov 08, 2021
1.19.12.post1 Mar 31, 2022
1.19.12 Nov 05, 2021
1.19.11 Nov 05, 2021
1.19.10 Nov 04, 2021
1.19.9 Nov 02, 2021
1.19.8 Nov 01, 2021
1.19.7 Oct 29, 2021
1.19.6 Oct 28, 2021
1.19.5 Oct 27, 2021
1.19.4 Oct 26, 2021
1.19.3 Oct 25, 2021
1.19.2 Oct 22, 2021
1.19.1.post1 Oct 22, 2021
1.19.1 Oct 21, 2021
1.19.0 Oct 20, 2021
1.18.65 Oct 19, 2021
1.18.64 Oct 18, 2021
1.18.63 Oct 15, 2021
1.18.62 Oct 14, 2021
1.18.61 Oct 13, 2021
1.18.60 Oct 12, 2021
1.18.59 Oct 11, 2021
1.18.58 Oct 08, 2021
1.18.57 Oct 07, 2021
1.18.56 Oct 06, 2021
1.18.55 Oct 05, 2021
1.18.54 Oct 04, 2021
1.18.53 Oct 01, 2021
1.18.52 Sep 30, 2021
1.18.51 Sep 29, 2021
1.18.50 Sep 28, 2021
1.18.49 Sep 27, 2021
1.18.48 Sep 24, 2021
1.18.47 Sep 23, 2021
1.18.46 Sep 22, 2021
1.18.45 Sep 21, 2021
1.18.44 Sep 17, 2021
1.18.43 Sep 16, 2021
1.18.42 Sep 14, 2021
1.18.41 Sep 13, 2021
1.18.40 Sep 10, 2021
1.18.39 Sep 09, 2021
1.18.38 Sep 08, 2021
1.18.37 Sep 07, 2021
1.18.36 Sep 03, 2021
1.18.35 Sep 02, 2021
1.18.34 Sep 01, 2021
1.18.33 Aug 31, 2021
1.18.32 Aug 30, 2021
1.18.31 Aug 27, 2021
1.18.30 Aug 26, 2021
1.18.29 Aug 25, 2021
1.18.28 Aug 24, 2021
1.18.27 Aug 23, 2021
1.18.26 Aug 20, 2021
1.18.25 Aug 19, 2021
1.18.24 Aug 18, 2021
1.18.23 Aug 17, 2021
1.18.22 Aug 16, 2021
1.18.21 Aug 13, 2021
1.18.20 Aug 12, 2021
1.18.19 Aug 11, 2021
1.18.18 Aug 10, 2021
1.18.17 Aug 09, 2021
1.18.16 Aug 06, 2021
1.18.15 Aug 05, 2021
1.18.14 Aug 04, 2021
1.18.13 Aug 03, 2021
1.18.12 Aug 02, 2021
1.18.11 Jul 30, 2021
1.18.10 Jul 29, 2021
1.18.9 Jul 28, 2021
1.18.8 Jul 27, 2021
1.18.7 Jul 26, 2021
1.18.6 Jul 23, 2021
1.18.5 Jul 22, 2021
1.18.4 Jul 21, 2021
1.18.3 Jul 20, 2021
1.18.2 Jul 19, 2021
1.18.1 Jul 16, 2021
1.18.0 Jul 15, 2021
1.17.112 Jul 14, 2021
1.17.111 Jul 13, 2021
1.17.110 Jul 12, 2021
1.17.109 Jul 09, 2021
1.17.108 Jul 08, 2021
1.17.107 Jul 07, 2021
1.17.106 Jul 06, 2021
1.17.105 Jul 02, 2021
1.17.104 Jul 01, 2021
1.17.103.post1 Jul 01, 2021
1.17.103 Jun 30, 2021
1.17.102.post1 Jun 29, 2021
1.17.102 Jun 28, 2021
1.17.101.post2 Jun 29, 2021
1.17.101.post1 Jun 28, 2021
1.17.101 Jun 25, 2021
1.17.100 Jun 24, 2021
1.17.99 Jun 23, 2021
1.17.98 Jun 21, 2021
1.17.97 Jun 17, 2021
1.17.96 Jun 16, 2021
1.17.95 Jun 15, 2021
1.17.94 Jun 14, 2021
1.17.93 Jun 11, 2021
1.17.92.post1 Jun 11, 2021
1.17.92 Jun 10, 2021
1.17.91 Jun 09, 2021
1.17.90.post1 Jun 09, 2021
1.17.90 Jun 08, 2021
1.17.89 Jun 07, 2021
1.17.88.post1 Jun 07, 2021
1.17.88 Jun 04, 2021
1.17.87 Jun 03, 2021
1.17.86 Jun 02, 2021
1.17.85 Jun 01, 2021
1.17.84 May 28, 2021
1.17.83 May 27, 2021
1.17.82 May 27, 2021
1.17.81 May 26, 2021
1.17.80 May 25, 2021
1.17.79 May 24, 2021
1.17.78 May 21, 2021
1.17.77 May 20, 2021
1.17.76 May 19, 2021
1.17.75 May 18, 2021
1.17.74 May 17, 2021
1.17.73 May 14, 2021
1.17.72.post1 May 14, 2021
1.17.72 May 12, 2021
1.17.71.post1 May 12, 2021
1.17.71 May 11, 2021
1.17.70.post2 May 10, 2021
1.17.70.post1 May 10, 2021
1.17.70 May 10, 2021
1.17.69.0.post1 May 11, 2021
1.17.69.0 May 07, 2021
1.17.68.0 May 06, 2021
1.17.67.0 May 05, 2021
1.17.66.0 May 05, 2021
1.17.65.0 May 04, 2021
1.17.64.2 May 04, 2021
1.17.64.1 May 03, 2021
1.17.63.1 May 04, 2021
1.17.63.0 May 04, 2021
1.17.62.1 May 04, 2021
1.17.62.0 Apr 30, 2021
1.17.61.1 May 04, 2021
1.17.61.0 Apr 29, 2021
1.17.60.1 Apr 29, 2021
1.17.60.0 Apr 28, 2021
1.17.59.0 Apr 27, 2021
1.17.58.0 Apr 27, 2021
1.17.57.0 Apr 23, 2021
1.17.56.0 Apr 22, 2021
1.17.55.0 Apr 21, 2021
1.17.54.0 Apr 19, 2021
1.17.53.1 Apr 16, 2021
1.17.53.0 Apr 15, 2021
1.17.52.0 Apr 15, 2021
1.17.51.0 Apr 13, 2021
1.17.50.1 Apr 13, 2021
1.17.50.0 Apr 12, 2021
1.17.49.0 Apr 09, 2021
1.17.48.0 Apr 08, 2021
1.17.47.0 Apr 07, 2021
1.17.46.0 Apr 06, 2021
1.17.45.0 Apr 05, 2021
1.17.44.0 Apr 02, 2021
1.17.43.0 Apr 01, 2021
1.17.42.0 Mar 31, 2021
1.17.41.0 Mar 30, 2021
1.17.40.0 Mar 29, 2021
1.17.39.0 Mar 26, 2021
1.17.38.0 Mar 26, 2021
1.17.37.0 Mar 25, 2021
1.17.36.0 Mar 24, 2021
1.17.35.0 Mar 23, 2021
1.17.34.0 Mar 22, 2021
1.17.33.0 Mar 19, 2021
1.17.32.0 Mar 19, 2021
1.17.31.0 Mar 18, 2021
1.17.30.0 Mar 17, 2021
1.17.29.0 Mar 16, 2021
1.17.28.0 Mar 15, 2021
1.17.27.0 Mar 12, 2021
1.17.26.0 Mar 11, 2021
1.17.25.0 Mar 11, 2021
1.17.24.0 Mar 09, 2021
1.17.23.0 Mar 08, 2021
1.17.22.0 Mar 06, 2021
1.17.21.0 Mar 04, 2021
1.17.20.0 Mar 03, 2021
1.17.19.0 Mar 02, 2021
1.17.18.0 Mar 01, 2021
1.17.17.0 Feb 26, 2021
1.17.16.0 Feb 25, 2021
1.17.15.0 Feb 24, 2021
1.17.14.0 Feb 23, 2021
1.17.13.0 Feb 22, 2021
1.17.12.0 Feb 19, 2021
1.17.11.0 Feb 18, 2021
1.17.10.0 Feb 17, 2021
1.17.9.0 Feb 16, 2021
1.17.8.0 Feb 15, 2021
1.17.7.0 Feb 12, 2021
1.17.6.0 Feb 11, 2021
1.17.5.0 Feb 09, 2021
1.17.4.0 Feb 08, 2021
1.17.3.0 Feb 05, 2021
1.17.2.1 Feb 05, 2021
1.17.2.0 Feb 05, 2021
1.17.1.0 Feb 03, 2021
1.17.0.0 Feb 02, 2021
1.16.63.0 Jan 29, 2021
1.16.62.0 Jan 28, 2021
1.16.61.0 Jan 27, 2021
1.16.60.0 Jan 26, 2021
1.16.59.0 Jan 22, 2021
1.16.58.0 Jan 21, 2021
1.16.57.0 Jan 19, 2021
1.16.56.0 Jan 15, 2021
1.16.55.0 Jan 14, 2021
1.16.54.0 Jan 13, 2021
1.16.53.0 Jan 12, 2021
1.16.52.0 Jan 11, 2021
1.16.51.0 Jan 07, 2021
1.16.50.0 Jan 06, 2021
1.16.49.0 Jan 05, 2021
1.16.48.0 Jan 04, 2021
1.16.47.0 Dec 31, 2020
1.16.46.0 Dec 30, 2020
1.16.45.0 Dec 29, 2020
1.16.44.0 Dec 28, 2020
1.16.43.0 Dec 23, 2020
1.16.42.0 Dec 22, 2020
1.16.41.0 Dec 21, 2020
1.16.40.0 Dec 18, 2020
1.16.39.1 Dec 18, 2020
1.16.39.0 Dec 17, 2020
1.16.38.0 Dec 17, 2020
1.16.37.0 Dec 15, 2020
1.16.36.0 Dec 14, 2020
1.16.35.0 Dec 11, 2020
1.16.34.0 Dec 10, 2020
1.16.33.0 Dec 09, 2020
1.16.32.0 Dec 09, 2020
1.16.31.1 Dec 09, 2020
1.16.31.0 Dec 08, 2020
1.16.30.0 Dec 04, 2020
1.16.29.0 Dec 03, 2020
1.16.28.1 Dec 03, 2020
1.16.28.0 Dec 02, 2020
1.16.27.0 Dec 01, 2020
1.16.26.1 Dec 01, 2020
1.16.26.0 Dec 01, 2020
1.16.25.0 Nov 24, 2020
1.16.24.0 Nov 23, 2020
1.16.23.1 Nov 23, 2020
1.16.23.0 Nov 20, 2020
1.16.22.0 Nov 19, 2020
1.16.21.0 Nov 18, 2020
1.16.20.0 Nov 17, 2020
1.16.19.0 Nov 16, 2020
1.16.18.0 Nov 13, 2020
1.16.17.0 Nov 12, 2020
1.16.16.0 Nov 11, 2020
1.16.15.0 Nov 10, 2020
1.16.14.0 Nov 09, 2020
1.16.13.0 Nov 06, 2020
1.16.12.0 Nov 05, 2020
1.16.11.0 Nov 04, 2020
1.16.10.0 Nov 02, 2020
1.16.9.0 Oct 30, 2020
1.16.8.0 Oct 29, 2020
1.16.7.0 Oct 28, 2020
1.16.6.0 Oct 27, 2020
1.16.5.1 Oct 27, 2020
1.16.5.0 Oct 26, 2020
1.16.4.0 Oct 23, 2020
1.16.3.0 Oct 22, 2020
1.16.2.0 Oct 21, 2020
1.16.1.0 Oct 20, 2020
1.16.0.0 Oct 19, 2020
1.15.18.0 Oct 16, 2020
1.15.17.0 Oct 15, 2020
1.15.16.0 Oct 09, 2020
1.15.15.0 Oct 08, 2020
1.15.14.0 Oct 07, 2020
1.15.13.1 Oct 07, 2020
1.15.13.0 Oct 06, 2020
1.15.12.1 Oct 06, 2020
1.15.12.0 Oct 05, 2020
1.15.11.0 Oct 02, 2020
1.15.10.0 Oct 01, 2020
1.15.9.0 Sep 30, 2020
1.15.8.0 Sep 29, 2020
1.15.7.0 Sep 29, 2020
1.15.6.0 Sep 25, 2020
1.15.5.0 Sep 24, 2020
1.15.4.0 Sep 23, 2020
1.15.3.0 Sep 22, 2020
1.15.2.0 Sep 22, 2020
1.15.1.0 Sep 18, 2020
1.15.0.0 Sep 17, 2020
1.14.63.0 Sep 16, 2020
1.14.62.0 Sep 15, 2020
1.14.61.0 Sep 15, 2020
1.14.60.0 Sep 11, 2020
1.14.59.1 Sep 11, 2020
Extras: None
Dependencies:
typing-extensions