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-aioboto3 for SSM service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[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-aioboto3-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.client("ssm") as SSMClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_ssm.client import SSMClient


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

Paginators

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

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.client("ssm").get_waiter("...").

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.

Usage example
from types_aiobotocore_ssm.literals import AssociationComplianceSeverityType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_ssm.type_defs import AccountSharingInfoTypeDef

def get_value() -> AccountSharingInfoTypeDef:
    return {
        "AccountId": ...,
    }