Macie module#
Index > Macie
Auto-generated documentation for Macie type annotations stubs module mypy-boto3-macie.
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 Macie
.
From PyPI with pip#
Install boto3-stubs
for Macie
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[macie]'
# 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[macie]'
# standalone installation
python -m pip install mypy-boto3-macie
How to uninstall#
python -m pip uninstall -y mypy-boto3-macie
Usage#
Code samples can be found in Examples.
MacieClient#
Type annotations and code completion for boto3.client("macie")
as MacieClient
boto3 documentation
# MacieClient usage example
from boto3.session import Session
from mypy_boto3_macie.client import MacieClient
def get_client() -> MacieClient:
return Session().client("macie")
Paginators#
Type annotations and code completion for paginators
from boto3.client("macie").get_paginator("...")
.
# ListMemberAccountsPaginator usage example
from boto3.session import Session
from mypy_boto3_macie.paginator import ListMemberAccountsPaginator
def get_list_member_accounts_paginator() -> ListMemberAccountsPaginator:
return Session().client("macie").get_paginator("list_member_accounts"))
Literals#
Type annotations for literals used in methods and schemas.
# ListMemberAccountsPaginatorName usage example
from mypy_boto3_macie.literals import ListMemberAccountsPaginatorName
def get_value() -> ListMemberAccountsPaginatorName:
return "list_member_accounts"
- ListMemberAccountsPaginatorName
- ListS3ResourcesPaginatorName
- S3ContinuousClassificationTypeType
- S3OneTimeClassificationTypeType
- MacieServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Typed dictionaries#
Type annotations for typed dictionaries used in methods and schema.
# AssociateMemberAccountRequestRequestTypeDef usage example
from mypy_boto3_macie.type_defs import AssociateMemberAccountRequestRequestTypeDef
def get_value() -> AssociateMemberAccountRequestRequestTypeDef:
return {
"memberAccountId": ...,
}
- AssociateMemberAccountRequestRequestTypeDef
- ClassificationTypeTypeDef
- ClassificationTypeUpdateTypeDef
- DisassociateMemberAccountRequestRequestTypeDef
- S3ResourceTypeDef
- EmptyResponseMetadataTypeDef
- ListMemberAccountsRequestListMemberAccountsPaginateTypeDef
- ListMemberAccountsRequestRequestTypeDef
- MemberAccountTypeDef
- ListS3ResourcesRequestListS3ResourcesPaginateTypeDef
- ListS3ResourcesRequestRequestTypeDef
- PaginatorConfigTypeDef
- ResponseMetadataTypeDef
- S3ResourceClassificationTypeDef
- S3ResourceClassificationUpdateTypeDef
- DisassociateS3ResourcesRequestRequestTypeDef
- FailedS3ResourceTypeDef
- ListMemberAccountsResultTypeDef
- AssociateS3ResourcesRequestRequestTypeDef
- ListS3ResourcesResultTypeDef
- UpdateS3ResourcesRequestRequestTypeDef
- AssociateS3ResourcesResultTypeDef
- DisassociateS3ResourcesResultTypeDef
- UpdateS3ResourcesResultTypeDef