Typed dictionaries
Auto-generated documentation for Macie2 type annotations stubs module mypy-boto3-macie2.
AcceptInvitationRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AcceptInvitationRequestRequestTypeDef
def get_value() -> AcceptInvitationRequestRequestTypeDef:
return {
"invitationId": ...,
}
Definition
class AcceptInvitationRequestRequestTypeDef(TypedDict):
invitationId: str,
administratorAccountId: NotRequired[str],
masterAccount: NotRequired[str],
AccessControlListTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AccessControlListTypeDef
def get_value() -> AccessControlListTypeDef:
return {
"allowsPublicReadAccess": ...,
}
Definition
class AccessControlListTypeDef(TypedDict):
allowsPublicReadAccess: NotRequired[bool],
allowsPublicWriteAccess: NotRequired[bool],
AccountDetailTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AccountDetailTypeDef
def get_value() -> AccountDetailTypeDef:
return {
"accountId": ...,
"email": ...,
}
BlockPublicAccessTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BlockPublicAccessTypeDef
def get_value() -> BlockPublicAccessTypeDef:
return {
"blockPublicAcls": ...,
}
Definition
class BlockPublicAccessTypeDef(TypedDict):
blockPublicAcls: NotRequired[bool],
blockPublicPolicy: NotRequired[bool],
ignorePublicAcls: NotRequired[bool],
restrictPublicBuckets: NotRequired[bool],
AdminAccountTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AdminAccountTypeDef
def get_value() -> AdminAccountTypeDef:
return {
"accountId": ...,
}
Definition
class AdminAccountTypeDef(TypedDict):
accountId: NotRequired[str],
status: NotRequired[AdminStatusType], # (1)
- See AdminStatusType
S3WordsListTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import S3WordsListTypeDef
def get_value() -> S3WordsListTypeDef:
return {
"bucketName": ...,
"objectKey": ...,
}
AllowListStatusTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AllowListStatusTypeDef
def get_value() -> AllowListStatusTypeDef:
return {
"code": ...,
}
Definition
class AllowListStatusTypeDef(TypedDict):
code: AllowListStatusCodeType, # (1)
description: NotRequired[str],
AllowListSummaryTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AllowListSummaryTypeDef
def get_value() -> AllowListSummaryTypeDef:
return {
"arn": ...,
}
Definition
class AllowListSummaryTypeDef(TypedDict):
arn: NotRequired[str],
createdAt: NotRequired[datetime],
description: NotRequired[str],
id: NotRequired[str],
name: NotRequired[str],
updatedAt: NotRequired[datetime],
ApiCallDetailsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ApiCallDetailsTypeDef
def get_value() -> ApiCallDetailsTypeDef:
return {
"api": ...,
}
Definition
class ApiCallDetailsTypeDef(TypedDict):
api: NotRequired[str],
apiServiceName: NotRequired[str],
firstSeen: NotRequired[datetime],
lastSeen: NotRequired[datetime],
AwsAccountTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AwsAccountTypeDef
def get_value() -> AwsAccountTypeDef:
return {
"accountId": ...,
}
Definition
class AwsAccountTypeDef(TypedDict):
accountId: NotRequired[str],
principalId: NotRequired[str],
AwsServiceTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import AwsServiceTypeDef
def get_value() -> AwsServiceTypeDef:
return {
"invokedBy": ...,
}
BatchGetCustomDataIdentifierSummaryTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BatchGetCustomDataIdentifierSummaryTypeDef
def get_value() -> BatchGetCustomDataIdentifierSummaryTypeDef:
return {
"arn": ...,
}
Definition
class BatchGetCustomDataIdentifierSummaryTypeDef(TypedDict):
arn: NotRequired[str],
createdAt: NotRequired[datetime],
deleted: NotRequired[bool],
description: NotRequired[str],
id: NotRequired[str],
name: NotRequired[str],
BatchGetCustomDataIdentifiersRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BatchGetCustomDataIdentifiersRequestRequestTypeDef
def get_value() -> BatchGetCustomDataIdentifiersRequestRequestTypeDef:
return {
"ids": ...,
}
Definition
class BatchGetCustomDataIdentifiersRequestRequestTypeDef(TypedDict):
ids: NotRequired[Sequence[str]],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
BucketCountByEffectivePermissionTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketCountByEffectivePermissionTypeDef
def get_value() -> BucketCountByEffectivePermissionTypeDef:
return {
"publiclyAccessible": ...,
}
Definition
class BucketCountByEffectivePermissionTypeDef(TypedDict):
publiclyAccessible: NotRequired[int],
publiclyReadable: NotRequired[int],
publiclyWritable: NotRequired[int],
unknown: NotRequired[int],
BucketCountByEncryptionTypeTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketCountByEncryptionTypeTypeDef
def get_value() -> BucketCountByEncryptionTypeTypeDef:
return {
"kmsManaged": ...,
}
Definition
class BucketCountByEncryptionTypeTypeDef(TypedDict):
kmsManaged: NotRequired[int],
s3Managed: NotRequired[int],
unencrypted: NotRequired[int],
unknown: NotRequired[int],
BucketCountBySharedAccessTypeTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketCountBySharedAccessTypeTypeDef
def get_value() -> BucketCountBySharedAccessTypeTypeDef:
return {
"external": ...,
}
Definition
class BucketCountBySharedAccessTypeTypeDef(TypedDict):
external: NotRequired[int],
internal: NotRequired[int],
notShared: NotRequired[int],
unknown: NotRequired[int],
BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef
def get_value() -> BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef:
return {
"allowsUnencryptedObjectUploads": ...,
}
Definition
class BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef(TypedDict):
allowsUnencryptedObjectUploads: NotRequired[int],
deniesUnencryptedObjectUploads: NotRequired[int],
unknown: NotRequired[int],
BucketCriteriaAdditionalPropertiesTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketCriteriaAdditionalPropertiesTypeDef
def get_value() -> BucketCriteriaAdditionalPropertiesTypeDef:
return {
"eq": ...,
}
Definition
class BucketCriteriaAdditionalPropertiesTypeDef(TypedDict):
eq: NotRequired[Sequence[str]],
gt: NotRequired[int],
gte: NotRequired[int],
lt: NotRequired[int],
lte: NotRequired[int],
neq: NotRequired[Sequence[str]],
prefix: NotRequired[str],
BucketPolicyTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketPolicyTypeDef
def get_value() -> BucketPolicyTypeDef:
return {
"allowsPublicReadAccess": ...,
}
Definition
class BucketPolicyTypeDef(TypedDict):
allowsPublicReadAccess: NotRequired[bool],
allowsPublicWriteAccess: NotRequired[bool],
BucketServerSideEncryptionTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketServerSideEncryptionTypeDef
def get_value() -> BucketServerSideEncryptionTypeDef:
return {
"kmsMasterKeyId": ...,
}
Definition
class BucketServerSideEncryptionTypeDef(TypedDict):
kmsMasterKeyId: NotRequired[str],
type: NotRequired[TypeType], # (1)
- See TypeType
JobDetailsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import JobDetailsTypeDef
def get_value() -> JobDetailsTypeDef:
return {
"isDefinedInJob": ...,
}
Definition
class JobDetailsTypeDef(TypedDict):
isDefinedInJob: NotRequired[IsDefinedInJobType], # (1)
isMonitoredByJob: NotRequired[IsMonitoredByJobType], # (2)
lastJobId: NotRequired[str],
lastJobRunTime: NotRequired[datetime],
KeyValuePairTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import KeyValuePairTypeDef
def get_value() -> KeyValuePairTypeDef:
return {
"key": ...,
}
ObjectCountByEncryptionTypeTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ObjectCountByEncryptionTypeTypeDef
def get_value() -> ObjectCountByEncryptionTypeTypeDef:
return {
"customerManaged": ...,
}
Definition
class ObjectCountByEncryptionTypeTypeDef(TypedDict):
customerManaged: NotRequired[int],
kmsManaged: NotRequired[int],
s3Managed: NotRequired[int],
unencrypted: NotRequired[int],
unknown: NotRequired[int],
ObjectLevelStatisticsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ObjectLevelStatisticsTypeDef
def get_value() -> ObjectLevelStatisticsTypeDef:
return {
"fileType": ...,
}
Definition
class ObjectLevelStatisticsTypeDef(TypedDict):
fileType: NotRequired[int],
storageClass: NotRequired[int],
total: NotRequired[int],
ReplicationDetailsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ReplicationDetailsTypeDef
def get_value() -> ReplicationDetailsTypeDef:
return {
"replicated": ...,
}
Definition
class ReplicationDetailsTypeDef(TypedDict):
replicated: NotRequired[bool],
replicatedExternally: NotRequired[bool],
replicationAccounts: NotRequired[List[str]],
BucketSortCriteriaTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import BucketSortCriteriaTypeDef
def get_value() -> BucketSortCriteriaTypeDef:
return {
"attributeName": ...,
}
Definition
class BucketSortCriteriaTypeDef(TypedDict):
attributeName: NotRequired[str],
orderBy: NotRequired[OrderByType], # (1)
- See OrderByType
SensitivityAggregationsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SensitivityAggregationsTypeDef
def get_value() -> SensitivityAggregationsTypeDef:
return {
"classifiableSizeInBytes": ...,
}
Definition
class SensitivityAggregationsTypeDef(TypedDict):
classifiableSizeInBytes: NotRequired[int],
publiclyAccessibleCount: NotRequired[int],
totalCount: NotRequired[int],
totalSizeInBytes: NotRequired[int],
CellTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import CellTypeDef
def get_value() -> CellTypeDef:
return {
"cellReference": ...,
}
Definition
class CellTypeDef(TypedDict):
cellReference: NotRequired[str],
column: NotRequired[int],
columnName: NotRequired[str],
row: NotRequired[int],
S3DestinationTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import S3DestinationTypeDef
def get_value() -> S3DestinationTypeDef:
return {
"bucketName": ...,
"kmsKeyArn": ...,
}
Definition
class S3DestinationTypeDef(TypedDict):
bucketName: str,
kmsKeyArn: str,
keyPrefix: NotRequired[str],
ClassificationResultStatusTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ClassificationResultStatusTypeDef
def get_value() -> ClassificationResultStatusTypeDef:
return {
"code": ...,
}
Definition
class ClassificationResultStatusTypeDef(TypedDict):
code: NotRequired[str],
reason: NotRequired[str],
ClassificationScopeSummaryTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ClassificationScopeSummaryTypeDef
def get_value() -> ClassificationScopeSummaryTypeDef:
return {
"id": ...,
}
Definition
class ClassificationScopeSummaryTypeDef(TypedDict):
id: NotRequired[str],
name: NotRequired[str],
SeverityLevelTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SeverityLevelTypeDef
def get_value() -> SeverityLevelTypeDef:
return {
"occurrencesThreshold": ...,
"severity": ...,
}
Definition
class SeverityLevelTypeDef(TypedDict):
occurrencesThreshold: int,
severity: DataIdentifierSeverityType, # (1)
CreateInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import CreateInvitationsRequestRequestTypeDef
def get_value() -> CreateInvitationsRequestRequestTypeDef:
return {
"accountIds": ...,
}
Definition
class CreateInvitationsRequestRequestTypeDef(TypedDict):
accountIds: Sequence[str],
disableEmailNotification: NotRequired[bool],
message: NotRequired[str],
UnprocessedAccountTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import UnprocessedAccountTypeDef
def get_value() -> UnprocessedAccountTypeDef:
return {
"accountId": ...,
}
Definition
class UnprocessedAccountTypeDef(TypedDict):
accountId: NotRequired[str],
errorCode: NotRequired[ErrorCodeType], # (1)
errorMessage: NotRequired[str],
- See ErrorCodeType
CreateSampleFindingsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import CreateSampleFindingsRequestRequestTypeDef
def get_value() -> CreateSampleFindingsRequestRequestTypeDef:
return {
"findingTypes": ...,
}
Definition
class CreateSampleFindingsRequestRequestTypeDef(TypedDict):
findingTypes: NotRequired[Sequence[FindingTypeType]], # (1)
- See FindingTypeType
SimpleCriterionForJobTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SimpleCriterionForJobTypeDef
def get_value() -> SimpleCriterionForJobTypeDef:
return {
"comparator": ...,
}
Definition
class SimpleCriterionForJobTypeDef(TypedDict):
comparator: NotRequired[JobComparatorType], # (1)
key: NotRequired[SimpleCriterionKeyForJobType], # (2)
values: NotRequired[Sequence[str]],
CriterionAdditionalPropertiesTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import CriterionAdditionalPropertiesTypeDef
def get_value() -> CriterionAdditionalPropertiesTypeDef:
return {
"eq": ...,
}
Definition
class CriterionAdditionalPropertiesTypeDef(TypedDict):
eq: NotRequired[Sequence[str]],
eqExactMatch: NotRequired[Sequence[str]],
gt: NotRequired[int],
gte: NotRequired[int],
lt: NotRequired[int],
lte: NotRequired[int],
neq: NotRequired[Sequence[str]],
CustomDataIdentifierSummaryTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import CustomDataIdentifierSummaryTypeDef
def get_value() -> CustomDataIdentifierSummaryTypeDef:
return {
"arn": ...,
}
Definition
class CustomDataIdentifierSummaryTypeDef(TypedDict):
arn: NotRequired[str],
createdAt: NotRequired[datetime],
description: NotRequired[str],
id: NotRequired[str],
name: NotRequired[str],
DeclineInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DeclineInvitationsRequestRequestTypeDef
def get_value() -> DeclineInvitationsRequestRequestTypeDef:
return {
"accountIds": ...,
}
DeleteAllowListRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DeleteAllowListRequestRequestTypeDef
def get_value() -> DeleteAllowListRequestRequestTypeDef:
return {
"id": ...,
}
Definition
class DeleteAllowListRequestRequestTypeDef(TypedDict):
id: str,
ignoreJobChecks: NotRequired[str],
DeleteCustomDataIdentifierRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DeleteCustomDataIdentifierRequestRequestTypeDef
def get_value() -> DeleteCustomDataIdentifierRequestRequestTypeDef:
return {
"id": ...,
}
DeleteFindingsFilterRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DeleteFindingsFilterRequestRequestTypeDef
def get_value() -> DeleteFindingsFilterRequestRequestTypeDef:
return {
"id": ...,
}
DeleteInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DeleteInvitationsRequestRequestTypeDef
def get_value() -> DeleteInvitationsRequestRequestTypeDef:
return {
"accountIds": ...,
}
DeleteMemberRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DeleteMemberRequestRequestTypeDef
def get_value() -> DeleteMemberRequestRequestTypeDef:
return {
"id": ...,
}
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeClassificationJobRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DescribeClassificationJobRequestRequestTypeDef
def get_value() -> DescribeClassificationJobRequestRequestTypeDef:
return {
"jobId": ...,
}
LastRunErrorStatusTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import LastRunErrorStatusTypeDef
def get_value() -> LastRunErrorStatusTypeDef:
return {
"code": ...,
}
Definition
class LastRunErrorStatusTypeDef(TypedDict):
code: NotRequired[LastRunErrorStatusCodeType], # (1)
StatisticsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import StatisticsTypeDef
def get_value() -> StatisticsTypeDef:
return {
"approximateNumberOfObjectsToProcess": ...,
}
Definition
class StatisticsTypeDef(TypedDict):
approximateNumberOfObjectsToProcess: NotRequired[float],
numberOfRuns: NotRequired[float],
UserPausedDetailsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import UserPausedDetailsTypeDef
def get_value() -> UserPausedDetailsTypeDef:
return {
"jobExpiresAt": ...,
}
Definition
class UserPausedDetailsTypeDef(TypedDict):
jobExpiresAt: NotRequired[datetime],
jobImminentExpirationHealthEventArn: NotRequired[str],
jobPausedAt: NotRequired[datetime],
DetectedDataDetailsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DetectedDataDetailsTypeDef
def get_value() -> DetectedDataDetailsTypeDef:
return {
"value": ...,
}
DetectionTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DetectionTypeDef
def get_value() -> DetectionTypeDef:
return {
"arn": ...,
}
Definition
class DetectionTypeDef(TypedDict):
arn: NotRequired[str],
count: NotRequired[int],
id: NotRequired[str],
name: NotRequired[str],
suppressed: NotRequired[bool],
type: NotRequired[DataIdentifierTypeType], # (1)
DisableOrganizationAdminAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DisableOrganizationAdminAccountRequestRequestTypeDef
def get_value() -> DisableOrganizationAdminAccountRequestRequestTypeDef:
return {
"adminAccountId": ...,
}
Definition
class DisableOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
adminAccountId: str,
DisassociateMemberRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DisassociateMemberRequestRequestTypeDef
def get_value() -> DisassociateMemberRequestRequestTypeDef:
return {
"id": ...,
}
DomainDetailsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import DomainDetailsTypeDef
def get_value() -> DomainDetailsTypeDef:
return {
"domainName": ...,
}
EnableMacieRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import EnableMacieRequestRequestTypeDef
def get_value() -> EnableMacieRequestRequestTypeDef:
return {
"clientToken": ...,
}
Definition
class EnableMacieRequestRequestTypeDef(TypedDict):
clientToken: NotRequired[str],
findingPublishingFrequency: NotRequired[FindingPublishingFrequencyType], # (1)
status: NotRequired[MacieStatusType], # (2)
EnableOrganizationAdminAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import EnableOrganizationAdminAccountRequestRequestTypeDef
def get_value() -> EnableOrganizationAdminAccountRequestRequestTypeDef:
return {
"adminAccountId": ...,
}
Definition
class EnableOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
adminAccountId: str,
clientToken: NotRequired[str],
FindingStatisticsSortCriteriaTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import FindingStatisticsSortCriteriaTypeDef
def get_value() -> FindingStatisticsSortCriteriaTypeDef:
return {
"attributeName": ...,
}
Definition
class FindingStatisticsSortCriteriaTypeDef(TypedDict):
attributeName: NotRequired[FindingStatisticsSortAttributeNameType], # (1)
orderBy: NotRequired[OrderByType], # (2)
SeverityTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SeverityTypeDef
def get_value() -> SeverityTypeDef:
return {
"description": ...,
}
Definition
class SeverityTypeDef(TypedDict):
description: NotRequired[SeverityDescriptionType], # (1)
score: NotRequired[int],
FindingsFilterListItemTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import FindingsFilterListItemTypeDef
def get_value() -> FindingsFilterListItemTypeDef:
return {
"action": ...,
}
Definition
class FindingsFilterListItemTypeDef(TypedDict):
action: NotRequired[FindingsFilterActionType], # (1)
arn: NotRequired[str],
id: NotRequired[str],
name: NotRequired[str],
tags: NotRequired[Dict[str, str]],
InvitationTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import InvitationTypeDef
def get_value() -> InvitationTypeDef:
return {
"accountId": ...,
}
Definition
class InvitationTypeDef(TypedDict):
accountId: NotRequired[str],
invitationId: NotRequired[str],
invitedAt: NotRequired[datetime],
relationshipStatus: NotRequired[RelationshipStatusType], # (1)
GetAllowListRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetAllowListRequestRequestTypeDef
def get_value() -> GetAllowListRequestRequestTypeDef:
return {
"id": ...,
}
GetBucketStatisticsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetBucketStatisticsRequestRequestTypeDef
def get_value() -> GetBucketStatisticsRequestRequestTypeDef:
return {
"accountId": ...,
}
GetClassificationScopeRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetClassificationScopeRequestRequestTypeDef
def get_value() -> GetClassificationScopeRequestRequestTypeDef:
return {
"id": ...,
}
GetCustomDataIdentifierRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetCustomDataIdentifierRequestRequestTypeDef
def get_value() -> GetCustomDataIdentifierRequestRequestTypeDef:
return {
"id": ...,
}
GroupCountTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GroupCountTypeDef
def get_value() -> GroupCountTypeDef:
return {
"count": ...,
}
GetFindingsFilterRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetFindingsFilterRequestRequestTypeDef
def get_value() -> GetFindingsFilterRequestRequestTypeDef:
return {
"id": ...,
}
SecurityHubConfigurationTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SecurityHubConfigurationTypeDef
def get_value() -> SecurityHubConfigurationTypeDef:
return {
"publishClassificationFindings": ...,
"publishPolicyFindings": ...,
}
Definition
class SecurityHubConfigurationTypeDef(TypedDict):
publishClassificationFindings: bool,
publishPolicyFindings: bool,
SortCriteriaTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SortCriteriaTypeDef
def get_value() -> SortCriteriaTypeDef:
return {
"attributeName": ...,
}
Definition
class SortCriteriaTypeDef(TypedDict):
attributeName: NotRequired[str],
orderBy: NotRequired[OrderByType], # (1)
- See OrderByType
GetMemberRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetMemberRequestRequestTypeDef
def get_value() -> GetMemberRequestRequestTypeDef:
return {
"id": ...,
}
GetResourceProfileRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetResourceProfileRequestRequestTypeDef
def get_value() -> GetResourceProfileRequestRequestTypeDef:
return {
"resourceArn": ...,
}
ResourceStatisticsTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ResourceStatisticsTypeDef
def get_value() -> ResourceStatisticsTypeDef:
return {
"totalBytesClassified": ...,
}
Definition
class ResourceStatisticsTypeDef(TypedDict):
totalBytesClassified: NotRequired[int],
totalDetections: NotRequired[int],
totalDetectionsSuppressed: NotRequired[int],
totalItemsClassified: NotRequired[int],
totalItemsSensitive: NotRequired[int],
totalItemsSkipped: NotRequired[int],
totalItemsSkippedInvalidEncryption: NotRequired[int],
totalItemsSkippedInvalidKms: NotRequired[int],
totalItemsSkippedPermissionDenied: NotRequired[int],
RevealConfigurationTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import RevealConfigurationTypeDef
def get_value() -> RevealConfigurationTypeDef:
return {
"status": ...,
}
Definition
class RevealConfigurationTypeDef(TypedDict):
status: RevealStatusType, # (1)
kmsKeyId: NotRequired[str],
- See RevealStatusType
GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef
def get_value() -> GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef:
return {
"findingId": ...,
}
Definition
class GetSensitiveDataOccurrencesAvailabilityRequestRequestTypeDef(TypedDict):
findingId: str,
WaiterConfigTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
Definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
GetSensitiveDataOccurrencesRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetSensitiveDataOccurrencesRequestRequestTypeDef
def get_value() -> GetSensitiveDataOccurrencesRequestRequestTypeDef:
return {
"findingId": ...,
}
GetSensitivityInspectionTemplateRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetSensitivityInspectionTemplateRequestRequestTypeDef
def get_value() -> GetSensitivityInspectionTemplateRequestRequestTypeDef:
return {
"id": ...,
}
SensitivityInspectionTemplateExcludesTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SensitivityInspectionTemplateExcludesTypeDef
def get_value() -> SensitivityInspectionTemplateExcludesTypeDef:
return {
"managedDataIdentifierIds": ...,
}
Definition
class SensitivityInspectionTemplateExcludesTypeDef(TypedDict):
managedDataIdentifierIds: NotRequired[List[str]],
SensitivityInspectionTemplateIncludesTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SensitivityInspectionTemplateIncludesTypeDef
def get_value() -> SensitivityInspectionTemplateIncludesTypeDef:
return {
"allowListIds": ...,
}
Definition
class SensitivityInspectionTemplateIncludesTypeDef(TypedDict):
allowListIds: NotRequired[List[str]],
customDataIdentifierIds: NotRequired[List[str]],
managedDataIdentifierIds: NotRequired[List[str]],
UsageStatisticsFilterTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import UsageStatisticsFilterTypeDef
def get_value() -> UsageStatisticsFilterTypeDef:
return {
"comparator": ...,
}
Definition
class UsageStatisticsFilterTypeDef(TypedDict):
comparator: NotRequired[UsageStatisticsFilterComparatorType], # (1)
key: NotRequired[UsageStatisticsFilterKeyType], # (2)
values: NotRequired[Sequence[str]],
UsageStatisticsSortByTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import UsageStatisticsSortByTypeDef
def get_value() -> UsageStatisticsSortByTypeDef:
return {
"key": ...,
}
Definition
class UsageStatisticsSortByTypeDef(TypedDict):
key: NotRequired[UsageStatisticsSortKeyType], # (1)
orderBy: NotRequired[OrderByType], # (2)
GetUsageTotalsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import GetUsageTotalsRequestRequestTypeDef
def get_value() -> GetUsageTotalsRequestRequestTypeDef:
return {
"timeRange": ...,
}
UsageTotalTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import UsageTotalTypeDef
def get_value() -> UsageTotalTypeDef:
return {
"currency": ...,
}
Definition
class UsageTotalTypeDef(TypedDict):
currency: NotRequired[CurrencyType], # (1)
estimatedCost: NotRequired[str],
type: NotRequired[UsageTypeType], # (2)
- See CurrencyType
- See UsageTypeType
IamUserTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import IamUserTypeDef
def get_value() -> IamUserTypeDef:
return {
"accountId": ...,
}
Definition
class IamUserTypeDef(TypedDict):
accountId: NotRequired[str],
arn: NotRequired[str],
principalId: NotRequired[str],
userName: NotRequired[str],
IpCityTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import IpCityTypeDef
def get_value() -> IpCityTypeDef:
return {
"name": ...,
}
IpCountryTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import IpCountryTypeDef
def get_value() -> IpCountryTypeDef:
return {
"code": ...,
}
IpGeoLocationTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import IpGeoLocationTypeDef
def get_value() -> IpGeoLocationTypeDef:
return {
"lat": ...,
}
IpOwnerTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import IpOwnerTypeDef
def get_value() -> IpOwnerTypeDef:
return {
"asn": ...,
}
Definition
class IpOwnerTypeDef(TypedDict):
asn: NotRequired[str],
asnOrg: NotRequired[str],
isp: NotRequired[str],
org: NotRequired[str],
MonthlyScheduleTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import MonthlyScheduleTypeDef
def get_value() -> MonthlyScheduleTypeDef:
return {
"dayOfMonth": ...,
}
WeeklyScheduleTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import WeeklyScheduleTypeDef
def get_value() -> WeeklyScheduleTypeDef:
return {
"dayOfWeek": ...,
}
- See DayOfWeekType
SimpleScopeTermTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import SimpleScopeTermTypeDef
def get_value() -> SimpleScopeTermTypeDef:
return {
"comparator": ...,
}
Definition
class SimpleScopeTermTypeDef(TypedDict):
comparator: NotRequired[JobComparatorType], # (1)
key: NotRequired[ScopeFilterKeyType], # (2)
values: NotRequired[Sequence[str]],
- See JobComparatorType
- See ScopeFilterKeyType
S3BucketDefinitionForJobTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import S3BucketDefinitionForJobTypeDef
def get_value() -> S3BucketDefinitionForJobTypeDef:
return {
"accountId": ...,
"buckets": ...,
}
ListAllowListsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListAllowListsRequestRequestTypeDef
def get_value() -> ListAllowListsRequestRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListAllowListsRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListJobsSortCriteriaTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListJobsSortCriteriaTypeDef
def get_value() -> ListJobsSortCriteriaTypeDef:
return {
"attributeName": ...,
}
Definition
class ListJobsSortCriteriaTypeDef(TypedDict):
attributeName: NotRequired[ListJobsSortAttributeNameType], # (1)
orderBy: NotRequired[OrderByType], # (2)
ListClassificationScopesRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListClassificationScopesRequestRequestTypeDef
def get_value() -> ListClassificationScopesRequestRequestTypeDef:
return {
"name": ...,
}
Definition
class ListClassificationScopesRequestRequestTypeDef(TypedDict):
name: NotRequired[str],
nextToken: NotRequired[str],
ListCustomDataIdentifiersRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListCustomDataIdentifiersRequestRequestTypeDef
def get_value() -> ListCustomDataIdentifiersRequestRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListCustomDataIdentifiersRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListFindingsFiltersRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListFindingsFiltersRequestRequestTypeDef
def get_value() -> ListFindingsFiltersRequestRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListFindingsFiltersRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListInvitationsRequestRequestTypeDef
def get_value() -> ListInvitationsRequestRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListInvitationsRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListJobsFilterTermTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListJobsFilterTermTypeDef
def get_value() -> ListJobsFilterTermTypeDef:
return {
"comparator": ...,
}
Definition
class ListJobsFilterTermTypeDef(TypedDict):
comparator: NotRequired[JobComparatorType], # (1)
key: NotRequired[ListJobsFilterKeyType], # (2)
values: NotRequired[Sequence[str]],
ListManagedDataIdentifiersRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListManagedDataIdentifiersRequestRequestTypeDef
def get_value() -> ListManagedDataIdentifiersRequestRequestTypeDef:
return {
"nextToken": ...,
}
Definition
class ListManagedDataIdentifiersRequestRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
ManagedDataIdentifierSummaryTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ManagedDataIdentifierSummaryTypeDef
def get_value() -> ManagedDataIdentifierSummaryTypeDef:
return {
"category": ...,
}
Definition
class ManagedDataIdentifierSummaryTypeDef(TypedDict):
category: NotRequired[SensitiveDataItemCategoryType], # (1)
id: NotRequired[str],
ListMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListMembersRequestRequestTypeDef
def get_value() -> ListMembersRequestRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListMembersRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
onlyAssociated: NotRequired[str],
MemberTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import MemberTypeDef
def get_value() -> MemberTypeDef:
return {
"accountId": ...,
}
Definition
class MemberTypeDef(TypedDict):
accountId: NotRequired[str],
administratorAccountId: NotRequired[str],
arn: NotRequired[str],
email: NotRequired[str],
invitedAt: NotRequired[datetime],
masterAccountId: NotRequired[str],
relationshipStatus: NotRequired[RelationshipStatusType], # (1)
tags: NotRequired[Dict[str, str]],
updatedAt: NotRequired[datetime],
ListOrganizationAdminAccountsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListOrganizationAdminAccountsRequestRequestTypeDef
def get_value() -> ListOrganizationAdminAccountsRequestRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListOrganizationAdminAccountsRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListResourceProfileArtifactsRequestRequestTypeDef
Usage Example
from mypy_boto3_macie2.type_defs import ListResourceProfileArtifactsRequestRequestTypeDef
def get_value() -> ListResourceProfileArtifactsRequestRequestTypeDef:
return {
"resourceArn": ...,
}
Definition
class ListResourceProfileArtifactsRequestRequestTypeDef(TypedDict):
resourceArn: str,
nextToken: NotRequired[str],