MultipartyApproval module#
Index > MultipartyApproval
Auto-generated documentation for MultipartyApproval type annotations stubs module types-boto3-mpa.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy-boto3-builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.38.38' mypy-boto3-builder
- Select
boto3
AWS SDK. - Add
MultipartyApproval
service. - 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"))
- ListApprovalTeamsPaginator
- ListIdentitySourcesPaginator
- ListPoliciesPaginator
- ListPolicyVersionsPaginator
- ListResourcePoliciesPaginator
- ListSessionsPaginator
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"
- ActionCompletionStrategyType
- ApprovalTeamStatusCodeType
- ApprovalTeamStatusType
- FilterFieldType
- IdentitySourceStatusCodeType
- IdentitySourceStatusType
- IdentitySourceTypeType
- IdentityStatusType
- ListApprovalTeamsPaginatorName
- ListIdentitySourcesPaginatorName
- ListPoliciesPaginatorName
- ListPolicyVersionsPaginatorName
- ListResourcePoliciesPaginatorName
- ListSessionsPaginatorName
- OperatorType
- PolicyStatusType
- PolicyTypeType
- SessionExecutionStatusType
- SessionResponseType
- SessionStatusCodeType
- SessionStatusType
- MultipartyApprovalServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- MofNApprovalStrategyTypeDef
- ApprovalTeamRequestApproverTypeDef
- CancelSessionRequestTypeDef
- PolicyReferenceTypeDef
- ResponseMetadataTypeDef
- DeleteIdentitySourceRequestTypeDef
- DeleteInactiveApprovalTeamVersionRequestTypeDef
- FilterTypeDef
- GetApprovalTeamRequestTypeDef
- GetApprovalTeamResponseApproverTypeDef
- GetIdentitySourceRequestTypeDef
- GetPolicyVersionRequestTypeDef
- PolicyVersionTypeDef
- GetResourcePolicyRequestTypeDef
- GetSessionRequestTypeDef
- GetSessionResponseApproverResponseTypeDef
- IamIdentityCenterForGetTypeDef
- IamIdentityCenterForListTypeDef
- IamIdentityCenterTypeDef
- PaginatorConfigTypeDef
- ListApprovalTeamsRequestTypeDef
- ListIdentitySourcesRequestTypeDef
- ListPoliciesRequestTypeDef
- PolicyTypeDef
- ListPolicyVersionsRequestTypeDef
- PolicyVersionSummaryTypeDef
- ListResourcePoliciesRequestTypeDef
- ListResourcePoliciesResponseResourcePolicyTypeDef
- ListSessionsResponseSessionTypeDef
- ListTagsForResourceRequestTypeDef
- StartActiveApprovalTeamDeletionRequestTypeDef
- TagResourceRequestTypeDef
- UntagResourceRequestTypeDef
- ApprovalStrategyResponseTypeDef
- ApprovalStrategyTypeDef
- CreateApprovalTeamResponseTypeDef
- CreateIdentitySourceResponseTypeDef
- EmptyResponseMetadataTypeDef
- GetResourcePolicyResponseTypeDef
- ListTagsForResourceResponseTypeDef
- StartActiveApprovalTeamDeletionResponseTypeDef
- UpdateApprovalTeamResponseTypeDef
- ListSessionsRequestTypeDef
- GetPolicyVersionResponseTypeDef
- IdentitySourceParametersForGetTypeDef
- IdentitySourceParametersForListTypeDef
- IdentitySourceParametersTypeDef
- ListApprovalTeamsRequestPaginateTypeDef
- ListIdentitySourcesRequestPaginateTypeDef
- ListPoliciesRequestPaginateTypeDef
- ListPolicyVersionsRequestPaginateTypeDef
- ListResourcePoliciesRequestPaginateTypeDef
- ListSessionsRequestPaginateTypeDef
- ListPoliciesResponseTypeDef
- ListPolicyVersionsResponseTypeDef
- ListResourcePoliciesResponseTypeDef
- ListSessionsResponseTypeDef
- GetSessionResponseTypeDef
- ListApprovalTeamsResponseApprovalTeamTypeDef
- PendingUpdateTypeDef
- CreateApprovalTeamRequestTypeDef
- UpdateApprovalTeamRequestTypeDef
- GetIdentitySourceResponseTypeDef
- IdentitySourceForListTypeDef
- CreateIdentitySourceRequestTypeDef
- ListApprovalTeamsResponseTypeDef
- GetApprovalTeamResponseTypeDef
- ListIdentitySourcesResponseTypeDef