Macie2 module#
Index > Macie2
Auto-generated documentation for Macie2 type annotations stubs module mypy-boto3-macie2.
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 Macie2
.
From PyPI with pip#
Install boto3-stubs
for Macie2
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[macie2]'
# 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[macie2]'
# standalone installation
python -m pip install mypy-boto3-macie2
How to uninstall#
python -m pip uninstall -y mypy-boto3-macie2
Usage#
Code samples can be found in Examples.
Macie2Client#
Type annotations and code completion for boto3.client("macie2")
as Macie2Client
boto3 documentation
# Macie2Client usage example
from boto3.session import Session
from mypy_boto3_macie2.client import Macie2Client
def get_client() -> Macie2Client:
return Session().client("macie2")
Paginators#
Type annotations and code completion for paginators
from boto3.client("macie2").get_paginator("...")
.
# DescribeBucketsPaginator usage example
from boto3.session import Session
from mypy_boto3_macie2.paginator import DescribeBucketsPaginator
def get_describe_buckets_paginator() -> DescribeBucketsPaginator:
return Session().client("macie2").get_paginator("describe_buckets"))
- DescribeBucketsPaginator
- GetUsageStatisticsPaginator
- ListAllowListsPaginator
- ListAutomatedDiscoveryAccountsPaginator
- ListClassificationJobsPaginator
- ListClassificationScopesPaginator
- ListCustomDataIdentifiersPaginator
- ListFindingsFiltersPaginator
- ListFindingsPaginator
- ListInvitationsPaginator
- ListManagedDataIdentifiersPaginator
- ListMembersPaginator
- ListOrganizationAdminAccountsPaginator
- ListResourceProfileArtifactsPaginator
- ListResourceProfileDetectionsPaginator
- ListSensitivityInspectionTemplatesPaginator
- SearchResourcesPaginator
Waiters#
Type annotations and code completion for waiters
from boto3.client("macie2").get_waiter("...")
.
# FindingRevealedWaiter usage example
from boto3.session import Session
from mypy_boto3_macie2.waiter import FindingRevealedWaiter
def get_finding_revealed_waiter() -> FindingRevealedWaiter:
return Session().client("macie2").get_waiter("finding_revealed")
Literals#
Type annotations for literals used in methods and schema.
# AdminStatusType usage example
from mypy_boto3_macie2.literals import AdminStatusType
def get_value() -> AdminStatusType:
return "DISABLING_IN_PROGRESS"
- AdminStatusType
- AllowListStatusCodeType
- AllowsUnencryptedObjectUploadsType
- AutoEnableModeType
- AutomatedDiscoveryAccountStatusType
- AutomatedDiscoveryAccountUpdateErrorCodeType
- AutomatedDiscoveryMonitoringStatusType
- AutomatedDiscoveryStatusType
- AvailabilityCodeType
- BucketMetadataErrorCodeType
- ClassificationScopeUpdateOperationType
- CurrencyType
- DataIdentifierSeverityType
- DataIdentifierTypeType
- DayOfWeekType
- DescribeBucketsPaginatorName
- EffectivePermissionType
- EncryptionTypeType
- ErrorCodeType
- FindingActionTypeType
- FindingCategoryType
- FindingPublishingFrequencyType
- FindingRevealedWaiterName
- FindingStatisticsSortAttributeNameType
- FindingTypeType
- FindingsFilterActionType
- GetUsageStatisticsPaginatorName
- GroupByType
- IsDefinedInJobType
- IsMonitoredByJobType
- JobComparatorType
- JobStatusType
- JobTypeType
- LastRunErrorStatusCodeType
- ListAllowListsPaginatorName
- ListAutomatedDiscoveryAccountsPaginatorName
- ListClassificationJobsPaginatorName
- ListClassificationScopesPaginatorName
- ListCustomDataIdentifiersPaginatorName
- ListFindingsFiltersPaginatorName
- ListFindingsPaginatorName
- ListInvitationsPaginatorName
- ListJobsFilterKeyType
- ListJobsSortAttributeNameType
- ListManagedDataIdentifiersPaginatorName
- ListMembersPaginatorName
- ListOrganizationAdminAccountsPaginatorName
- ListResourceProfileArtifactsPaginatorName
- ListResourceProfileDetectionsPaginatorName
- ListSensitivityInspectionTemplatesPaginatorName
- MacieStatusType
- ManagedDataIdentifierSelectorType
- OrderByType
- OriginTypeType
- RelationshipStatusType
- RetrievalModeType
- RevealRequestStatusType
- RevealStatusType
- ScopeFilterKeyType
- SearchResourcesComparatorType
- SearchResourcesPaginatorName
- SearchResourcesSimpleCriterionKeyType
- SearchResourcesSortAttributeNameType
- SensitiveDataItemCategoryType
- SeverityDescriptionType
- SharedAccessType
- SimpleCriterionKeyForJobType
- StorageClassType
- TagTargetType
- TimeRangeType
- TypeType
- UnavailabilityReasonCodeType
- UnitType
- UsageStatisticsFilterComparatorType
- UsageStatisticsFilterKeyType
- UsageStatisticsSortKeyType
- UsageTypeType
- UserIdentityTypeType
- Macie2ServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AcceptInvitationRequestRequestTypeDef
- AccessControlListTypeDef
- AccountDetailTypeDef
- BlockPublicAccessTypeDef
- AdminAccountTypeDef
- S3WordsListTypeDef
- AllowListStatusTypeDef
- AllowListSummaryTypeDef
- ApiCallDetailsTypeDef
- AutomatedDiscoveryAccountTypeDef
- AutomatedDiscoveryAccountUpdateErrorTypeDef
- AutomatedDiscoveryAccountUpdateTypeDef
- AwsAccountTypeDef
- AwsServiceTypeDef
- BatchGetCustomDataIdentifierSummaryTypeDef
- BatchGetCustomDataIdentifiersRequestRequestTypeDef
- ResponseMetadataTypeDef
- BucketCountByEffectivePermissionTypeDef
- BucketCountByEncryptionTypeTypeDef
- BucketCountBySharedAccessTypeTypeDef
- BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef
- BucketCriteriaAdditionalPropertiesTypeDef
- BucketPolicyTypeDef
- BucketServerSideEncryptionTypeDef
- JobDetailsTypeDef
- KeyValuePairTypeDef
- ObjectCountByEncryptionTypeTypeDef
- ObjectLevelStatisticsTypeDef
- ReplicationDetailsTypeDef
- BucketSortCriteriaTypeDef
- SensitivityAggregationsTypeDef
- CellTypeDef
- S3DestinationTypeDef
- ClassificationResultStatusTypeDef
- ClassificationScopeSummaryTypeDef
- SeverityLevelTypeDef
- CreateInvitationsRequestRequestTypeDef
- UnprocessedAccountTypeDef
- CreateSampleFindingsRequestRequestTypeDef
- SimpleCriterionForJobOutputTypeDef
- CriterionAdditionalPropertiesOutputTypeDef
- CriterionAdditionalPropertiesTypeDef
- CustomDataIdentifierSummaryTypeDef
- DeclineInvitationsRequestRequestTypeDef
- DeleteAllowListRequestRequestTypeDef
- DeleteCustomDataIdentifierRequestRequestTypeDef
- DeleteFindingsFilterRequestRequestTypeDef
- DeleteInvitationsRequestRequestTypeDef
- DeleteMemberRequestRequestTypeDef
- PaginatorConfigTypeDef
- DescribeClassificationJobRequestRequestTypeDef
- LastRunErrorStatusTypeDef
- StatisticsTypeDef
- UserPausedDetailsTypeDef
- DetectedDataDetailsTypeDef
- DetectionTypeDef
- DisableOrganizationAdminAccountRequestRequestTypeDef
- DisassociateMemberRequestRequestTypeDef
- DomainDetailsTypeDef
- EnableMacieRequestRequestTypeDef
- EnableOrganizationAdminAccountRequestRequestTypeDef
- FindingStatisticsSortCriteriaTypeDef
- SeverityTypeDef
- FindingsFilterListItemTypeDef
- InvitationTypeDef
- GetAllowListRequestRequestTypeDef
- GetBucketStatisticsRequestRequestTypeDef
- GetClassificationScopeRequestRequestTypeDef
- GetCustomDataIdentifierRequestRequestTypeDef
- GroupCountTypeDef
- GetFindingsFilterRequestRequestTypeDef
- SecurityHubConfigurationTypeDef
- SortCriteriaTypeDef
- GetMemberRequestRequestTypeDef
- GetResourceProfileRequestRequestTypeDef
- ResourceStatisticsTypeDef
- RetrievalConfigurationTypeDef
- RevealConfigurationTypeDef
- GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef
- WaiterConfigTypeDef
- GetSensitiveDataOccurrencesRequestRequestTypeDef
- GetSensitivityInspectionTemplateRequestRequestTypeDef
- SensitivityInspectionTemplateExcludesOutputTypeDef
- SensitivityInspectionTemplateIncludesOutputTypeDef
- UsageStatisticsFilterTypeDef
- UsageStatisticsSortByTypeDef
- GetUsageTotalsRequestRequestTypeDef
- UsageTotalTypeDef
- IamUserTypeDef
- IpCityTypeDef
- IpCountryTypeDef
- IpGeoLocationTypeDef
- IpOwnerTypeDef
- MonthlyScheduleTypeDef
- WeeklyScheduleTypeDef
- SimpleScopeTermOutputTypeDef
- S3BucketDefinitionForJobOutputTypeDef
- ListAllowListsRequestRequestTypeDef
- ListAutomatedDiscoveryAccountsRequestRequestTypeDef
- ListJobsSortCriteriaTypeDef
- ListClassificationScopesRequestRequestTypeDef
- ListCustomDataIdentifiersRequestRequestTypeDef
- ListFindingsFiltersRequestRequestTypeDef
- ListInvitationsRequestRequestTypeDef
- ListJobsFilterTermTypeDef
- ListManagedDataIdentifiersRequestRequestTypeDef
- ManagedDataIdentifierSummaryTypeDef
- ListMembersRequestRequestTypeDef
- MemberTypeDef
- ListOrganizationAdminAccountsRequestRequestTypeDef
- ListResourceProfileArtifactsRequestRequestTypeDef
- ResourceProfileArtifactTypeDef
- ListResourceProfileDetectionsRequestRequestTypeDef
- ListSensitivityInspectionTemplatesRequestRequestTypeDef
- SensitivityInspectionTemplatesEntryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- RangeTypeDef
- RecordTypeDef
- S3BucketDefinitionForJobTypeDef
- S3BucketOwnerTypeDef
- ServerSideEncryptionTypeDef
- S3ClassificationScopeExclusionTypeDef
- S3ClassificationScopeExclusionUpdateTypeDef
- SearchResourcesSimpleCriterionTypeDef
- SearchResourcesSortCriteriaTypeDef
- SearchResourcesTagCriterionPairTypeDef
- SensitivityInspectionTemplateExcludesTypeDef
- SensitivityInspectionTemplateIncludesTypeDef
- ServiceLimitTypeDef
- SessionContextAttributesTypeDef
- SessionIssuerTypeDef
- SimpleCriterionForJobTypeDef
- SimpleScopeTermTypeDef
- SuppressDataIdentifierTypeDef
- TagCriterionPairForJobTypeDef
- TagResourceRequestRequestTypeDef
- TagValuePairTypeDef
- TestCustomDataIdentifierRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateAutomatedDiscoveryConfigurationRequestRequestTypeDef
- UpdateClassificationJobRequestRequestTypeDef
- UpdateMacieSessionRequestRequestTypeDef
- UpdateMemberSessionRequestRequestTypeDef
- UpdateOrganizationConfigurationRequestRequestTypeDef
- UpdateResourceProfileRequestRequestTypeDef
- UpdateRetrievalConfigurationTypeDef
- UserIdentityRootTypeDef
- CreateMemberRequestRequestTypeDef
- AccountLevelPermissionsTypeDef
- AllowListCriteriaTypeDef
- FindingActionTypeDef
- BatchUpdateAutomatedDiscoveryAccountsRequestRequestTypeDef
- BatchGetCustomDataIdentifiersResponseTypeDef
- BatchUpdateAutomatedDiscoveryAccountsResponseTypeDef
- CreateAllowListResponseTypeDef
- CreateClassificationJobResponseTypeDef
- CreateCustomDataIdentifierResponseTypeDef
- CreateFindingsFilterResponseTypeDef
- CreateMemberResponseTypeDef
- DescribeOrganizationConfigurationResponseTypeDef
- GetAutomatedDiscoveryConfigurationResponseTypeDef
- GetInvitationsCountResponseTypeDef
- GetMacieSessionResponseTypeDef
- GetMemberResponseTypeDef
- GetSensitiveDataOccurrencesAvailabilityResponseTypeDef
- ListAllowListsResponseTypeDef
- ListAutomatedDiscoveryAccountsResponseTypeDef
- ListFindingsResponseTypeDef
- ListOrganizationAdminAccountsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- TestCustomDataIdentifierResponseTypeDef
- UpdateAllowListResponseTypeDef
- UpdateFindingsFilterResponseTypeDef
- BucketLevelPermissionsTypeDef
- MatchingBucketTypeDef
- DescribeBucketsRequestRequestTypeDef
- BucketStatisticsBySensitivityTypeDef
- ClassificationExportConfigurationTypeDef
- ListClassificationScopesResponseTypeDef
- CreateCustomDataIdentifierRequestRequestTypeDef
- GetCustomDataIdentifierResponseTypeDef
- CreateInvitationsResponseTypeDef
- DeclineInvitationsResponseTypeDef
- DeleteInvitationsResponseTypeDef
- FindingCriteriaOutputTypeDef
- CriterionAdditionalPropertiesUnionTypeDef
- ListCustomDataIdentifiersResponseTypeDef
- DescribeBucketsRequestDescribeBucketsPaginateTypeDef
- ListAllowListsRequestListAllowListsPaginateTypeDef
- ListAutomatedDiscoveryAccountsRequestListAutomatedDiscoveryAccountsPaginateTypeDef
- ListClassificationScopesRequestListClassificationScopesPaginateTypeDef
- ListCustomDataIdentifiersRequestListCustomDataIdentifiersPaginateTypeDef
- ListFindingsFiltersRequestListFindingsFiltersPaginateTypeDef
- ListInvitationsRequestListInvitationsPaginateTypeDef
- ListManagedDataIdentifiersRequestListManagedDataIdentifiersPaginateTypeDef
- ListMembersRequestListMembersPaginateTypeDef
- ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef
- ListResourceProfileArtifactsRequestListResourceProfileArtifactsPaginateTypeDef
- ListResourceProfileDetectionsRequestListResourceProfileDetectionsPaginateTypeDef
- ListSensitivityInspectionTemplatesRequestListSensitivityInspectionTemplatesPaginateTypeDef
- GetSensitiveDataOccurrencesResponseTypeDef
- ListResourceProfileDetectionsResponseTypeDef
- ListFindingsFiltersResponseTypeDef
- GetAdministratorAccountResponseTypeDef
- GetMasterAccountResponseTypeDef
- ListInvitationsResponseTypeDef
- GetFindingStatisticsResponseTypeDef
- GetFindingsPublicationConfigurationResponseTypeDef
- PutFindingsPublicationConfigurationRequestRequestTypeDef
- GetFindingsRequestRequestTypeDef
- GetResourceProfileResponseTypeDef
- GetRevealConfigurationResponseTypeDef
- UpdateRevealConfigurationResponseTypeDef
- GetSensitiveDataOccurrencesRequestFindingRevealedWaitTypeDef
- GetSensitivityInspectionTemplateResponseTypeDef
- GetUsageStatisticsRequestGetUsageStatisticsPaginateTypeDef
- GetUsageStatisticsRequestRequestTypeDef
- GetUsageTotalsResponseTypeDef
- IpAddressDetailsTypeDef
- JobScheduleFrequencyOutputTypeDef
- JobScheduleFrequencyTypeDef
- ListJobsFilterCriteriaTypeDef
- ListManagedDataIdentifiersResponseTypeDef
- ListMembersResponseTypeDef
- ListResourceProfileArtifactsResponseTypeDef
- ListSensitivityInspectionTemplatesResponseTypeDef
- PageTypeDef
- S3BucketDefinitionForJobUnionTypeDef
- S3ObjectTypeDef
- S3ClassificationScopeTypeDef
- S3ClassificationScopeUpdateTypeDef
- SearchResourcesTagCriterionTypeDef
- UpdateSensitivityInspectionTemplateRequestRequestTypeDef
- UsageByAccountTypeDef
- SessionContextTypeDef
- SimpleCriterionForJobUnionTypeDef
- SimpleScopeTermUnionTypeDef
- UpdateResourceProfileDetectionsRequestRequestTypeDef
- TagCriterionForJobOutputTypeDef
- TagCriterionForJobTypeDef
- TagScopeTermOutputTypeDef
- TagScopeTermTypeDef
- UpdateRevealConfigurationRequestRequestTypeDef
- CreateAllowListRequestRequestTypeDef
- GetAllowListResponseTypeDef
- UpdateAllowListRequestRequestTypeDef
- BucketPermissionConfigurationTypeDef
- MatchingResourceTypeDef
- GetBucketStatisticsResponseTypeDef
- GetClassificationExportConfigurationResponseTypeDef
- PutClassificationExportConfigurationRequestRequestTypeDef
- PutClassificationExportConfigurationResponseTypeDef
- GetFindingsFilterResponseTypeDef
- FindingCriteriaTypeDef
- ListClassificationJobsRequestListClassificationJobsPaginateTypeDef
- ListClassificationJobsRequestRequestTypeDef
- OccurrencesTypeDef
- GetClassificationScopeResponseTypeDef
- UpdateClassificationScopeRequestRequestTypeDef
- SearchResourcesCriteriaTypeDef
- UsageRecordTypeDef
- AssumedRoleTypeDef
- FederatedUserTypeDef
- CriteriaForJobOutputTypeDef
- TagCriterionForJobUnionTypeDef
- JobScopeTermOutputTypeDef
- TagScopeTermUnionTypeDef
- BucketPublicAccessTypeDef
- SearchResourcesResponseTypeDef
- CreateFindingsFilterRequestRequestTypeDef
- GetFindingStatisticsRequestRequestTypeDef
- ListFindingsRequestListFindingsPaginateTypeDef
- ListFindingsRequestRequestTypeDef
- UpdateFindingsFilterRequestRequestTypeDef
- CustomDetectionTypeDef
- DefaultDetectionTypeDef
- SearchResourcesCriteriaBlockTypeDef
- GetUsageStatisticsResponseTypeDef
- UserIdentityTypeDef
- CriteriaBlockForJobOutputTypeDef
- CriteriaForJobTypeDef
- JobScopingBlockOutputTypeDef
- JobScopeTermTypeDef
- BucketMetadataTypeDef
- S3BucketTypeDef
- CustomDataIdentifiersTypeDef
- SensitiveDataItemTypeDef
- SearchResourcesBucketCriteriaTypeDef
- FindingActorTypeDef
- S3BucketCriteriaForJobOutputTypeDef
- CriteriaForJobUnionTypeDef
- ScopingOutputTypeDef
- JobScopeTermUnionTypeDef
- DescribeBucketsResponseTypeDef
- ResourcesAffectedTypeDef
- ClassificationResultTypeDef
- SearchResourcesRequestRequestTypeDef
- SearchResourcesRequestSearchResourcesPaginateTypeDef
- PolicyDetailsTypeDef
- JobSummaryTypeDef
- CriteriaBlockForJobTypeDef
- S3JobDefinitionOutputTypeDef
- JobScopingBlockTypeDef
- ClassificationDetailsTypeDef
- ListClassificationJobsResponseTypeDef
- CriteriaBlockForJobUnionTypeDef
- DescribeClassificationJobResponseTypeDef
- JobScopingBlockUnionTypeDef
- FindingTypeDef
- S3BucketCriteriaForJobTypeDef
- ScopingTypeDef
- GetFindingsResponseTypeDef
- S3BucketCriteriaForJobUnionTypeDef
- ScopingUnionTypeDef
- S3JobDefinitionTypeDef
- CreateClassificationJobRequestRequestTypeDef