Skip to content

PcaConnectorAd module#

Index > PcaConnectorAd

Auto-generated documentation for PcaConnectorAd type annotations stubs module mypy-boto3-pca-connector-ad.

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

From PyPI with pip#

Install boto3-stubs for PcaConnectorAd service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[pca-connector-ad]'


# 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[pca-connector-ad]'


# standalone installation
python -m pip install mypy-boto3-pca-connector-ad

How to uninstall#

python -m pip uninstall -y mypy-boto3-pca-connector-ad

Usage#

Code samples can be found in Examples.

PcaConnectorAdClient#

Type annotations and code completion for boto3.client("pca-connector-ad") as PcaConnectorAdClient boto3 documentation

# PcaConnectorAdClient usage example

from boto3.session import Session

from mypy_boto3_pca_connector_ad.client import PcaConnectorAdClient

def get_client() -> PcaConnectorAdClient:
    return Session().client("pca-connector-ad")

Paginators#

Type annotations and code completion for paginators from boto3.client("pca-connector-ad").get_paginator("...").

# ListConnectorsPaginator usage example

from boto3.session import Session

from mypy_boto3_pca_connector_ad.paginator import ListConnectorsPaginator

def get_list_connectors_paginator() -> ListConnectorsPaginator:
    return Session().client("pca-connector-ad").get_paginator("list_connectors"))

Literals#

Type annotations for literals used in methods and schema.

# AccessRightType usage example

from mypy_boto3_pca_connector_ad.literals import AccessRightType

def get_value() -> AccessRightType:
    return "ALLOW"

Type definitions#

Type annotations for type definitions used in methods and schema.