Skip to content

SSMIncidents module#

Index > SSMIncidents

Auto-generated documentation for SSMIncidents type annotations stubs module mypy-boto3-ssm-incidents.

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

From PyPI with pip#

Install boto3-stubs for SSMIncidents service.

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

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

# standalone installation
python -m pip install mypy-boto3-ssm-incidents

How to uninstall#

python -m pip uninstall -y mypy-boto3-ssm-incidents


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("ssm-incidents") as SSMIncidentsClient boto3 documentation

# SSMIncidentsClient usage example

from boto3.session import Session

from mypy_boto3_ssm_incidents.client import SSMIncidentsClient

def get_client() -> SSMIncidentsClient:
    return Session().client("ssm-incidents")


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

# GetResourcePoliciesPaginator usage example

from boto3.session import Session

from mypy_boto3_ssm_incidents.paginator import GetResourcePoliciesPaginator

def get_get_resource_policies_paginator() -> GetResourcePoliciesPaginator:
    return Session().client("ssm-incidents").get_paginator("get_resource_policies"))


Type annotations and code completion for waiters from boto3.client("ssm-incidents").get_waiter("...").

# WaitForReplicationSetActiveWaiter usage example

from boto3.session import Session

from mypy_boto3_ssm_incidents.waiter import WaitForReplicationSetActiveWaiter

def get_wait_for_replication_set_active_waiter() -> WaitForReplicationSetActiveWaiter:
    return Session().client("ssm-incidents").get_waiter("wait_for_replication_set_active")


Type annotations for literals used in methods and schemas.

# GetResourcePoliciesPaginatorName usage example

from mypy_boto3_ssm_incidents.literals import GetResourcePoliciesPaginatorName

def get_value() -> GetResourcePoliciesPaginatorName:
    return "get_resource_policies"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# AddRegionActionTypeDef usage example

from mypy_boto3_ssm_incidents.type_defs import AddRegionActionTypeDef

def get_value() -> AddRegionActionTypeDef:
    return {
        "regionName": ...,