Skip to content

SSM module#

Index > SSM

Auto-generated documentation for SSM type annotations stubs module types-aiobotocore-ssm.

How to install#

From PyPI with pip#

Install types-aiobotocore for SSM service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[ssm]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[ssm]'


# standalone installation
python -m pip install types-aiobotocore-ssm

How to uninstall#

python -m pip uninstall -y types-aiobotocore-ssm

Usage#

Code samples can be found in Examples.

SSMClient#

Type annotations and code completion for session.create_client("ssm") as SSMClient boto3 documentation

# SSMClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_ssm.client import SSMClient


session = get_session()
async with session.create_client("ssm") as client:
    client: SSMClient

Paginators#

Type annotations and code completion for paginators from session.create_client("ssm").get_paginator("...").

# DescribeActivationsPaginator usage example

from types_aiobotocore_ssm.paginator import DescribeActivationsPaginator

def get_describe_activations_paginator() -> DescribeActivationsPaginator:
    return client.get_paginator("describe_activations"))

Waiters#

Type annotations and code completion for waiters from session.create_client("ssm").get_waiter("...").

# CommandExecutedWaiter usage example

from types_aiobotocore_ssm.waiter import CommandExecutedWaiter

def get_command_executed_waiter() -> CommandExecutedWaiter:
    return Session().client("ssm").get_waiter("command_executed")

Literals#

Type annotations for literals used in methods and schema.

# AssociationComplianceSeverityType usage example

from types_aiobotocore_ssm.literals import AssociationComplianceSeverityType

def get_value() -> AssociationComplianceSeverityType:
    return "CRITICAL"

Type definitions#

Type annotations for type definitions used in methods and schema.