Skip to content

Typed dictionaries

Index > Macie2 > 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": ...,
    }
Definition
class AccountDetailTypeDef(TypedDict):
    accountId: str,
    email: str,

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)
  1. See AdminStatusType

S3WordsListTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3WordsListTypeDef

def get_value() -> S3WordsListTypeDef:
    return {
        "bucketName": ...,
        "objectKey": ...,
    }
Definition
class S3WordsListTypeDef(TypedDict):
    bucketName: str,
    objectKey: str,

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],
  1. See AllowListStatusCodeType

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": ...,
    }
Definition
class AwsServiceTypeDef(TypedDict):
    invokedBy: NotRequired[str],

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)
  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],
  1. See IsDefinedInJobType
  2. See IsMonitoredByJobType

KeyValuePairTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import KeyValuePairTypeDef

def get_value() -> KeyValuePairTypeDef:
    return {
        "key": ...,
    }
Definition
class KeyValuePairTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

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)
  1. See OrderByType

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],

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)
  1. See DataIdentifierSeverityType

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],
  1. 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)
  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]],
  1. See JobComparatorType
  2. See SimpleCriterionKeyForJobType

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": ...,
    }
Definition
class DeclineInvitationsRequestRequestTypeDef(TypedDict):
    accountIds: Sequence[str],

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": ...,
    }
Definition
class DeleteCustomDataIdentifierRequestRequestTypeDef(TypedDict):
    id: str,

DeleteFindingsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DeleteFindingsFilterRequestRequestTypeDef

def get_value() -> DeleteFindingsFilterRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class DeleteFindingsFilterRequestRequestTypeDef(TypedDict):
    id: str,

DeleteInvitationsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DeleteInvitationsRequestRequestTypeDef

def get_value() -> DeleteInvitationsRequestRequestTypeDef:
    return {
        "accountIds": ...,
    }
Definition
class DeleteInvitationsRequestRequestTypeDef(TypedDict):
    accountIds: Sequence[str],

DeleteMemberRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DeleteMemberRequestRequestTypeDef

def get_value() -> DeleteMemberRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class DeleteMemberRequestRequestTypeDef(TypedDict):
    id: str,

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": ...,
    }
Definition
class DescribeClassificationJobRequestRequestTypeDef(TypedDict):
    jobId: str,

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)
  1. See LastRunErrorStatusCodeType

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": ...,
    }
Definition
class DetectedDataDetailsTypeDef(TypedDict):
    value: str,

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": ...,
    }
Definition
class DisassociateMemberRequestRequestTypeDef(TypedDict):
    id: str,

DomainDetailsTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DomainDetailsTypeDef

def get_value() -> DomainDetailsTypeDef:
    return {
        "domainName": ...,
    }
Definition
class DomainDetailsTypeDef(TypedDict):
    domainName: NotRequired[str],

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)
  1. See FindingPublishingFrequencyType
  2. See MacieStatusType

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)
  1. See FindingStatisticsSortAttributeNameType
  2. See OrderByType

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],
  1. See SeverityDescriptionType

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]],
  1. See FindingsFilterActionType

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)
  1. See RelationshipStatusType

GetAllowListRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetAllowListRequestRequestTypeDef

def get_value() -> GetAllowListRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class GetAllowListRequestRequestTypeDef(TypedDict):
    id: str,

GetBucketStatisticsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetBucketStatisticsRequestRequestTypeDef

def get_value() -> GetBucketStatisticsRequestRequestTypeDef:
    return {
        "accountId": ...,
    }
Definition
class GetBucketStatisticsRequestRequestTypeDef(TypedDict):
    accountId: NotRequired[str],

GetCustomDataIdentifierRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetCustomDataIdentifierRequestRequestTypeDef

def get_value() -> GetCustomDataIdentifierRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class GetCustomDataIdentifierRequestRequestTypeDef(TypedDict):
    id: str,

GroupCountTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GroupCountTypeDef

def get_value() -> GroupCountTypeDef:
    return {
        "count": ...,
    }
Definition
class GroupCountTypeDef(TypedDict):
    count: NotRequired[int],
    groupKey: NotRequired[str],

GetFindingsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingsFilterRequestRequestTypeDef

def get_value() -> GetFindingsFilterRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class GetFindingsFilterRequestRequestTypeDef(TypedDict):
    id: str,

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)
  1. See OrderByType

GetMemberRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetMemberRequestRequestTypeDef

def get_value() -> GetMemberRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class GetMemberRequestRequestTypeDef(TypedDict):
    id: str,

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],
  1. 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": ...,
    }
Definition
class GetSensitiveDataOccurrencesRequestRequestTypeDef(TypedDict):
    findingId: 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]],
  1. See UsageStatisticsFilterComparatorType
  2. See UsageStatisticsFilterKeyType

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)
  1. See UsageStatisticsSortKeyType
  2. See OrderByType

GetUsageTotalsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetUsageTotalsRequestRequestTypeDef

def get_value() -> GetUsageTotalsRequestRequestTypeDef:
    return {
        "timeRange": ...,
    }
Definition
class GetUsageTotalsRequestRequestTypeDef(TypedDict):
    timeRange: NotRequired[str],

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)
  1. See CurrencyType
  2. 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": ...,
    }
Definition
class IpCityTypeDef(TypedDict):
    name: NotRequired[str],

IpCountryTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import IpCountryTypeDef

def get_value() -> IpCountryTypeDef:
    return {
        "code": ...,
    }
Definition
class IpCountryTypeDef(TypedDict):
    code: NotRequired[str],
    name: NotRequired[str],

IpGeoLocationTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import IpGeoLocationTypeDef

def get_value() -> IpGeoLocationTypeDef:
    return {
        "lat": ...,
    }
Definition
class IpGeoLocationTypeDef(TypedDict):
    lat: NotRequired[float],
    lon: NotRequired[float],

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": ...,
    }
Definition
class MonthlyScheduleTypeDef(TypedDict):
    dayOfMonth: NotRequired[int],

WeeklyScheduleTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import WeeklyScheduleTypeDef

def get_value() -> WeeklyScheduleTypeDef:
    return {
        "dayOfWeek": ...,
    }
Definition
class WeeklyScheduleTypeDef(TypedDict):
    dayOfWeek: NotRequired[DayOfWeekType],  # (1)
  1. 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]],
  1. See JobComparatorType
  2. See ScopeFilterKeyType

S3BucketDefinitionForJobTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3BucketDefinitionForJobTypeDef

def get_value() -> S3BucketDefinitionForJobTypeDef:
    return {
        "accountId": ...,
        "buckets": ...,
    }
Definition
class S3BucketDefinitionForJobTypeDef(TypedDict):
    accountId: str,
    buckets: Sequence[str],

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)
  1. See ListJobsSortAttributeNameType
  2. See OrderByType

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]],
  1. See JobComparatorType
  2. See ListJobsFilterKeyType

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],
  1. See SensitiveDataItemCategoryType

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],
  1. See RelationshipStatusType

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],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

RangeTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import RangeTypeDef

def get_value() -> RangeTypeDef:
    return {
        "end": ...,
    }
Definition
class RangeTypeDef(TypedDict):
    end: NotRequired[int],
    start: NotRequired[int],
    startColumn: NotRequired[int],

RecordTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import RecordTypeDef

def get_value() -> RecordTypeDef:
    return {
        "jsonPath": ...,
    }
Definition
class RecordTypeDef(TypedDict):
    jsonPath: NotRequired[str],
    recordIndex: NotRequired[int],

S3BucketOwnerTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3BucketOwnerTypeDef

def get_value() -> S3BucketOwnerTypeDef:
    return {
        "displayName": ...,
    }
Definition
class S3BucketOwnerTypeDef(TypedDict):
    displayName: NotRequired[str],
    id: NotRequired[str],

ServerSideEncryptionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ServerSideEncryptionTypeDef

def get_value() -> ServerSideEncryptionTypeDef:
    return {
        "encryptionType": ...,
    }
Definition
class ServerSideEncryptionTypeDef(TypedDict):
    encryptionType: NotRequired[EncryptionTypeType],  # (1)
    kmsMasterKeyId: NotRequired[str],
  1. See EncryptionTypeType

SearchResourcesSimpleCriterionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesSimpleCriterionTypeDef

def get_value() -> SearchResourcesSimpleCriterionTypeDef:
    return {
        "comparator": ...,
    }
Definition
class SearchResourcesSimpleCriterionTypeDef(TypedDict):
    comparator: NotRequired[SearchResourcesComparatorType],  # (1)
    key: NotRequired[SearchResourcesSimpleCriterionKeyType],  # (2)
    values: NotRequired[Sequence[str]],
  1. See SearchResourcesComparatorType
  2. See SearchResourcesSimpleCriterionKeyType

SearchResourcesSortCriteriaTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesSortCriteriaTypeDef

def get_value() -> SearchResourcesSortCriteriaTypeDef:
    return {
        "attributeName": ...,
    }
Definition
class SearchResourcesSortCriteriaTypeDef(TypedDict):
    attributeName: NotRequired[SearchResourcesSortAttributeNameType],  # (1)
    orderBy: NotRequired[OrderByType],  # (2)
  1. See SearchResourcesSortAttributeNameType
  2. See OrderByType

SearchResourcesTagCriterionPairTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesTagCriterionPairTypeDef

def get_value() -> SearchResourcesTagCriterionPairTypeDef:
    return {
        "key": ...,
    }
Definition
class SearchResourcesTagCriterionPairTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

ServiceLimitTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ServiceLimitTypeDef

def get_value() -> ServiceLimitTypeDef:
    return {
        "isServiceLimited": ...,
    }
Definition
class ServiceLimitTypeDef(TypedDict):
    isServiceLimited: NotRequired[bool],
    unit: NotRequired[UnitType],  # (1)
    value: NotRequired[int],
  1. See UnitType

SessionContextAttributesTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SessionContextAttributesTypeDef

def get_value() -> SessionContextAttributesTypeDef:
    return {
        "creationDate": ...,
    }
Definition
class SessionContextAttributesTypeDef(TypedDict):
    creationDate: NotRequired[datetime],
    mfaAuthenticated: NotRequired[bool],

SessionIssuerTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SessionIssuerTypeDef

def get_value() -> SessionIssuerTypeDef:
    return {
        "accountId": ...,
    }
Definition
class SessionIssuerTypeDef(TypedDict):
    accountId: NotRequired[str],
    arn: NotRequired[str],
    principalId: NotRequired[str],
    type: NotRequired[str],
    userName: NotRequired[str],

TagCriterionPairForJobTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TagCriterionPairForJobTypeDef

def get_value() -> TagCriterionPairForJobTypeDef:
    return {
        "key": ...,
    }
Definition
class TagCriterionPairForJobTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

TagValuePairTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TagValuePairTypeDef

def get_value() -> TagValuePairTypeDef:
    return {
        "key": ...,
    }
Definition
class TagValuePairTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

TestCustomDataIdentifierRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TestCustomDataIdentifierRequestRequestTypeDef

def get_value() -> TestCustomDataIdentifierRequestRequestTypeDef:
    return {
        "regex": ...,
        "sampleText": ...,
    }
Definition
class TestCustomDataIdentifierRequestRequestTypeDef(TypedDict):
    regex: str,
    sampleText: str,
    ignoreWords: NotRequired[Sequence[str]],
    keywords: NotRequired[Sequence[str]],
    maximumMatchDistance: NotRequired[int],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateClassificationJobRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateClassificationJobRequestRequestTypeDef

def get_value() -> UpdateClassificationJobRequestRequestTypeDef:
    return {
        "jobId": ...,
        "jobStatus": ...,
    }
Definition
class UpdateClassificationJobRequestRequestTypeDef(TypedDict):
    jobId: str,
    jobStatus: JobStatusType,  # (1)
  1. See JobStatusType

UpdateMacieSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateMacieSessionRequestRequestTypeDef

def get_value() -> UpdateMacieSessionRequestRequestTypeDef:
    return {
        "findingPublishingFrequency": ...,
    }
Definition
class UpdateMacieSessionRequestRequestTypeDef(TypedDict):
    findingPublishingFrequency: NotRequired[FindingPublishingFrequencyType],  # (1)
    status: NotRequired[MacieStatusType],  # (2)
  1. See FindingPublishingFrequencyType
  2. See MacieStatusType

UpdateMemberSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateMemberSessionRequestRequestTypeDef

def get_value() -> UpdateMemberSessionRequestRequestTypeDef:
    return {
        "id": ...,
        "status": ...,
    }
Definition
class UpdateMemberSessionRequestRequestTypeDef(TypedDict):
    id: str,
    status: MacieStatusType,  # (1)
  1. See MacieStatusType

UpdateOrganizationConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateOrganizationConfigurationRequestRequestTypeDef

def get_value() -> UpdateOrganizationConfigurationRequestRequestTypeDef:
    return {
        "autoEnable": ...,
    }
Definition
class UpdateOrganizationConfigurationRequestRequestTypeDef(TypedDict):
    autoEnable: bool,

UserIdentityRootTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UserIdentityRootTypeDef

def get_value() -> UserIdentityRootTypeDef:
    return {
        "accountId": ...,
    }
Definition
class UserIdentityRootTypeDef(TypedDict):
    accountId: NotRequired[str],
    arn: NotRequired[str],
    principalId: NotRequired[str],

CreateMemberRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateMemberRequestRequestTypeDef

def get_value() -> CreateMemberRequestRequestTypeDef:
    return {
        "account": ...,
    }
Definition
class CreateMemberRequestRequestTypeDef(TypedDict):
    account: AccountDetailTypeDef,  # (1)
    tags: NotRequired[Mapping[str, str]],
  1. See AccountDetailTypeDef

AccountLevelPermissionsTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import AccountLevelPermissionsTypeDef

def get_value() -> AccountLevelPermissionsTypeDef:
    return {
        "blockPublicAccess": ...,
    }
Definition
class AccountLevelPermissionsTypeDef(TypedDict):
    blockPublicAccess: NotRequired[BlockPublicAccessTypeDef],  # (1)
  1. See BlockPublicAccessTypeDef

AllowListCriteriaTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import AllowListCriteriaTypeDef

def get_value() -> AllowListCriteriaTypeDef:
    return {
        "regex": ...,
    }
Definition
class AllowListCriteriaTypeDef(TypedDict):
    regex: NotRequired[str],
    s3WordsList: NotRequired[S3WordsListTypeDef],  # (1)
  1. See S3WordsListTypeDef

FindingActionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import FindingActionTypeDef

def get_value() -> FindingActionTypeDef:
    return {
        "actionType": ...,
    }
Definition
class FindingActionTypeDef(TypedDict):
    actionType: NotRequired[FindingActionTypeType],  # (1)
    apiCallDetails: NotRequired[ApiCallDetailsTypeDef],  # (2)
  1. See FindingActionTypeType
  2. See ApiCallDetailsTypeDef

BatchGetCustomDataIdentifiersResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import BatchGetCustomDataIdentifiersResponseTypeDef

def get_value() -> BatchGetCustomDataIdentifiersResponseTypeDef:
    return {
        "customDataIdentifiers": ...,
        "notFoundIdentifierIds": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetCustomDataIdentifiersResponseTypeDef(TypedDict):
    customDataIdentifiers: List[BatchGetCustomDataIdentifierSummaryTypeDef],  # (1)
    notFoundIdentifierIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchGetCustomDataIdentifierSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateAllowListResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateAllowListResponseTypeDef

def get_value() -> CreateAllowListResponseTypeDef:
    return {
        "arn": ...,
        "id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAllowListResponseTypeDef(TypedDict):
    arn: str,
    id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateClassificationJobResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateClassificationJobResponseTypeDef

def get_value() -> CreateClassificationJobResponseTypeDef:
    return {
        "jobArn": ...,
        "jobId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateClassificationJobResponseTypeDef(TypedDict):
    jobArn: str,
    jobId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateCustomDataIdentifierResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateCustomDataIdentifierResponseTypeDef

def get_value() -> CreateCustomDataIdentifierResponseTypeDef:
    return {
        "customDataIdentifierId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCustomDataIdentifierResponseTypeDef(TypedDict):
    customDataIdentifierId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateFindingsFilterResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateFindingsFilterResponseTypeDef

def get_value() -> CreateFindingsFilterResponseTypeDef:
    return {
        "arn": ...,
        "id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFindingsFilterResponseTypeDef(TypedDict):
    arn: str,
    id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateMemberResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateMemberResponseTypeDef

def get_value() -> CreateMemberResponseTypeDef:
    return {
        "arn": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateMemberResponseTypeDef(TypedDict):
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeOrganizationConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DescribeOrganizationConfigurationResponseTypeDef

def get_value() -> DescribeOrganizationConfigurationResponseTypeDef:
    return {
        "autoEnable": ...,
        "maxAccountLimitReached": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeOrganizationConfigurationResponseTypeDef(TypedDict):
    autoEnable: bool,
    maxAccountLimitReached: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetInvitationsCountResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetInvitationsCountResponseTypeDef

def get_value() -> GetInvitationsCountResponseTypeDef:
    return {
        "invitationsCount": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetInvitationsCountResponseTypeDef(TypedDict):
    invitationsCount: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetMacieSessionResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetMacieSessionResponseTypeDef

def get_value() -> GetMacieSessionResponseTypeDef:
    return {
        "createdAt": ...,
        "findingPublishingFrequency": ...,
        "serviceRole": ...,
        "status": ...,
        "updatedAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMacieSessionResponseTypeDef(TypedDict):
    createdAt: datetime,
    findingPublishingFrequency: FindingPublishingFrequencyType,  # (1)
    serviceRole: str,
    status: MacieStatusType,  # (2)
    updatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FindingPublishingFrequencyType
  2. See MacieStatusType
  3. See ResponseMetadataTypeDef

GetMemberResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetMemberResponseTypeDef

def get_value() -> GetMemberResponseTypeDef:
    return {
        "accountId": ...,
        "administratorAccountId": ...,
        "arn": ...,
        "email": ...,
        "invitedAt": ...,
        "masterAccountId": ...,
        "relationshipStatus": ...,
        "tags": ...,
        "updatedAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMemberResponseTypeDef(TypedDict):
    accountId: str,
    administratorAccountId: str,
    arn: str,
    email: str,
    invitedAt: datetime,
    masterAccountId: str,
    relationshipStatus: RelationshipStatusType,  # (1)
    tags: Dict[str, str],
    updatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RelationshipStatusType
  2. See ResponseMetadataTypeDef

GetSensitiveDataOccurrencesAvailabilityResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetSensitiveDataOccurrencesAvailabilityResponseTypeDef

def get_value() -> GetSensitiveDataOccurrencesAvailabilityResponseTypeDef:
    return {
        "code": ...,
        "reasons":