Skip to content

DevOpsGuru module#

Index > DevOpsGuru

Auto-generated documentation for DevOpsGuru type annotations stubs module mypy-boto3-devops-guru.

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

From PyPI with pip#

Install boto3-stubs for DevOpsGuru service.

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

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

# standalone installation
python -m pip install mypy-boto3-devops-guru

How to uninstall#

python -m pip uninstall -y mypy-boto3-devops-guru


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("devops-guru") as DevOpsGuruClient boto3 documentation

# DevOpsGuruClient usage example

from boto3.session import Session

from mypy_boto3_devops_guru.client import DevOpsGuruClient

def get_client() -> DevOpsGuruClient:
    return Session().client("devops-guru")


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

# DescribeOrganizationResourceCollectionHealthPaginator usage example

from boto3.session import Session

from mypy_boto3_devops_guru.paginator import DescribeOrganizationResourceCollectionHealthPaginator

def get_describe_organization_resource_collection_health_paginator() -> DescribeOrganizationResourceCollectionHealthPaginator:
    return Session().client("devops-guru").get_paginator("describe_organization_resource_collection_health"))


Type annotations for literals used in methods and schemas.

# AnomalySeverityType usage example

from mypy_boto3_devops_guru.literals import AnomalySeverityType

def get_value() -> AnomalySeverityType:
    return "HIGH"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# AccountInsightHealthTypeDef usage example

from mypy_boto3_devops_guru.type_defs import AccountInsightHealthTypeDef

def get_value() -> AccountInsightHealthTypeDef:
    return {
        "OpenProactiveInsights": ...,