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

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

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

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

GetClassificationScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetClassificationScopeRequestRequestTypeDef

def get_value() -> GetClassificationScopeRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class GetClassificationScopeRequestRequestTypeDef(TypedDict):
    id: 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,

GetResourceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetResourceProfileRequestRequestTypeDef

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

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

GetSensitivityInspectionTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetSensitivityInspectionTemplateRequestRequestTypeDef

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

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

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

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

ResourceProfileArtifactTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ResourceProfileArtifactTypeDef

def get_value() -> ResourceProfileArtifactTypeDef:
    return {
        "arn": ...,
        "classificationResultStatus": ...,
    }
Definition
class ResourceProfileArtifactTypeDef(TypedDict):
    arn: str,
    classificationResultStatus: str,
    sensitive: NotRequired[bool],

ListResourceProfileDetectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListResourceProfileDetectionsRequestRequestTypeDef

def get_value() -> ListResourceProfileDetectionsRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListResourceProfileDetectionsRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListSensitivityInspectionTemplatesRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListSensitivityInspectionTemplatesRequestRequestTypeDef

def get_value() -> ListSensitivityInspectionTemplatesRequestRequestTypeDef:
    return {
        "maxResults": ...,
    }
Definition
class ListSensitivityInspectionTemplatesRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

SensitivityInspectionTemplatesEntryTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SensitivityInspectionTemplatesEntryTypeDef

def get_value() -> SensitivityInspectionTemplatesEntryTypeDef:
    return {
        "id": ...,
    }
Definition
class SensitivityInspectionTemplatesEntryTypeDef(TypedDict):
    id: NotRequired[str],
    name: 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

S3ClassificationScopeExclusionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3ClassificationScopeExclusionTypeDef

def get_value() -> S3ClassificationScopeExclusionTypeDef:
    return {
        "bucketNames": ...,
    }
Definition
class S3ClassificationScopeExclusionTypeDef(TypedDict):
    bucketNames: List[str],

S3ClassificationScopeExclusionUpdateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3ClassificationScopeExclusionUpdateTypeDef

def get_value() -> S3ClassificationScopeExclusionUpdateTypeDef:
    return {
        "bucketNames": ...,
        "operation": ...,
    }
Definition
class S3ClassificationScopeExclusionUpdateTypeDef(TypedDict):
    bucketNames: Sequence[str],
    operation: ClassificationScopeUpdateOperationType,  # (1)
  1. See ClassificationScopeUpdateOperationType

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

SuppressDataIdentifierTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SuppressDataIdentifierTypeDef

def get_value() -> SuppressDataIdentifierTypeDef:
    return {
        "id": ...,
    }
Definition
class SuppressDataIdentifierTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[DataIdentifierTypeType],  # (1)
  1. See DataIdentifierTypeType

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

UpdateAutomatedDiscoveryConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateAutomatedDiscoveryConfigurationRequestRequestTypeDef

def get_value() -> UpdateAutomatedDiscoveryConfigurationRequestRequestTypeDef:
    return {
        "status": ...,
    }
Definition
class UpdateAutomatedDiscoveryConfigurationRequestRequestTypeDef(TypedDict):
    status: AutomatedDiscoveryStatusType,  # (1)
  1. See AutomatedDiscoveryStatusType

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,

UpdateResourceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateResourceProfileRequestRequestTypeDef

def get_value() -> UpdateResourceProfileRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class UpdateResourceProfileRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    sensitivityScoreOverride: NotRequired[int],

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

GetAutomatedDiscoveryConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetAutomatedDiscoveryConfigurationResponseTypeDef

def get_value() -> GetAutomatedDiscoveryConfigurationResponseTypeDef:
    return {
        "classificationScopeId": ...,
        "disabledAt": ...,
        "firstEnabledAt": ...,
        "lastUpdatedAt": ...,
        "sensitivityInspectionTemplateId": ...,
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAutomatedDiscoveryConfigurationResponseTypeDef(TypedDict):
    classificationScopeId: str,
    disabledAt: datetime,
    firstEnabledAt: datetime,
    lastUpdatedAt: datetime,
    sensitivityInspectionTemplateId: str,
    status: AutomatedDiscoveryStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutomatedDiscoveryStatusType
  2. 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": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSensitiveDataOccurrencesAvailabilityResponseTypeDef(TypedDict):
    code: AvailabilityCodeType,  # (1)
    reasons: List[UnavailabilityReasonCodeType],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AvailabilityCodeType
  2. See UnavailabilityReasonCodeType
  3. See ResponseMetadataTypeDef

ListAllowListsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListAllowListsResponseTypeDef

def get_value() -> ListAllowListsResponseTypeDef:
    return {
        "allowLists": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAllowListsResponseTypeDef(TypedDict):
    allowLists: List[AllowListSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AllowListSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListFindingsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListFindingsResponseTypeDef

def get_value() -> ListFindingsResponseTypeDef:
    return {
        "findingIds": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFindingsResponseTypeDef(TypedDict):
    findingIds: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListOrganizationAdminAccountsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListOrganizationAdminAccountsResponseTypeDef

def get_value() -> ListOrganizationAdminAccountsResponseTypeDef:
    return {
        "adminAccounts": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListOrganizationAdminAccountsResponseTypeDef(TypedDict):
    adminAccounts: List[AdminAccountTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AdminAccountTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

TestCustomDataIdentifierResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TestCustomDataIdentifierResponseTypeDef

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

UpdateAllowListResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateAllowListResponseTypeDef

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

UpdateFindingsFilterResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateFindingsFilterResponseTypeDef

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

BucketLevelPermissionsTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import BucketLevelPermissionsTypeDef

def get_value() -> BucketLevelPermissionsTypeDef:
    return {
        "accessControlList": ...,
    }
Definition
class BucketLevelPermissionsTypeDef(TypedDict):
    accessControlList: NotRequired[AccessControlListTypeDef],  # (1)
    blockPublicAccess: NotRequired[BlockPublicAccessTypeDef],  # (2)
    bucketPolicy: NotRequired[BucketPolicyTypeDef],  # (3)
  1. See AccessControlListTypeDef
  2. See BlockPublicAccessTypeDef
  3. See BucketPolicyTypeDef

MatchingBucketTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import MatchingBucketTypeDef

def get_value() -> MatchingBucketTypeDef:
    return {
        "accountId": ...,
    }
Definition
class MatchingBucketTypeDef(TypedDict):
    accountId: NotRequired[str],
    bucketName: NotRequired[str],
    classifiableObjectCount: NotRequired[int],
    classifiableSizeInBytes: NotRequired[int],
    errorCode: NotRequired[BucketMetadataErrorCodeType],  # (1)
    errorMessage: NotRequired[str],
    jobDetails: NotRequired[JobDetailsTypeDef],  # (2)
    lastAutomatedDiscoveryTime: NotRequired[datetime],
    objectCount: NotRequired[int],
    objectCountByEncryptionType: NotRequired[ObjectCountByEncryptionTypeTypeDef],  # (3)
    sensitivityScore: NotRequired[int],
    sizeInBytes: NotRequired[int],
    sizeInBytesCompressed: NotRequired[int],
    unclassifiableObjectCount: NotRequired[ObjectLevelStatisticsTypeDef],  # (4)
    unclassifiableObjectSizeInBytes: NotRequired[ObjectLevelStatisticsTypeDef],  # (4)
  1. See BucketMetadataErrorCodeType
  2. See JobDetailsTypeDef
  3. See ObjectCountByEncryptionTypeTypeDef
  4. See ObjectLevelStatisticsTypeDef
  5. See ObjectLevelStatisticsTypeDef

DescribeBucketsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DescribeBucketsRequestRequestTypeDef

def get_value() -> DescribeBucketsRequestRequestTypeDef:
    return {
        "criteria": ...,
    }
Definition
class DescribeBucketsRequestRequestTypeDef(TypedDict):
    criteria: NotRequired[Mapping[str, BucketCriteriaAdditionalPropertiesTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortCriteria: NotRequired[BucketSortCriteriaTypeDef],  # (2)
  1. See BucketCriteriaAdditionalPropertiesTypeDef
  2. See BucketSortCriteriaTypeDef

BucketStatisticsBySensitivityTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import BucketStatisticsBySensitivityTypeDef

def get_value() -> BucketStatisticsBySensitivityTypeDef:
    return {
        "classificationError": ...,
    }
Definition
class BucketStatisticsBySensitivityTypeDef(TypedDict):
    classificationError: NotRequired[SensitivityAggregationsTypeDef],  # (1)
    notClassified: NotRequired[SensitivityAggregationsTypeDef],  # (1)
    notSensitive: NotRequired[SensitivityAggregationsTypeDef],  # (1)
    sensitive: NotRequired[SensitivityAggregationsTypeDef],  # (1)
  1. See SensitivityAggregationsTypeDef
  2. See SensitivityAggregationsTypeDef
  3. See SensitivityAggregationsTypeDef
  4. See SensitivityAggregationsTypeDef

ClassificationExportConfigurationTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ClassificationExportConfigurationTypeDef

def get_value() -> ClassificationExportConfigurationTypeDef:
    return {
        "s3Destination": ...,
    }
Definition
class ClassificationExportConfigurationTypeDef(TypedDict):
    s3Destination: NotRequired[S3DestinationTypeDef],  # (1)
  1. See S3DestinationTypeDef

ListClassificationScopesResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListClassificationScopesResponseTypeDef

def get_value() -> ListClassificationScopesResponseTypeDef:
    return {
        "classificationScopes": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListClassificationScopesResponseTypeDef(TypedDict):
    classificationScopes: List[ClassificationScopeSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClassificationScopeSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateCustomDataIdentifierRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateCustomDataIdentifierRequestRequestTypeDef

def get_value() -> CreateCustomDataIdentifierRequestRequestTypeDef:
    return {
        "name": ...,
        "regex": ...,
    }
Definition
class CreateCustomDataIdentifierRequestRequestTypeDef(TypedDict):
    name: str,
    regex: str,
    clientToken: NotRequired[str],
    description: NotRequired[str],
    ignoreWords: NotRequired[Sequence[str]],
    keywords: NotRequired[Sequence[str]],
    maximumMatchDistance: NotRequired[int],
    severityLevels: NotRequired[Sequence[SeverityLevelTypeDef]],  # (1)
    tags: NotRequired[Mapping[str, str]],
  1. See SeverityLevelTypeDef

GetCustomDataIdentifierResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetCustomDataIdentifierResponseTypeDef

def get_value() -> GetCustomDataIdentifierResponseTypeDef:
    return {
        "arn": ...,
        "createdAt": ...,
        "deleted": ...,
        "description": ...,
        "id": ...,
        "ignoreWords": ...,
        "keywords": ...,
        "maximumMatchDistance": ...,
        "name": ...,
        "regex": ...,
        "severityLevels": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetCustomDataIdentifierResponseTypeDef(TypedDict):
    arn: str,
    createdAt: datetime,
    deleted: bool,
    description: str,
    id: str,
    ignoreWords: List[str],
    keywords: List[str],
    maximumMatchDistance: int,
    name: str,
    regex: str,
    severityLevels: List[SeverityLevelTypeDef],  # (1)
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SeverityLevelTypeDef
  2. See ResponseMetadataTypeDef

CreateInvitationsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateInvitationsResponseTypeDef

def get_value() -> CreateInvitationsResponseTypeDef:
    return {
        "unprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateInvitationsResponseTypeDef(TypedDict):
    unprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

DeclineInvitationsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DeclineInvitationsResponseTypeDef

def get_value() -> DeclineInvitationsResponseTypeDef:
    return {
        "unprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeclineInvitationsResponseTypeDef(TypedDict):
    unprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

DeleteInvitationsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DeleteInvitationsResponseTypeDef

def get_value() -> DeleteInvitationsResponseTypeDef:
    return {
        "unprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteInvitationsResponseTypeDef(TypedDict):
    unprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

FindingCriteriaTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import FindingCriteriaTypeDef

def get_value() -> FindingCriteriaTypeDef:
    return {
        "criterion": ...,
    }
Definition
class FindingCriteriaTypeDef(TypedDict):
    criterion: NotRequired[Mapping[str, CriterionAdditionalPropertiesTypeDef]],  # (1)
  1. See CriterionAdditionalPropertiesTypeDef

ListCustomDataIdentifiersResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListCustomDataIdentifiersResponseTypeDef

def get_value() -> ListCustomDataIdentifiersResponseTypeDef:
    return {
        "items": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListCustomDataIdentifiersResponseTypeDef(TypedDict):
    items: List[CustomDataIdentifierSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CustomDataIdentifierSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeBucketsRequestDescribeBucketsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DescribeBucketsRequestDescribeBucketsPaginateTypeDef

def get_value() -> DescribeBucketsRequestDescribeBucketsPaginateTypeDef:
    return {
        "criteria": ...,
    }
Definition
class DescribeBucketsRequestDescribeBucketsPaginateTypeDef(TypedDict):
    criteria: NotRequired[Mapping[str, BucketCriteriaAdditionalPropertiesTypeDef]],  # (1)
    sortCriteria: NotRequired[BucketSortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See BucketCriteriaAdditionalPropertiesTypeDef
  2. See BucketSortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListAllowListsRequestListAllowListsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListAllowListsRequestListAllowListsPaginateTypeDef

def get_value() -> ListAllowListsRequestListAllowListsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListAllowListsRequestListAllowListsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListClassificationScopesRequestListClassificationScopesPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListClassificationScopesRequestListClassificationScopesPaginateTypeDef

def get_value() -> ListClassificationScopesRequestListClassificationScopesPaginateTypeDef:
    return {
        "name": ...,
    }
Definition
class ListClassificationScopesRequestListClassificationScopesPaginateTypeDef(TypedDict):
    name: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListCustomDataIdentifiersRequestListCustomDataIdentifiersPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListCustomDataIdentifiersRequestListCustomDataIdentifiersPaginateTypeDef

def get_value() -> ListCustomDataIdentifiersRequestListCustomDataIdentifiersPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListCustomDataIdentifiersRequestListCustomDataIdentifiersPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFindingsFiltersRequestListFindingsFiltersPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListFindingsFiltersRequestListFindingsFiltersPaginateTypeDef

def get_value() -> ListFindingsFiltersRequestListFindingsFiltersPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListFindingsFiltersRequestListFindingsFiltersPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInvitationsRequestListInvitationsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListInvitationsRequestListInvitationsPaginateTypeDef

def get_value() -> ListInvitationsRequestListInvitationsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListInvitationsRequestListInvitationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListManagedDataIdentifiersRequestListManagedDataIdentifiersPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListManagedDataIdentifiersRequestListManagedDataIdentifiersPaginateTypeDef

def get_value() -> ListManagedDataIdentifiersRequestListManagedDataIdentifiersPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListManagedDataIdentifiersRequestListManagedDataIdentifiersPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListMembersRequestListMembersPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListMembersRequestListMembersPaginateTypeDef

def get_value() -> ListMembersRequestListMembersPaginateTypeDef:
    return {
        "onlyAssociated": ...,
    }
Definition
class ListMembersRequestListMembersPaginateTypeDef(TypedDict):
    onlyAssociated: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef

def get_value() -> ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListResourceProfileArtifactsRequestListResourceProfileArtifactsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListResourceProfileArtifactsRequestListResourceProfileArtifactsPaginateTypeDef

def get_value() -> ListResourceProfileArtifactsRequestListResourceProfileArtifactsPaginateTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListResourceProfileArtifactsRequestListResourceProfileArtifactsPaginateTypeDef(TypedDict):
    resourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListResourceProfileDetectionsRequestListResourceProfileDetectionsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListResourceProfileDetectionsRequestListResourceProfileDetectionsPaginateTypeDef

def get_value() -> ListResourceProfileDetectionsRequestListResourceProfileDetectionsPaginateTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListResourceProfileDetectionsRequestListResourceProfileDetectionsPaginateTypeDef(TypedDict):
    resourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSensitivityInspectionTemplatesRequestListSensitivityInspectionTemplatesPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListSensitivityInspectionTemplatesRequestListSensitivityInspectionTemplatesPaginateTypeDef

def get_value() -> ListSensitivityInspectionTemplatesRequestListSensitivityInspectionTemplatesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListSensitivityInspectionTemplatesRequestListSensitivityInspectionTemplatesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetSensitiveDataOccurrencesResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetSensitiveDataOccurrencesResponseTypeDef

def get_value() -> GetSensitiveDataOccurrencesResponseTypeDef:
    return {
        "error": ...,
        "sensitiveDataOccurrences": ...,
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSensitiveDataOccurrencesResponseTypeDef(TypedDict):
    error: str,
    sensitiveDataOccurrences: Dict[str, List[DetectedDataDetailsTypeDef]],  # (1)
    status: RevealRequestStatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DetectedDataDetailsTypeDef
  2. See RevealRequestStatusType
  3. See ResponseMetadataTypeDef

ListResourceProfileDetectionsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListResourceProfileDetectionsResponseTypeDef

def get_value() -> ListResourceProfileDetectionsResponseTypeDef:
    return {
        "detections": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListResourceProfileDetectionsResponseTypeDef(TypedDict):
    detections: List[DetectionTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectionTypeDef
  2. See ResponseMetadataTypeDef

ListFindingsFiltersResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListFindingsFiltersResponseTypeDef

def get_value() -> ListFindingsFiltersResponseTypeDef:
    return {
        "findingsFilterListItems": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFindingsFiltersResponseTypeDef(TypedDict):
    findingsFilterListItems: List[FindingsFilterListItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingsFilterListItemTypeDef
  2. See ResponseMetadataTypeDef

GetAdministratorAccountResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetAdministratorAccountResponseTypeDef

def get_value() -> GetAdministratorAccountResponseTypeDef:
    return {
        "administrator": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAdministratorAccountResponseTypeDef(TypedDict):
    administrator: InvitationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InvitationTypeDef
  2. See ResponseMetadataTypeDef

GetMasterAccountResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetMasterAccountResponseTypeDef

def get_value() -> GetMasterAccountResponseTypeDef:
    return {
        "master": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMasterAccountResponseTypeDef(TypedDict):
    master: InvitationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InvitationTypeDef
  2. See ResponseMetadataTypeDef

ListInvitationsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListInvitationsResponseTypeDef

def get_value() -> ListInvitationsResponseTypeDef:
    return {
        "invitations": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInvitationsResponseTypeDef(TypedDict):
    invitations: List[InvitationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InvitationTypeDef
  2. See ResponseMetadataTypeDef

GetFindingStatisticsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingStatisticsResponseTypeDef

def get_value() -> GetFindingStatisticsResponseTypeDef:
    return {
        "countsByGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFindingStatisticsResponseTypeDef(TypedDict):
    countsByGroup: List[GroupCountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GroupCountTypeDef
  2. See ResponseMetadataTypeDef

GetFindingsPublicationConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingsPublicationConfigurationResponseTypeDef

def get_value() -> GetFindingsPublicationConfigurationResponseTypeDef:
    return {
        "securityHubConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFindingsPublicationConfigurationResponseTypeDef(TypedDict):
    securityHubConfiguration: SecurityHubConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityHubConfigurationTypeDef
  2. See ResponseMetadataTypeDef

PutFindingsPublicationConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import PutFindingsPublicationConfigurationRequestRequestTypeDef

def get_value() -> PutFindingsPublicationConfigurationRequestRequestTypeDef:
    return {
        "clientToken": ...,
    }
Definition
class PutFindingsPublicationConfigurationRequestRequestTypeDef(TypedDict):
    clientToken: NotRequired[str],
    securityHubConfiguration: NotRequired[SecurityHubConfigurationTypeDef],  # (1)
  1. See SecurityHubConfigurationTypeDef

GetFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingsRequestRequestTypeDef

def get_value() -> GetFindingsRequestRequestTypeDef:
    return {
        "findingIds": ...,
    }
Definition
class GetFindingsRequestRequestTypeDef(TypedDict):
    findingIds: Sequence[str],
    sortCriteria: NotRequired[SortCriteriaTypeDef],  # (1)
  1. See SortCriteriaTypeDef

GetResourceProfileResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetResourceProfileResponseTypeDef

def get_value() -> GetResourceProfileResponseTypeDef:
    return {
        "profileUpdatedAt": ...,
        "sensitivityScore": ...,
        "sensitivityScoreOverridden": ...,
        "statistics": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetResourceProfileResponseTypeDef(TypedDict):
    profileUpdatedAt: datetime,
    sensitivityScore: int,
    sensitivityScoreOverridden: bool,
    statistics: ResourceStatisticsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceStatisticsTypeDef
  2. See ResponseMetadataTypeDef

GetRevealConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetRevealConfigurationResponseTypeDef

def get_value() -> GetRevealConfigurationResponseTypeDef:
    return {
        "configuration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRevealConfigurationResponseTypeDef(TypedDict):
    configuration: RevealConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RevealConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateRevealConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateRevealConfigurationRequestRequestTypeDef

def get_value() -> UpdateRevealConfigurationRequestRequestTypeDef:
    return {
        "configuration": ...,
    }
Definition
class UpdateRevealConfigurationRequestRequestTypeDef(TypedDict):
    configuration: RevealConfigurationTypeDef,  # (1)
  1. See RevealConfigurationTypeDef

UpdateRevealConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateRevealConfigurationResponseTypeDef

def get_value() -> UpdateRevealConfigurationResponseTypeDef:
    return {
        "configuration": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRevealConfigurationResponseTypeDef(TypedDict):
    configuration: RevealConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RevealConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetSensitiveDataOccurrencesRequestFindingRevealedWaitTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetSensitiveDataOccurrencesRequestFindingRevealedWaitTypeDef

def get_value() -> GetSensitiveDataOccurrencesRequestFindingRevealedWaitTypeDef:
    return {
        "findingId": ...,
    }
Definition
class GetSensitiveDataOccurrencesRequestFindingRevealedWaitTypeDef(TypedDict):
    findingId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetSensitivityInspectionTemplateResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetSensitivityInspectionTemplateResponseTypeDef

def get_value() -> GetSensitivityInspectionTemplateResponseTypeDef:
    return {
        "description": ...,
        "excludes": ...,
        "includes": ...,
        "name": ...,
        "sensitivityInspectionTemplateId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSensitivityInspectionTemplateResponseTypeDef(TypedDict):
    description: str,
    excludes: SensitivityInspectionTemplateExcludesTypeDef,  # (1)
    includes: SensitivityInspectionTemplateIncludesTypeDef,  # (2)
    name: str,
    sensitivityInspectionTemplateId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SensitivityInspectionTemplateExcludesTypeDef
  2. See SensitivityInspectionTemplateIncludesTypeDef
  3. See ResponseMetadataTypeDef

UpdateSensitivityInspectionTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateSensitivityInspectionTemplateRequestRequestTypeDef

def get_value() -> UpdateSensitivityInspectionTemplateRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class UpdateSensitivityInspectionTemplateRequestRequestTypeDef(TypedDict):
    id: str,
    description: NotRequired[str],
    excludes: NotRequired[SensitivityInspectionTemplateExcludesTypeDef],  # (1)
    includes: NotRequired[SensitivityInspectionTemplateIncludesTypeDef],  # (2)
  1. See SensitivityInspectionTemplateExcludesTypeDef
  2. See SensitivityInspectionTemplateIncludesTypeDef

GetUsageStatisticsRequestGetUsageStatisticsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetUsageStatisticsRequestGetUsageStatisticsPaginateTypeDef

def get_value() -> GetUsageStatisticsRequestGetUsageStatisticsPaginateTypeDef:
    return {
        "filterBy": ...,
    }
Definition
class GetUsageStatisticsRequestGetUsageStatisticsPaginateTypeDef(TypedDict):
    filterBy: NotRequired[Sequence[UsageStatisticsFilterTypeDef]],  # (1)
    sortBy: NotRequired[UsageStatisticsSortByTypeDef],  # (2)
    timeRange: NotRequired[TimeRangeType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See UsageStatisticsFilterTypeDef
  2. See UsageStatisticsSortByTypeDef
  3. See TimeRangeType
  4. See PaginatorConfigTypeDef

GetUsageStatisticsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetUsageStatisticsRequestRequestTypeDef

def get_value() -> GetUsageStatisticsRequestRequestTypeDef:
    return {
        "filterBy": ...,
    }
Definition
class GetUsageStatisticsRequestRequestTypeDef(TypedDict):
    filterBy: NotRequired[Sequence[UsageStatisticsFilterTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortBy: NotRequired[UsageStatisticsSortByTypeDef],  # (2)
    timeRange: NotRequired[TimeRangeType],  # (3)
  1. See UsageStatisticsFilterTypeDef
  2. See UsageStatisticsSortByTypeDef
  3. See TimeRangeType

GetUsageTotalsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetUsageTotalsResponseTypeDef

def get_value() -> GetUsageTotalsResponseTypeDef:
    return {
        "timeRange": ...,
        "usageTotals": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetUsageTotalsResponseTypeDef(TypedDict):
    timeRange: TimeRangeType,  # (1)
    usageTotals: List[UsageTotalTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TimeRangeType
  2. See UsageTotalTypeDef
  3. See ResponseMetadataTypeDef

IpAddressDetailsTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import IpAddressDetailsTypeDef

def get_value() -> IpAddressDetailsTypeDef:
    return {
        "ipAddressV4": ...,
    }
Definition
class IpAddressDetailsTypeDef(TypedDict):
    ipAddressV4: NotRequired[str],
    ipCity: NotRequired[IpCityTypeDef],  # (1)
    ipCountry: NotRequired[IpCountryTypeDef],  # (2)
    ipGeoLocation: NotRequired[IpGeoLocationTypeDef],  # (3)
    ipOwner: NotRequired[IpOwnerTypeDef],  # (4)
  1. See IpCityTypeDef
  2. See IpCountryTypeDef
  3. See IpGeoLocationTypeDef
  4. See IpOwnerTypeDef

JobScheduleFrequencyTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import JobScheduleFrequencyTypeDef

def get_value() -> JobScheduleFrequencyTypeDef:
    return {
        "dailySchedule": ...,
    }
Definition
class JobScheduleFrequencyTypeDef(TypedDict):
    dailySchedule: NotRequired[Mapping[str, Any]],
    monthlySchedule: NotRequired[MonthlyScheduleTypeDef],  # (1)
    weeklySchedule: NotRequired[WeeklyScheduleTypeDef],  # (2)
  1. See MonthlyScheduleTypeDef
  2. See WeeklyScheduleTypeDef

ListJobsFilterCriteriaTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListJobsFilterCriteriaTypeDef

def get_value() -> ListJobsFilterCriteriaTypeDef:
    return {
        "excludes": ...,
    }
Definition
class ListJobsFilterCriteriaTypeDef(TypedDict):
    excludes: NotRequired[Sequence[ListJobsFilterTermTypeDef]],  # (1)
    includes: NotRequired[Sequence[ListJobsFilterTermTypeDef]],  # (1)
  1. See ListJobsFilterTermTypeDef
  2. See ListJobsFilterTermTypeDef

ListManagedDataIdentifiersResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListManagedDataIdentifiersResponseTypeDef

def get_value() -> ListManagedDataIdentifiersResponseTypeDef:
    return {
        "items": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListManagedDataIdentifiersResponseTypeDef(TypedDict):
    items: List[ManagedDataIdentifierSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedDataIdentifierSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListMembersResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListMembersResponseTypeDef

def get_value() -> ListMembersResponseTypeDef:
    return {
        "members": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListMembersResponseTypeDef(TypedDict):
    members: List[MemberTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MemberTypeDef
  2. See ResponseMetadataTypeDef

ListResourceProfileArtifactsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListResourceProfileArtifactsResponseTypeDef

def get_value() -> ListResourceProfileArtifactsResponseTypeDef:
    return {
        "artifacts": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListResourceProfileArtifactsResponseTypeDef(TypedDict):
    artifacts: List[ResourceProfileArtifactTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceProfileArtifactTypeDef
  2. See ResponseMetadataTypeDef

ListSensitivityInspectionTemplatesResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListSensitivityInspectionTemplatesResponseTypeDef

def get_value() -> ListSensitivityInspectionTemplatesResponseTypeDef:
    return {
        "nextToken": ...,
        "sensitivityInspectionTemplates": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListSensitivityInspectionTemplatesResponseTypeDef(TypedDict):
    nextToken: str,
    sensitivityInspectionTemplates: List[SensitivityInspectionTemplatesEntryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SensitivityInspectionTemplatesEntryTypeDef
  2. See ResponseMetadataTypeDef

PageTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import PageTypeDef

def get_value() -> PageTypeDef:
    return {
        "lineRange": ...,
    }
Definition
class PageTypeDef(TypedDict):
    lineRange: NotRequired[RangeTypeDef],  # (1)
    offsetRange: NotRequired[RangeTypeDef],  # (1)
    pageNumber: NotRequired[int],
  1. See RangeTypeDef
  2. See RangeTypeDef

S3ObjectTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3ObjectTypeDef

def get_value() -> S3ObjectTypeDef:
    return {
        "bucketArn": ...,
    }
Definition
class S3ObjectTypeDef(TypedDict):
    bucketArn: NotRequired[str],
    eTag: NotRequired[str],
    extension: NotRequired[str],
    key: NotRequired[str],
    lastModified: NotRequired[datetime],
    path: NotRequired[str],
    publicAccess: NotRequired[bool],
    serverSideEncryption: NotRequired[ServerSideEncryptionTypeDef],  # (1)
    size: NotRequired[int],
    storageClass: NotRequired[StorageClassType],  # (2)
    tags: NotRequired[List[KeyValuePairTypeDef]],  # (3)
    versionId: NotRequired[str],
  1. See ServerSideEncryptionTypeDef
  2. See StorageClassType
  3. See KeyValuePairTypeDef

S3ClassificationScopeTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3ClassificationScopeTypeDef

def get_value() -> S3ClassificationScopeTypeDef:
    return {
        "excludes": ...,
    }
Definition
class S3ClassificationScopeTypeDef(TypedDict):
    excludes: S3ClassificationScopeExclusionTypeDef,  # (1)
  1. See S3ClassificationScopeExclusionTypeDef

S3ClassificationScopeUpdateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3ClassificationScopeUpdateTypeDef

def get_value() -> S3ClassificationScopeUpdateTypeDef:
    return {
        "excludes": ...,
    }
Definition
class S3ClassificationScopeUpdateTypeDef(TypedDict):
    excludes: S3ClassificationScopeExclusionUpdateTypeDef,  # (1)
  1. See S3ClassificationScopeExclusionUpdateTypeDef

SearchResourcesTagCriterionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesTagCriterionTypeDef

def get_value() -> SearchResourcesTagCriterionTypeDef:
    return {
        "comparator": ...,
    }
Definition
class SearchResourcesTagCriterionTypeDef(TypedDict):
    comparator: NotRequired[SearchResourcesComparatorType],  # (1)
    tagValues: NotRequired[Sequence[SearchResourcesTagCriterionPairTypeDef]],  # (2)
  1. See SearchResourcesComparatorType
  2. See SearchResourcesTagCriterionPairTypeDef

UsageByAccountTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UsageByAccountTypeDef

def get_value() -> UsageByAccountTypeDef:
    return {
        "currency": ...,
    }
Definition
class UsageByAccountTypeDef(TypedDict):
    currency: NotRequired[CurrencyType],  # (1)
    estimatedCost: NotRequired[str],
    serviceLimit: NotRequired[ServiceLimitTypeDef],  # (2)
    type: NotRequired[UsageTypeType],  # (3)
  1. See CurrencyType
  2. See ServiceLimitTypeDef
  3. See UsageTypeType

SessionContextTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SessionContextTypeDef

def get_value() -> SessionContextTypeDef:
    return {
        "attributes": ...,
    }
Definition
class SessionContextTypeDef(TypedDict):
    attributes: NotRequired[SessionContextAttributesTypeDef],  # (1)
    sessionIssuer: NotRequired[SessionIssuerTypeDef],  # (2)
  1. See SessionContextAttributesTypeDef
  2. See SessionIssuerTypeDef

UpdateResourceProfileDetectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateResourceProfileDetectionsRequestRequestTypeDef

def get_value() -> UpdateResourceProfileDetectionsRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class UpdateResourceProfileDetectionsRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    suppressDataIdentifiers: NotRequired[Sequence[SuppressDataIdentifierTypeDef]],  # (1)
  1. See SuppressDataIdentifierTypeDef

TagCriterionForJobTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TagCriterionForJobTypeDef

def get_value() -> TagCriterionForJobTypeDef:
    return {
        "comparator": ...,
    }
Definition
class TagCriterionForJobTypeDef(TypedDict):
    comparator: NotRequired[JobComparatorType],  # (1)
    tagValues: NotRequired[Sequence[TagCriterionPairForJobTypeDef]],  # (2)
  1. See JobComparatorType
  2. See TagCriterionPairForJobTypeDef

TagScopeTermTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import TagScopeTermTypeDef

def get_value() -> TagScopeTermTypeDef:
    return {
        "comparator": ...,
    }
Definition
class TagScopeTermTypeDef(TypedDict):
    comparator: NotRequired[JobComparatorType],  # (1)
    key: NotRequired[str],
    tagValues: NotRequired[Sequence[TagValuePairTypeDef]],  # (2)
    target: NotRequired[TagTargetType],  # (3)
  1. See JobComparatorType
  2. See TagValuePairTypeDef
  3. See TagTargetType

CreateAllowListRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateAllowListRequestRequestTypeDef

def get_value() -> CreateAllowListRequestRequestTypeDef:
    return {
        "clientToken": ...,
        "criteria": ...,
        "name": ...,
    }
Definition
class CreateAllowListRequestRequestTypeDef(TypedDict):
    clientToken: str,
    criteria: AllowListCriteriaTypeDef,  # (1)
    name: str,
    description: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See AllowListCriteriaTypeDef

GetAllowListResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetAllowListResponseTypeDef

def get_value() -> GetAllowListResponseTypeDef:
    return {
        "arn": ...,
        "createdAt": ...,
        "criteria": ...,
        "description": ...,
        "id": ...,
        "name": ...,
        "status": ...,
        "tags": ...,
        "updatedAt": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAllowListResponseTypeDef(TypedDict):
    arn: str,
    createdAt: datetime,
    criteria: AllowListCriteriaTypeDef,  # (1)
    description: str,
    id: str,
    name: str,
    status: AllowListStatusTypeDef,  # (2)
    tags: Dict[str, str],
    updatedAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AllowListCriteriaTypeDef
  2. See AllowListStatusTypeDef
  3. See ResponseMetadataTypeDef

UpdateAllowListRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateAllowListRequestRequestTypeDef

def get_value() -> UpdateAllowListRequestRequestTypeDef:
    return {
        "criteria": ...,
        "id": ...,
        "name": ...,
    }
Definition
class UpdateAllowListRequestRequestTypeDef(TypedDict):
    criteria: AllowListCriteriaTypeDef,  # (1)
    id: str,
    name: str,
    description: NotRequired[str],
  1. See AllowListCriteriaTypeDef

BucketPermissionConfigurationTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import BucketPermissionConfigurationTypeDef

def get_value() -> BucketPermissionConfigurationTypeDef:
    return {
        "accountLevelPermissions": ...,
    }
Definition
class BucketPermissionConfigurationTypeDef(TypedDict):
    accountLevelPermissions: NotRequired[AccountLevelPermissionsTypeDef],  # (1)
    bucketLevelPermissions: NotRequired[BucketLevelPermissionsTypeDef],  # (2)
  1. See AccountLevelPermissionsTypeDef
  2. See BucketLevelPermissionsTypeDef

MatchingResourceTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import MatchingResourceTypeDef

def get_value() -> MatchingResourceTypeDef:
    return {
        "matchingBucket": ...,
    }
Definition
class MatchingResourceTypeDef(TypedDict):
    matchingBucket: NotRequired[MatchingBucketTypeDef],  # (1)
  1. See MatchingBucketTypeDef

GetBucketStatisticsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetBucketStatisticsResponseTypeDef

def get_value() -> GetBucketStatisticsResponseTypeDef:
    return {
        "bucketCount": ...,
        "bucketCountByEffectivePermission": ...,
        "bucketCountByEncryptionType": ...,
        "bucketCountByObjectEncryptionRequirement": ...,
        "bucketCountBySharedAccessType": ...,
        "bucketStatisticsBySensitivity": ...,
        "classifiableObjectCount": ...,
        "classifiableSizeInBytes": ...,
        "lastUpdated": ...,
        "objectCount": ...,
        "sizeInBytes": ...,
        "sizeInBytesCompressed": ...,
        "unclassifiableObjectCount": ...,
        "unclassifiableObjectSizeInBytes": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBucketStatisticsResponseTypeDef(TypedDict):
    bucketCount: int,
    bucketCountByEffectivePermission: BucketCountByEffectivePermissionTypeDef,  # (1)
    bucketCountByEncryptionType: BucketCountByEncryptionTypeTypeDef,  # (2)
    bucketCountByObjectEncryptionRequirement: BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef,  # (3)
    bucketCountBySharedAccessType: BucketCountBySharedAccessTypeTypeDef,  # (4)
    bucketStatisticsBySensitivity: BucketStatisticsBySensitivityTypeDef,  # (5)
    classifiableObjectCount: int,
    classifiableSizeInBytes: int,
    lastUpdated: datetime,
    objectCount: int,
    sizeInBytes: int,
    sizeInBytesCompressed: int,
    unclassifiableObjectCount: ObjectLevelStatisticsTypeDef,  # (6)
    unclassifiableObjectSizeInBytes: ObjectLevelStatisticsTypeDef,  # (6)
    ResponseMetadata: ResponseMetadataTypeDef,  # (8)
  1. See BucketCountByEffectivePermissionTypeDef
  2. See BucketCountByEncryptionTypeTypeDef
  3. See BucketCountPolicyAllowsUnencryptedObjectUploadsTypeDef
  4. See BucketCountBySharedAccessTypeTypeDef
  5. See BucketStatisticsBySensitivityTypeDef
  6. See ObjectLevelStatisticsTypeDef
  7. See ObjectLevelStatisticsTypeDef
  8. See ResponseMetadataTypeDef

GetClassificationExportConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetClassificationExportConfigurationResponseTypeDef

def get_value() -> GetClassificationExportConfigurationResponseTypeDef:
    return {
        "configuration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetClassificationExportConfigurationResponseTypeDef(TypedDict):
    configuration: ClassificationExportConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClassificationExportConfigurationTypeDef
  2. See ResponseMetadataTypeDef

PutClassificationExportConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import PutClassificationExportConfigurationRequestRequestTypeDef

def get_value() -> PutClassificationExportConfigurationRequestRequestTypeDef:
    return {
        "configuration": ...,
    }
Definition
class PutClassificationExportConfigurationRequestRequestTypeDef(TypedDict):
    configuration: ClassificationExportConfigurationTypeDef,  # (1)
  1. See ClassificationExportConfigurationTypeDef

PutClassificationExportConfigurationResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import PutClassificationExportConfigurationResponseTypeDef

def get_value() -> PutClassificationExportConfigurationResponseTypeDef:
    return {
        "configuration": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutClassificationExportConfigurationResponseTypeDef(TypedDict):
    configuration: ClassificationExportConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClassificationExportConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CreateFindingsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateFindingsFilterRequestRequestTypeDef

def get_value() -> CreateFindingsFilterRequestRequestTypeDef:
    return {
        "action": ...,
        "findingCriteria": ...,
        "name": ...,
    }
Definition
class CreateFindingsFilterRequestRequestTypeDef(TypedDict):
    action: FindingsFilterActionType,  # (1)
    findingCriteria: FindingCriteriaTypeDef,  # (2)
    name: str,
    clientToken: NotRequired[str],
    description: NotRequired[str],
    position: NotRequired[int],
    tags: NotRequired[Mapping[str, str]],
  1. See FindingsFilterActionType
  2. See FindingCriteriaTypeDef

GetFindingStatisticsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingStatisticsRequestRequestTypeDef

def get_value() -> GetFindingStatisticsRequestRequestTypeDef:
    return {
        "groupBy": ...,
    }
Definition
class GetFindingStatisticsRequestRequestTypeDef(TypedDict):
    groupBy: GroupByType,  # (1)
    findingCriteria: NotRequired[FindingCriteriaTypeDef],  # (2)
    size: NotRequired[int],
    sortCriteria: NotRequired[FindingStatisticsSortCriteriaTypeDef],  # (3)
  1. See GroupByType
  2. See FindingCriteriaTypeDef
  3. See FindingStatisticsSortCriteriaTypeDef

GetFindingsFilterResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingsFilterResponseTypeDef

def get_value() -> GetFindingsFilterResponseTypeDef:
    return {
        "action": ...,
        "arn": ...,
        "description": ...,
        "findingCriteria": ...,
        "id": ...,
        "name": ...,
        "position": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFindingsFilterResponseTypeDef(TypedDict):
    action: FindingsFilterActionType,  # (1)
    arn: str,
    description: str,
    findingCriteria: FindingCriteriaTypeDef,  # (2)
    id: str,
    name: str,
    position: int,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FindingsFilterActionType
  2. See FindingCriteriaTypeDef
  3. See ResponseMetadataTypeDef

ListFindingsRequestListFindingsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListFindingsRequestListFindingsPaginateTypeDef

def get_value() -> ListFindingsRequestListFindingsPaginateTypeDef:
    return {
        "findingCriteria": ...,
    }
Definition
class ListFindingsRequestListFindingsPaginateTypeDef(TypedDict):
    findingCriteria: NotRequired[FindingCriteriaTypeDef],  # (1)
    sortCriteria: NotRequired[SortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See FindingCriteriaTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListFindingsRequestRequestTypeDef

def get_value() -> ListFindingsRequestRequestTypeDef:
    return {
        "findingCriteria": ...,
    }
Definition
class ListFindingsRequestRequestTypeDef(TypedDict):
    findingCriteria: NotRequired[FindingCriteriaTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortCriteria: NotRequired[SortCriteriaTypeDef],  # (2)
  1. See FindingCriteriaTypeDef
  2. See SortCriteriaTypeDef

UpdateFindingsFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateFindingsFilterRequestRequestTypeDef

def get_value() -> UpdateFindingsFilterRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class UpdateFindingsFilterRequestRequestTypeDef(TypedDict):
    id: str,
    action: NotRequired[FindingsFilterActionType],  # (1)
    clientToken: NotRequired[str],
    description: NotRequired[str],
    findingCriteria: NotRequired[FindingCriteriaTypeDef],  # (2)
    name: NotRequired[str],
    position: NotRequired[int],
  1. See FindingsFilterActionType
  2. See FindingCriteriaTypeDef

ListClassificationJobsRequestListClassificationJobsPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListClassificationJobsRequestListClassificationJobsPaginateTypeDef

def get_value() -> ListClassificationJobsRequestListClassificationJobsPaginateTypeDef:
    return {
        "filterCriteria": ...,
    }
Definition
class ListClassificationJobsRequestListClassificationJobsPaginateTypeDef(TypedDict):
    filterCriteria: NotRequired[ListJobsFilterCriteriaTypeDef],  # (1)
    sortCriteria: NotRequired[ListJobsSortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ListJobsFilterCriteriaTypeDef
  2. See ListJobsSortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListClassificationJobsRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListClassificationJobsRequestRequestTypeDef

def get_value() -> ListClassificationJobsRequestRequestTypeDef:
    return {
        "filterCriteria": ...,
    }
Definition
class ListClassificationJobsRequestRequestTypeDef(TypedDict):
    filterCriteria: NotRequired[ListJobsFilterCriteriaTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortCriteria: NotRequired[ListJobsSortCriteriaTypeDef],  # (2)
  1. See ListJobsFilterCriteriaTypeDef
  2. See ListJobsSortCriteriaTypeDef

OccurrencesTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import OccurrencesTypeDef

def get_value() -> OccurrencesTypeDef:
    return {
        "cells": ...,
    }
Definition
class OccurrencesTypeDef(TypedDict):
    cells: NotRequired[List[CellTypeDef]],  # (1)
    lineRanges: NotRequired[List[RangeTypeDef]],  # (2)
    offsetRanges: NotRequired[List[RangeTypeDef]],  # (2)
    pages: NotRequired[List[PageTypeDef]],  # (4)
    records: NotRequired[List[RecordTypeDef]],  # (5)
  1. See CellTypeDef
  2. See RangeTypeDef
  3. See RangeTypeDef
  4. See PageTypeDef
  5. See RecordTypeDef

GetClassificationScopeResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetClassificationScopeResponseTypeDef

def get_value() -> GetClassificationScopeResponseTypeDef:
    return {
        "id": ...,
        "name": ...,
        "s3": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetClassificationScopeResponseTypeDef(TypedDict):
    id: str,
    name: str,
    s3: S3ClassificationScopeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See S3ClassificationScopeTypeDef
  2. See ResponseMetadataTypeDef

UpdateClassificationScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UpdateClassificationScopeRequestRequestTypeDef

def get_value() -> UpdateClassificationScopeRequestRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class UpdateClassificationScopeRequestRequestTypeDef(TypedDict):
    id: str,
    s3: NotRequired[S3ClassificationScopeUpdateTypeDef],  # (1)
  1. See S3ClassificationScopeUpdateTypeDef

SearchResourcesCriteriaTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesCriteriaTypeDef

def get_value() -> SearchResourcesCriteriaTypeDef:
    return {
        "simpleCriterion": ...,
    }
Definition
class SearchResourcesCriteriaTypeDef(TypedDict):
    simpleCriterion: NotRequired[SearchResourcesSimpleCriterionTypeDef],  # (1)
    tagCriterion: NotRequired[SearchResourcesTagCriterionTypeDef],  # (2)
  1. See SearchResourcesSimpleCriterionTypeDef
  2. See SearchResourcesTagCriterionTypeDef

UsageRecordTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UsageRecordTypeDef

def get_value() -> UsageRecordTypeDef:
    return {
        "accountId": ...,
    }
Definition
class UsageRecordTypeDef(TypedDict):
    accountId: NotRequired[str],
    automatedDiscoveryFreeTrialStartDate: NotRequired[datetime],
    freeTrialStartDate: NotRequired[datetime],
    usage: NotRequired[List[UsageByAccountTypeDef]],  # (1)
  1. See UsageByAccountTypeDef

AssumedRoleTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import AssumedRoleTypeDef

def get_value() -> AssumedRoleTypeDef:
    return {
        "accessKeyId": ...,
    }
Definition
class AssumedRoleTypeDef(TypedDict):
    accessKeyId: NotRequired[str],
    accountId: NotRequired[str],
    arn: NotRequired[str],
    principalId: NotRequired[str],
    sessionContext: NotRequired[SessionContextTypeDef],  # (1)
  1. See SessionContextTypeDef

FederatedUserTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import FederatedUserTypeDef

def get_value() -> FederatedUserTypeDef:
    return {
        "accessKeyId": ...,
    }
Definition
class FederatedUserTypeDef(TypedDict):
    accessKeyId: NotRequired[str],
    accountId: NotRequired[str],
    arn: NotRequired[str],
    principalId: NotRequired[str],
    sessionContext: NotRequired[SessionContextTypeDef],  # (1)
  1. See SessionContextTypeDef

CriteriaForJobTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CriteriaForJobTypeDef

def get_value() -> CriteriaForJobTypeDef:
    return {
        "simpleCriterion": ...,
    }
Definition
class CriteriaForJobTypeDef(TypedDict):
    simpleCriterion: NotRequired[SimpleCriterionForJobTypeDef],  # (1)
    tagCriterion: NotRequired[TagCriterionForJobTypeDef],  # (2)
  1. See SimpleCriterionForJobTypeDef
  2. See TagCriterionForJobTypeDef

JobScopeTermTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import JobScopeTermTypeDef

def get_value() -> JobScopeTermTypeDef:
    return {
        "simpleScopeTerm": ...,
    }
Definition
class JobScopeTermTypeDef(TypedDict):
    simpleScopeTerm: NotRequired[SimpleScopeTermTypeDef],  # (1)
    tagScopeTerm: NotRequired[TagScopeTermTypeDef],  # (2)
  1. See SimpleScopeTermTypeDef
  2. See TagScopeTermTypeDef

BucketPublicAccessTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import BucketPublicAccessTypeDef

def get_value() -> BucketPublicAccessTypeDef:
    return {
        "effectivePermission": ...,
    }
Definition
class BucketPublicAccessTypeDef(TypedDict):
    effectivePermission: NotRequired[EffectivePermissionType],  # (1)
    permissionConfiguration: NotRequired[BucketPermissionConfigurationTypeDef],  # (2)
  1. See EffectivePermissionType
  2. See BucketPermissionConfigurationTypeDef

SearchResourcesResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesResponseTypeDef

def get_value() -> SearchResourcesResponseTypeDef:
    return {
        "matchingResources": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class SearchResourcesResponseTypeDef(TypedDict):
    matchingResources: List[MatchingResourceTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MatchingResourceTypeDef
  2. See ResponseMetadataTypeDef

CustomDetectionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CustomDetectionTypeDef

def get_value() -> CustomDetectionTypeDef:
    return {
        "arn": ...,
    }
Definition
class CustomDetectionTypeDef(TypedDict):
    arn: NotRequired[str],
    count: NotRequired[int],
    name: NotRequired[str],
    occurrences: NotRequired[OccurrencesTypeDef],  # (1)
  1. See OccurrencesTypeDef

DefaultDetectionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DefaultDetectionTypeDef

def get_value() -> DefaultDetectionTypeDef:
    return {
        "count": ...,
    }
Definition
class DefaultDetectionTypeDef(TypedDict):
    count: NotRequired[int],
    occurrences: NotRequired[OccurrencesTypeDef],  # (1)
    type: NotRequired[str],
  1. See OccurrencesTypeDef

SearchResourcesCriteriaBlockTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesCriteriaBlockTypeDef

def get_value() -> SearchResourcesCriteriaBlockTypeDef:
    return {
        "and": ...,
    }
Definition
class SearchResourcesCriteriaBlockTypeDef(TypedDict):
    and: NotRequired[Sequence[SearchResourcesCriteriaTypeDef]],  # (1)
  1. See SearchResourcesCriteriaTypeDef

GetUsageStatisticsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetUsageStatisticsResponseTypeDef

def get_value() -> GetUsageStatisticsResponseTypeDef:
    return {
        "nextToken": ...,
        "records": ...,
        "timeRange": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetUsageStatisticsResponseTypeDef(TypedDict):
    nextToken: str,
    records: List[UsageRecordTypeDef],  # (1)
    timeRange: TimeRangeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See UsageRecordTypeDef
  2. See TimeRangeType
  3. See ResponseMetadataTypeDef

UserIdentityTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import UserIdentityTypeDef

def get_value() -> UserIdentityTypeDef:
    return {
        "assumedRole": ...,
    }
Definition
class UserIdentityTypeDef(TypedDict):
    assumedRole: NotRequired[AssumedRoleTypeDef],  # (1)
    awsAccount: NotRequired[AwsAccountTypeDef],  # (2)
    awsService: NotRequired[AwsServiceTypeDef],  # (3)
    federatedUser: NotRequired[FederatedUserTypeDef],  # (4)
    iamUser: NotRequired[IamUserTypeDef],  # (5)
    root: NotRequired[UserIdentityRootTypeDef],  # (6)
    type: NotRequired[UserIdentityTypeType],  # (7)
  1. See AssumedRoleTypeDef
  2. See AwsAccountTypeDef
  3. See AwsServiceTypeDef
  4. See FederatedUserTypeDef
  5. See IamUserTypeDef
  6. See UserIdentityRootTypeDef
  7. See UserIdentityTypeType

CriteriaBlockForJobTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CriteriaBlockForJobTypeDef

def get_value() -> CriteriaBlockForJobTypeDef:
    return {
        "and": ...,
    }
Definition
class CriteriaBlockForJobTypeDef(TypedDict):
    and: NotRequired[Sequence[CriteriaForJobTypeDef]],  # (1)
  1. See CriteriaForJobTypeDef

JobScopingBlockTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import JobScopingBlockTypeDef

def get_value() -> JobScopingBlockTypeDef:
    return {
        "and": ...,
    }
Definition
class JobScopingBlockTypeDef(TypedDict):
    and: NotRequired[Sequence[JobScopeTermTypeDef]],  # (1)
  1. See JobScopeTermTypeDef

BucketMetadataTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import BucketMetadataTypeDef

def get_value() -> BucketMetadataTypeDef:
    return {
        "accountId": ...,
    }
Definition
class BucketMetadataTypeDef(TypedDict):
    accountId: NotRequired[str],
    allowsUnencryptedObjectUploads: NotRequired[AllowsUnencryptedObjectUploadsType],  # (1)
    bucketArn: NotRequired[str],
    bucketCreatedAt: NotRequired[datetime],
    bucketName: NotRequired[str],
    classifiableObjectCount: NotRequired[int],
    classifiableSizeInBytes: NotRequired[int],
    errorCode: NotRequired[BucketMetadataErrorCodeType],  # (2)
    errorMessage: NotRequired[str],
    jobDetails: NotRequired[JobDetailsTypeDef],  # (3)
    lastAutomatedDiscoveryTime: NotRequired[datetime],
    lastUpdated: NotRequired[datetime],
    objectCount: NotRequired[int],
    objectCountByEncryptionType: NotRequired[ObjectCountByEncryptionTypeTypeDef],  # (4)
    publicAccess: NotRequired[BucketPublicAccessTypeDef],  # (5)
    region: NotRequired[str],
    replicationDetails: NotRequired[ReplicationDetailsTypeDef],  # (6)
    sensitivityScore: NotRequired[int],
    serverSideEncryption: NotRequired[BucketServerSideEncryptionTypeDef],  # (7)
    sharedAccess: NotRequired[SharedAccessType],  # (8)
    sizeInBytes: NotRequired[int],
    sizeInBytesCompressed: NotRequired[int],
    tags: NotRequired[List[KeyValuePairTypeDef]],  # (9)
    unclassifiableObjectCount: NotRequired[ObjectLevelStatisticsTypeDef],  # (10)
    unclassifiableObjectSizeInBytes: NotRequired[ObjectLevelStatisticsTypeDef],  # (10)
    versioning: NotRequired[bool],
  1. See AllowsUnencryptedObjectUploadsType
  2. See BucketMetadataErrorCodeType
  3. See JobDetailsTypeDef
  4. See ObjectCountByEncryptionTypeTypeDef
  5. See BucketPublicAccessTypeDef
  6. See ReplicationDetailsTypeDef
  7. See BucketServerSideEncryptionTypeDef
  8. See SharedAccessType
  9. See KeyValuePairTypeDef
  10. See ObjectLevelStatisticsTypeDef
  11. See ObjectLevelStatisticsTypeDef

S3BucketTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3BucketTypeDef

def get_value() -> S3BucketTypeDef:
    return {
        "allowsUnencryptedObjectUploads": ...,
    }
Definition
class S3BucketTypeDef(TypedDict):
    allowsUnencryptedObjectUploads: NotRequired[AllowsUnencryptedObjectUploadsType],  # (1)
    arn: NotRequired[str],
    createdAt: NotRequired[datetime],
    defaultServerSideEncryption: NotRequired[ServerSideEncryptionTypeDef],  # (2)
    name: NotRequired[str],
    owner: NotRequired[S3BucketOwnerTypeDef],  # (3)
    publicAccess: NotRequired[BucketPublicAccessTypeDef],  # (4)
    tags: NotRequired[List[KeyValuePairTypeDef]],  # (5)
  1. See AllowsUnencryptedObjectUploadsType
  2. See ServerSideEncryptionTypeDef
  3. See S3BucketOwnerTypeDef
  4. See BucketPublicAccessTypeDef
  5. See KeyValuePairTypeDef

CustomDataIdentifiersTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CustomDataIdentifiersTypeDef

def get_value() -> CustomDataIdentifiersTypeDef:
    return {
        "detections": ...,
    }
Definition
class CustomDataIdentifiersTypeDef(TypedDict):
    detections: NotRequired[List[CustomDetectionTypeDef]],  # (1)
    totalCount: NotRequired[int],
  1. See CustomDetectionTypeDef

SensitiveDataItemTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SensitiveDataItemTypeDef

def get_value() -> SensitiveDataItemTypeDef:
    return {
        "category": ...,
    }
Definition
class SensitiveDataItemTypeDef(TypedDict):
    category: NotRequired[SensitiveDataItemCategoryType],  # (1)
    detections: NotRequired[List[DefaultDetectionTypeDef]],  # (2)
    totalCount: NotRequired[int],
  1. See SensitiveDataItemCategoryType
  2. See DefaultDetectionTypeDef

SearchResourcesBucketCriteriaTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesBucketCriteriaTypeDef

def get_value() -> SearchResourcesBucketCriteriaTypeDef:
    return {
        "excludes": ...,
    }
Definition
class SearchResourcesBucketCriteriaTypeDef(TypedDict):
    excludes: NotRequired[SearchResourcesCriteriaBlockTypeDef],  # (1)
    includes: NotRequired[SearchResourcesCriteriaBlockTypeDef],  # (1)
  1. See SearchResourcesCriteriaBlockTypeDef
  2. See SearchResourcesCriteriaBlockTypeDef

FindingActorTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import FindingActorTypeDef

def get_value() -> FindingActorTypeDef:
    return {
        "domainDetails": ...,
    }
Definition
class FindingActorTypeDef(TypedDict):
    domainDetails: NotRequired[DomainDetailsTypeDef],  # (1)
    ipAddressDetails: NotRequired[IpAddressDetailsTypeDef],  # (2)
    userIdentity: NotRequired[UserIdentityTypeDef],  # (3)
  1. See DomainDetailsTypeDef
  2. See IpAddressDetailsTypeDef
  3. See UserIdentityTypeDef

S3BucketCriteriaForJobTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3BucketCriteriaForJobTypeDef

def get_value() -> S3BucketCriteriaForJobTypeDef:
    return {
        "excludes": ...,
    }
Definition
class S3BucketCriteriaForJobTypeDef(TypedDict):
    excludes: NotRequired[CriteriaBlockForJobTypeDef],  # (1)
    includes: NotRequired[CriteriaBlockForJobTypeDef],  # (1)
  1. See CriteriaBlockForJobTypeDef
  2. See CriteriaBlockForJobTypeDef

ScopingTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ScopingTypeDef

def get_value() -> ScopingTypeDef:
    return {
        "excludes": ...,
    }
Definition
class ScopingTypeDef(TypedDict):
    excludes: NotRequired[JobScopingBlockTypeDef],  # (1)
    includes: NotRequired[JobScopingBlockTypeDef],  # (1)
  1. See JobScopingBlockTypeDef
  2. See JobScopingBlockTypeDef

DescribeBucketsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DescribeBucketsResponseTypeDef

def get_value() -> DescribeBucketsResponseTypeDef:
    return {
        "buckets": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeBucketsResponseTypeDef(TypedDict):
    buckets: List[BucketMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BucketMetadataTypeDef
  2. See ResponseMetadataTypeDef

ResourcesAffectedTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ResourcesAffectedTypeDef

def get_value() -> ResourcesAffectedTypeDef:
    return {
        "s3Bucket": ...,
    }
Definition
class ResourcesAffectedTypeDef(TypedDict):
    s3Bucket: NotRequired[S3BucketTypeDef],  # (1)
    s3Object: NotRequired[S3ObjectTypeDef],  # (2)
  1. See S3BucketTypeDef
  2. See S3ObjectTypeDef

ClassificationResultTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ClassificationResultTypeDef

def get_value() -> ClassificationResultTypeDef:
    return {
        "additionalOccurrences": ...,
    }
Definition
class ClassificationResultTypeDef(TypedDict):
    additionalOccurrences: NotRequired[bool],
    customDataIdentifiers: NotRequired[CustomDataIdentifiersTypeDef],  # (1)
    mimeType: NotRequired[str],
    sensitiveData: NotRequired[List[SensitiveDataItemTypeDef]],  # (2)
    sizeClassified: NotRequired[int],
    status: NotRequired[ClassificationResultStatusTypeDef],  # (3)
  1. See CustomDataIdentifiersTypeDef
  2. See SensitiveDataItemTypeDef
  3. See ClassificationResultStatusTypeDef

SearchResourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesRequestRequestTypeDef

def get_value() -> SearchResourcesRequestRequestTypeDef:
    return {
        "bucketCriteria": ...,
    }
Definition
class SearchResourcesRequestRequestTypeDef(TypedDict):
    bucketCriteria: NotRequired[SearchResourcesBucketCriteriaTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortCriteria: NotRequired[SearchResourcesSortCriteriaTypeDef],  # (2)
  1. See SearchResourcesBucketCriteriaTypeDef
  2. See SearchResourcesSortCriteriaTypeDef

SearchResourcesRequestSearchResourcesPaginateTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import SearchResourcesRequestSearchResourcesPaginateTypeDef

def get_value() -> SearchResourcesRequestSearchResourcesPaginateTypeDef:
    return {
        "bucketCriteria": ...,
    }
Definition
class SearchResourcesRequestSearchResourcesPaginateTypeDef(TypedDict):
    bucketCriteria: NotRequired[SearchResourcesBucketCriteriaTypeDef],  # (1)
    sortCriteria: NotRequired[SearchResourcesSortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See SearchResourcesBucketCriteriaTypeDef
  2. See SearchResourcesSortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

PolicyDetailsTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import PolicyDetailsTypeDef

def get_value() -> PolicyDetailsTypeDef:
    return {
        "action": ...,
    }
Definition
class PolicyDetailsTypeDef(TypedDict):
    action: NotRequired[FindingActionTypeDef],  # (1)
    actor: NotRequired[FindingActorTypeDef],  # (2)
  1. See FindingActionTypeDef
  2. See FindingActorTypeDef

JobSummaryTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import JobSummaryTypeDef

def get_value() -> JobSummaryTypeDef:
    return {
        "bucketCriteria": ...,
    }
Definition
class JobSummaryTypeDef(TypedDict):
    bucketCriteria: NotRequired[S3BucketCriteriaForJobTypeDef],  # (1)
    bucketDefinitions: NotRequired[List[S3BucketDefinitionForJobTypeDef]],  # (2)
    createdAt: NotRequired[datetime],
    jobId: NotRequired[str],
    jobStatus: NotRequired[JobStatusType],  # (3)
    jobType: NotRequired[JobTypeType],  # (4)
    lastRunErrorStatus: NotRequired[LastRunErrorStatusTypeDef],  # (5)
    name: NotRequired[str],
    userPausedDetails: NotRequired[UserPausedDetailsTypeDef],  # (6)
  1. See S3BucketCriteriaForJobTypeDef
  2. See S3BucketDefinitionForJobTypeDef
  3. See JobStatusType
  4. See JobTypeType
  5. See LastRunErrorStatusTypeDef
  6. See UserPausedDetailsTypeDef

S3JobDefinitionTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import S3JobDefinitionTypeDef

def get_value() -> S3JobDefinitionTypeDef:
    return {
        "bucketCriteria": ...,
    }
Definition
class S3JobDefinitionTypeDef(TypedDict):
    bucketCriteria: NotRequired[S3BucketCriteriaForJobTypeDef],  # (1)
    bucketDefinitions: NotRequired[Sequence[S3BucketDefinitionForJobTypeDef]],  # (2)
    scoping: NotRequired[ScopingTypeDef],  # (3)
  1. See S3BucketCriteriaForJobTypeDef
  2. See S3BucketDefinitionForJobTypeDef
  3. See ScopingTypeDef

ClassificationDetailsTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ClassificationDetailsTypeDef

def get_value() -> ClassificationDetailsTypeDef:
    return {
        "detailedResultsLocation": ...,
    }
Definition
class ClassificationDetailsTypeDef(TypedDict):
    detailedResultsLocation: NotRequired[str],
    jobArn: NotRequired[str],
    jobId: NotRequired[str],
    originType: NotRequired[OriginTypeType],  # (1)
    result: NotRequired[ClassificationResultTypeDef],  # (2)
  1. See OriginTypeType
  2. See ClassificationResultTypeDef

ListClassificationJobsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import ListClassificationJobsResponseTypeDef

def get_value() -> ListClassificationJobsResponseTypeDef:
    return {
        "items": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListClassificationJobsResponseTypeDef(TypedDict):
    items: List[JobSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateClassificationJobRequestRequestTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import CreateClassificationJobRequestRequestTypeDef

def get_value() -> CreateClassificationJobRequestRequestTypeDef:
    return {
        "clientToken": ...,
        "jobType": ...,
        "name": ...,
        "s3JobDefinition": ...,
    }
Definition
class CreateClassificationJobRequestRequestTypeDef(TypedDict):
    clientToken: str,
    jobType: JobTypeType,  # (1)
    name: str,
    s3JobDefinition: S3JobDefinitionTypeDef,  # (2)
    allowListIds: NotRequired[Sequence[str]],
    customDataIdentifierIds: NotRequired[Sequence[str]],
    description: NotRequired[str],
    initialRun: NotRequired[bool],
    managedDataIdentifierIds: NotRequired[Sequence[str]],
    managedDataIdentifierSelector: NotRequired[ManagedDataIdentifierSelectorType],  # (3)
    samplingPercentage: NotRequired[int],
    scheduleFrequency: NotRequired[JobScheduleFrequencyTypeDef],  # (4)
    tags: NotRequired[Mapping[str, str]],
  1. See JobTypeType
  2. See S3JobDefinitionTypeDef
  3. See ManagedDataIdentifierSelectorType
  4. See JobScheduleFrequencyTypeDef

DescribeClassificationJobResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import DescribeClassificationJobResponseTypeDef

def get_value() -> DescribeClassificationJobResponseTypeDef:
    return {
        "allowListIds": ...,
        "clientToken": ...,
        "createdAt": ...,
        "customDataIdentifierIds": ...,
        "description": ...,
        "initialRun": ...,
        "jobArn": ...,
        "jobId": ...,
        "jobStatus": ...,
        "jobType": ...,
        "lastRunErrorStatus": ...,
        "lastRunTime": ...,
        "managedDataIdentifierIds": ...,
        "managedDataIdentifierSelector": ...,
        "name": ...,
        "s3JobDefinition": ...,
        "samplingPercentage": ...,
        "scheduleFrequency": ...,
        "statistics": ...,
        "tags": ...,
        "userPausedDetails": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClassificationJobResponseTypeDef(TypedDict):
    allowListIds: List[str],
    clientToken: str,
    createdAt: datetime,
    customDataIdentifierIds: List[str],
    description: str,
    initialRun: bool,
    jobArn: str,
    jobId: str,
    jobStatus: JobStatusType,  # (1)
    jobType: JobTypeType,  # (2)
    lastRunErrorStatus: LastRunErrorStatusTypeDef,  # (3)
    lastRunTime: datetime,
    managedDataIdentifierIds: List[str],
    managedDataIdentifierSelector: ManagedDataIdentifierSelectorType,  # (4)
    name: str,
    s3JobDefinition: S3JobDefinitionTypeDef,  # (5)
    samplingPercentage: int,
    scheduleFrequency: JobScheduleFrequencyTypeDef,  # (6)
    statistics: StatisticsTypeDef,  # (7)
    tags: Dict[str, str],
    userPausedDetails: UserPausedDetailsTypeDef,  # (8)
    ResponseMetadata: ResponseMetadataTypeDef,  # (9)
  1. See JobStatusType
  2. See JobTypeType
  3. See LastRunErrorStatusTypeDef
  4. See ManagedDataIdentifierSelectorType
  5. See S3JobDefinitionTypeDef
  6. See JobScheduleFrequencyTypeDef
  7. See StatisticsTypeDef
  8. See UserPausedDetailsTypeDef
  9. See ResponseMetadataTypeDef

FindingTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import FindingTypeDef

def get_value() -> FindingTypeDef:
    return {
        "accountId": ...,
    }
Definition
class FindingTypeDef(TypedDict):
    accountId: NotRequired[str],
    archived: NotRequired[bool],
    category: NotRequired[FindingCategoryType],  # (1)
    classificationDetails: NotRequired[ClassificationDetailsTypeDef],  # (2)
    count: NotRequired[int],
    createdAt: NotRequired[datetime],
    description: NotRequired[str],
    id: NotRequired[str],
    partition: NotRequired[str],
    policyDetails: NotRequired[PolicyDetailsTypeDef],  # (3)
    region: NotRequired[str],
    resourcesAffected: NotRequired[ResourcesAffectedTypeDef],  # (4)
    sample: NotRequired[bool],
    schemaVersion: NotRequired[str],
    severity: NotRequired[SeverityTypeDef],  # (5)
    title: NotRequired[str],
    type: NotRequired[FindingTypeType],  # (6)
    updatedAt: NotRequired[datetime],
  1. See FindingCategoryType
  2. See ClassificationDetailsTypeDef
  3. See PolicyDetailsTypeDef
  4. See ResourcesAffectedTypeDef
  5. See SeverityTypeDef
  6. See FindingTypeType

GetFindingsResponseTypeDef

Usage Example
from mypy_boto3_macie2.type_defs import GetFindingsResponseTypeDef

def get_value() -> GetFindingsResponseTypeDef:
    return {
        "findings": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFindingsResponseTypeDef(TypedDict):
    findings: List[FindingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingTypeDef
  2. See ResponseMetadataTypeDef