{"id":28422,"library":"types-boto3-stepfunctions","title":"types-boto3-stepfunctions","description":"Type annotations for boto3 SFN (Step Functions) service, generated by mypy-boto3-builder. Provides static type checking support for boto3 Step Functions client, service model, and paginators. Version 1.43.0 corresponds to boto3 SFN 1.43.0 service. Package is auto-generated and released on a regular cadence alongside boto3 service updates.","status":"active","version":"1.43.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["types","boto3","stepfunctions","stubs","mypy","type-hints"],"install":[{"cmd":"pip install types-boto3-stepfunctions","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Runtime dependency; type stubs require boto3 to be installed.","package":"boto3","optional":false},{"reason":"Required for newer typing features, especially on Python <3.11.","package":"typing-extensions","optional":false}],"imports":[{"note":"Direct import from package.","wrong":"","symbol":"SFNClient","correct":"from mypy_boto3_stepfunctions import SFNClient"},{"note":"","wrong":"","symbol":"SFNServiceResource","correct":"from mypy_boto3_stepfunctions import SFNServiceResource"},{"note":"","wrong":"","symbol":"SFNPaginator","correct":"from mypy_boto3_stepfunctions.paginator import SFNPaginator"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_stepfunctions import SFNClient\n\nclient: SFNClient = boto3.client('stepfunctions', region_name='us-east-1')\n# Now client is fully typed\nresponse = client.list_state_machines()\nprint(response['stateMachines'])","lang":"python","description":"Initialize a typed Step Functions client and call a method."},"warnings":[{"fix":"Update any references to renamed TypeDefs. Check the changelog for specifics.","message":"Version 8.9.0 of the builder introduced renaming of TypeDefs: extra postfix moved to end (e.g., CreateDistributionExtraRequestTypeDef became CreateDistributionRequestExtraTypeDef). If you use type aliases directly, update imports.","severity":"breaking","affected_versions":">=8.9.0"},{"fix":"Upgrade to Python 3.9 or later.","message":"Python 3.8 support removed in builder version 8.12.0. types-boto3-stepfunctions now requires Python >=3.9.","severity":"deprecated","affected_versions":">=1.43.0"},{"fix":"Run `pip install --upgrade types-boto3-stepfunctions`.","message":"These stubs are auto-generated; service changes in boto3 may not be immediately reflected. If you encounter missing types, upgrade the package or report an issue.","severity":"gotcha","affected_versions":"All"},{"fix":"Install boto3 separately: `pip install boto3`.","message":"The package only provides type annotations; it does not include runtime implementations. Ensure boto3 is installed and imported normally.","severity":"gotcha","affected_versions":"All"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run `pip install types-boto3-stepfunctions` (note: the package name is 'types-boto3-stepfunctions', but import uses 'mypy_boto3_stepfunctions').","cause":"Package not installed or wrong Python environment.","error":"ModuleNotFoundError: No module named 'mypy_boto3_stepfunctions'"},{"fix":"Upgrade to latest version: `pip install --upgrade types-boto3-stepfunctions`.","cause":"Outdated package version; SFNClient may not exist in older versions.","error":"ImportError: cannot import name 'SFNClient' from 'mypy_boto3_stepfunctions'"},{"fix":"Add `from __future__ import annotations` at top of file, or upgrade to Python >=3.9.","cause":"Using Python <3.9 without importing from __future__ annotations.","error":"TypeError: 'type' object is not subscriptable"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}