Skip to content

MultipartyApproval module#

Index > MultipartyApproval

Auto-generated documentation for MultipartyApproval type annotations stubs module types-boto3-mpa.

How to install#

You can generate type annotations for boto3 package locally with mypy-boto3-builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'boto3==1.38.38' mypy-boto3-builder
  2. Select boto3 AWS SDK.
  3. Add MultipartyApproval service.
  4. Use provided commands to install generated packages.

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and MultipartyApproval.

From PyPI with pip#

Install types-boto3 for MultipartyApproval service.

# install with boto3 type annotations
python -m pip install 'types-boto3[mpa]'

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

# standalone installation
python -m pip install types-boto3-mpa

How to uninstall#

python -m pip uninstall -y types-boto3-mpa

Usage#

Code samples can be found in Examples.

MultipartyApprovalClient#

Type annotations and code completion for boto3.client("mpa") as MultipartyApprovalClient boto3 documentation

# MultipartyApprovalClient usage example

from boto3.session import Session

from types_boto3_mpa.client import MultipartyApprovalClient

def get_client() -> MultipartyApprovalClient:
    return Session().client("mpa")

Paginators#

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

# ListApprovalTeamsPaginator usage example

from boto3.session import Session

from types_boto3_mpa.paginator import ListApprovalTeamsPaginator

def get_list_approval_teams_paginator() -> ListApprovalTeamsPaginator:
    return Session().client("mpa").get_paginator("list_approval_teams"))

Literals#

Type annotations for literals used in methods and schema.

# ActionCompletionStrategyType usage example

from types_boto3_mpa.literals import ActionCompletionStrategyType

def get_value() -> ActionCompletionStrategyType:
    return "AUTO_COMPLETION_UPON_APPROVAL"

Type definitions#

Type annotations for type definitions used in methods and schema.