Skip to content

FIS module

Index > FIS

Auto-generated documentation for FIS type annotations stubs module mypy-boto3-fis.

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

From PyPI with pip

Install boto3-stubs for FIS service.

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


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


# standalone installation
python -m pip install mypy-boto3-fis

How to uninstall

python -m pip uninstall -y mypy-boto3-fis

Usage

Code samples can be found in Examples.

FISClient

Type annotations and code completion for boto3.client("fis") as FISClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_fis.client import FISClient

def get_client() -> FISClient:
    return Session().client("fis")

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_fis.literals import ExperimentActionStatusType

def get_value() -> ExperimentActionStatusType:
    return "cancelled"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_fis.type_defs import ActionParameterTypeDef

def get_value() -> ActionParameterTypeDef:
    return {
        "description": ...,
    }