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