Skip to content

ApplicationDiscoveryService module#

Index > ApplicationDiscoveryService

Auto-generated documentation for ApplicationDiscoveryService type annotations stubs module mypy-boto3-discovery.

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

From PyPI with pip#

Install boto3-stubs for ApplicationDiscoveryService service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

ApplicationDiscoveryServiceClient#

Type annotations and code completion for boto3.client("discovery") as ApplicationDiscoveryServiceClient boto3 documentation

# ApplicationDiscoveryServiceClient usage example

from boto3.session import Session

from mypy_boto3_discovery.client import ApplicationDiscoveryServiceClient

def get_client() -> ApplicationDiscoveryServiceClient:
    return Session().client("discovery")

Paginators#

Type annotations and code completion for paginators from boto3.client("discovery").get_paginator("...").

# DescribeAgentsPaginator usage example

from boto3.session import Session

from mypy_boto3_discovery.paginator import DescribeAgentsPaginator

def get_describe_agents_paginator() -> DescribeAgentsPaginator:
    return Session().client("discovery").get_paginator("describe_agents"))

Literals#

Type annotations for literals used in methods and schema.

# AgentStatusType usage example

from mypy_boto3_discovery.literals import AgentStatusType

def get_value() -> AgentStatusType:
    return "BLACKLISTED"

Type definitions#

Type annotations for type definitions used in methods and schema.