Skip to content

Typed dictionaries#

Index > GuardDuty > Typed dictionaries

Auto-generated documentation for GuardDuty type annotations stubs module mypy-boto3-guardduty.

AcceptAdministratorInvitationRequestRequestTypeDef#

# AcceptAdministratorInvitationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import AcceptAdministratorInvitationRequestRequestTypeDef

def get_value() -> AcceptAdministratorInvitationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AdministratorId": ...,
        "InvitationId": ...,
    }
# AcceptAdministratorInvitationRequestRequestTypeDef definition

class AcceptAdministratorInvitationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AdministratorId: str,
    InvitationId: str,

AcceptInvitationRequestRequestTypeDef#

# AcceptInvitationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import AcceptInvitationRequestRequestTypeDef

def get_value() -> AcceptInvitationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "MasterId": ...,
        "InvitationId": ...,
    }
# AcceptInvitationRequestRequestTypeDef definition

class AcceptInvitationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MasterId: str,
    InvitationId: str,

AccessControlListTypeDef#

# AccessControlListTypeDef usage example

from mypy_boto3_guardduty.type_defs import AccessControlListTypeDef

def get_value() -> AccessControlListTypeDef:
    return {
        "AllowsPublicReadAccess": ...,
    }
# AccessControlListTypeDef definition

class AccessControlListTypeDef(TypedDict):
    AllowsPublicReadAccess: NotRequired[bool],
    AllowsPublicWriteAccess: NotRequired[bool],

AccessKeyDetailsTypeDef#

# AccessKeyDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import AccessKeyDetailsTypeDef

def get_value() -> AccessKeyDetailsTypeDef:
    return {
        "AccessKeyId": ...,
    }
# AccessKeyDetailsTypeDef definition

class AccessKeyDetailsTypeDef(TypedDict):
    AccessKeyId: NotRequired[str],
    PrincipalId: NotRequired[str],
    UserName: NotRequired[str],
    UserType: NotRequired[str],

AccountDetailTypeDef#

# AccountDetailTypeDef usage example

from mypy_boto3_guardduty.type_defs import AccountDetailTypeDef

def get_value() -> AccountDetailTypeDef:
    return {
        "AccountId": ...,
        "Email": ...,
    }
# AccountDetailTypeDef definition

class AccountDetailTypeDef(TypedDict):
    AccountId: str,
    Email: str,

FreeTrialFeatureConfigurationResultTypeDef#

# FreeTrialFeatureConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import FreeTrialFeatureConfigurationResultTypeDef

def get_value() -> FreeTrialFeatureConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# FreeTrialFeatureConfigurationResultTypeDef definition

class FreeTrialFeatureConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[FreeTrialFeatureResultType],  # (1)
    FreeTrialDaysRemaining: NotRequired[int],
  1. See FreeTrialFeatureResultType

BlockPublicAccessTypeDef#

# BlockPublicAccessTypeDef usage example

from mypy_boto3_guardduty.type_defs import BlockPublicAccessTypeDef

def get_value() -> BlockPublicAccessTypeDef:
    return {
        "IgnorePublicAcls": ...,
    }
# BlockPublicAccessTypeDef definition

class BlockPublicAccessTypeDef(TypedDict):
    IgnorePublicAcls: NotRequired[bool],
    RestrictPublicBuckets: NotRequired[bool],
    BlockPublicAcls: NotRequired[bool],
    BlockPublicPolicy: NotRequired[bool],

DnsRequestActionTypeDef#

# DnsRequestActionTypeDef usage example

from mypy_boto3_guardduty.type_defs import DnsRequestActionTypeDef

def get_value() -> DnsRequestActionTypeDef:
    return {
        "Domain": ...,
    }
# DnsRequestActionTypeDef definition

class DnsRequestActionTypeDef(TypedDict):
    Domain: NotRequired[str],
    Protocol: NotRequired[str],
    Blocked: NotRequired[bool],

AddonDetailsTypeDef#

# AddonDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import AddonDetailsTypeDef

def get_value() -> AddonDetailsTypeDef:
    return {
        "AddonVersion": ...,
    }
# AddonDetailsTypeDef definition

class AddonDetailsTypeDef(TypedDict):
    AddonVersion: NotRequired[str],
    AddonStatus: NotRequired[str],

AdminAccountTypeDef#

# AdminAccountTypeDef usage example

from mypy_boto3_guardduty.type_defs import AdminAccountTypeDef

def get_value() -> AdminAccountTypeDef:
    return {
        "AdminAccountId": ...,
    }
# AdminAccountTypeDef definition

class AdminAccountTypeDef(TypedDict):
    AdminAccountId: NotRequired[str],
    AdminStatus: NotRequired[AdminStatusType],  # (1)
  1. See AdminStatusType

AdministratorTypeDef#

# AdministratorTypeDef usage example

from mypy_boto3_guardduty.type_defs import AdministratorTypeDef

def get_value() -> AdministratorTypeDef:
    return {
        "AccountId": ...,
    }
# AdministratorTypeDef definition

class AdministratorTypeDef(TypedDict):
    AccountId: NotRequired[str],
    InvitationId: NotRequired[str],
    RelationshipStatus: NotRequired[str],
    InvitedAt: NotRequired[str],

ArchiveFindingsRequestRequestTypeDef#

# ArchiveFindingsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ArchiveFindingsRequestRequestTypeDef

def get_value() -> ArchiveFindingsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FindingIds": ...,
    }
# ArchiveFindingsRequestRequestTypeDef definition

class ArchiveFindingsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingIds: Sequence[str],

DomainDetailsTypeDef#

# DomainDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import DomainDetailsTypeDef

def get_value() -> DomainDetailsTypeDef:
    return {
        "Domain": ...,
    }
# DomainDetailsTypeDef definition

class DomainDetailsTypeDef(TypedDict):
    Domain: NotRequired[str],

RemoteAccountDetailsTypeDef#

# RemoteAccountDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import RemoteAccountDetailsTypeDef

def get_value() -> RemoteAccountDetailsTypeDef:
    return {
        "AccountId": ...,
    }
# RemoteAccountDetailsTypeDef definition

class RemoteAccountDetailsTypeDef(TypedDict):
    AccountId: NotRequired[str],
    Affiliated: NotRequired[bool],

BucketPolicyTypeDef#

# BucketPolicyTypeDef usage example

from mypy_boto3_guardduty.type_defs import BucketPolicyTypeDef

def get_value() -> BucketPolicyTypeDef:
    return {
        "AllowsPublicReadAccess": ...,
    }
# BucketPolicyTypeDef definition

class BucketPolicyTypeDef(TypedDict):
    AllowsPublicReadAccess: NotRequired[bool],
    AllowsPublicWriteAccess: NotRequired[bool],

CityTypeDef#

# CityTypeDef usage example

from mypy_boto3_guardduty.type_defs import CityTypeDef

def get_value() -> CityTypeDef:
    return {
        "CityName": ...,
    }
# CityTypeDef definition

class CityTypeDef(TypedDict):
    CityName: NotRequired[str],

CloudTrailConfigurationResultTypeDef#

# CloudTrailConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import CloudTrailConfigurationResultTypeDef

def get_value() -> CloudTrailConfigurationResultTypeDef:
    return {
        "Status": ...,
    }
# CloudTrailConfigurationResultTypeDef definition

class CloudTrailConfigurationResultTypeDef(TypedDict):
    Status: DataSourceStatusType,  # (1)
  1. See DataSourceStatusType

ConditionTypeDef#

# ConditionTypeDef usage example

from mypy_boto3_guardduty.type_defs import ConditionTypeDef

def get_value() -> ConditionTypeDef:
    return {
        "Eq": ...,
    }
# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    Eq: NotRequired[Sequence[str]],
    Neq: NotRequired[Sequence[str]],
    Gt: NotRequired[int],
    Gte: NotRequired[int],
    Lt: NotRequired[int],
    Lte: NotRequired[int],
    Equals: NotRequired[Sequence[str]],
    NotEquals: NotRequired[Sequence[str]],
    GreaterThan: NotRequired[int],
    GreaterThanOrEqual: NotRequired[int],
    LessThan: NotRequired[int],
    LessThanOrEqual: NotRequired[int],

SecurityContextTypeDef#

# SecurityContextTypeDef usage example

from mypy_boto3_guardduty.type_defs import SecurityContextTypeDef

def get_value() -> SecurityContextTypeDef:
    return {
        "Privileged": ...,
    }
# SecurityContextTypeDef definition

class SecurityContextTypeDef(TypedDict):
    Privileged: NotRequired[bool],

VolumeMountTypeDef#

# VolumeMountTypeDef usage example

from mypy_boto3_guardduty.type_defs import VolumeMountTypeDef

def get_value() -> VolumeMountTypeDef:
    return {
        "Name": ...,
    }
# VolumeMountTypeDef definition

class VolumeMountTypeDef(TypedDict):
    Name: NotRequired[str],
    MountPath: NotRequired[str],

CountryTypeDef#

# CountryTypeDef usage example

from mypy_boto3_guardduty.type_defs import CountryTypeDef

def get_value() -> CountryTypeDef:
    return {
        "CountryCode": ...,
    }
# CountryTypeDef definition

class CountryTypeDef(TypedDict):
    CountryCode: NotRequired[str],
    CountryName: NotRequired[str],

CoverageFilterConditionTypeDef#

# CoverageFilterConditionTypeDef usage example

from mypy_boto3_guardduty.type_defs import CoverageFilterConditionTypeDef

def get_value() -> CoverageFilterConditionTypeDef:
    return {
        "Equals": ...,
    }
# CoverageFilterConditionTypeDef definition

class CoverageFilterConditionTypeDef(TypedDict):
    Equals: NotRequired[Sequence[str]],
    NotEquals: NotRequired[Sequence[str]],

CoverageSortCriteriaTypeDef#

# CoverageSortCriteriaTypeDef usage example

from mypy_boto3_guardduty.type_defs import CoverageSortCriteriaTypeDef

def get_value() -> CoverageSortCriteriaTypeDef:
    return {
        "AttributeName": ...,
    }
# CoverageSortCriteriaTypeDef definition

class CoverageSortCriteriaTypeDef(TypedDict):
    AttributeName: NotRequired[CoverageSortKeyType],  # (1)
    OrderBy: NotRequired[OrderByType],  # (2)
  1. See CoverageSortKeyType
  2. See OrderByType

CoverageStatisticsTypeDef#

# CoverageStatisticsTypeDef usage example

from mypy_boto3_guardduty.type_defs import CoverageStatisticsTypeDef

def get_value() -> CoverageStatisticsTypeDef:
    return {
        "CountByResourceType": ...,
    }
# CoverageStatisticsTypeDef definition

class CoverageStatisticsTypeDef(TypedDict):
    CountByResourceType: NotRequired[Dict[ResourceTypeType, int]],  # (1)
    CountByCoverageStatus: NotRequired[Dict[CoverageStatusType, int]],  # (2)
  1. See ResourceTypeType
  2. See CoverageStatusType

CreateFilterResponseTypeDef#

# CreateFilterResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateFilterResponseTypeDef

def get_value() -> CreateFilterResponseTypeDef:
    return {
        "Name": ...,
        "ResponseMetadata": ...,
    }
# CreateFilterResponseTypeDef definition

class CreateFilterResponseTypeDef(TypedDict):
    Name: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateIPSetRequestRequestTypeDef#

# CreateIPSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateIPSetRequestRequestTypeDef

def get_value() -> CreateIPSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "Name": ...,
        "Format": ...,
        "Location": ...,
        "Activate": ...,
    }
# CreateIPSetRequestRequestTypeDef definition

class CreateIPSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    Name: str,
    Format: IpSetFormatType,  # (1)
    Location: str,
    Activate: bool,
    ClientToken: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See IpSetFormatType

CreateIPSetResponseTypeDef#

# CreateIPSetResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateIPSetResponseTypeDef

def get_value() -> CreateIPSetResponseTypeDef:
    return {
        "IpSetId": ...,
        "ResponseMetadata": ...,
    }
# CreateIPSetResponseTypeDef definition

class CreateIPSetResponseTypeDef(TypedDict):
    IpSetId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UnprocessedAccountTypeDef#

# UnprocessedAccountTypeDef usage example

from mypy_boto3_guardduty.type_defs import UnprocessedAccountTypeDef

def get_value() -> UnprocessedAccountTypeDef:
    return {
        "AccountId": ...,
        "Result": ...,
    }
# UnprocessedAccountTypeDef definition

class UnprocessedAccountTypeDef(TypedDict):
    AccountId: str,
    Result: str,

DestinationPropertiesTypeDef#

# DestinationPropertiesTypeDef usage example

from mypy_boto3_guardduty.type_defs import DestinationPropertiesTypeDef

def get_value() -> DestinationPropertiesTypeDef:
    return {
        "DestinationArn": ...,
    }
# DestinationPropertiesTypeDef definition

class DestinationPropertiesTypeDef(TypedDict):
    DestinationArn: NotRequired[str],
    KmsKeyArn: NotRequired[str],

CreatePublishingDestinationResponseTypeDef#

# CreatePublishingDestinationResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreatePublishingDestinationResponseTypeDef

def get_value() -> CreatePublishingDestinationResponseTypeDef:
    return {
        "DestinationId": ...,
        "ResponseMetadata": ...,
    }
# CreatePublishingDestinationResponseTypeDef definition

class CreatePublishingDestinationResponseTypeDef(TypedDict):
    DestinationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateSampleFindingsRequestRequestTypeDef#

# CreateSampleFindingsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateSampleFindingsRequestRequestTypeDef

def get_value() -> CreateSampleFindingsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# CreateSampleFindingsRequestRequestTypeDef definition

class CreateSampleFindingsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingTypes: NotRequired[Sequence[str]],

CreateThreatIntelSetRequestRequestTypeDef#

# CreateThreatIntelSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateThreatIntelSetRequestRequestTypeDef

def get_value() -> CreateThreatIntelSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "Name": ...,
        "Format": ...,
        "Location": ...,
        "Activate": ...,
    }
# CreateThreatIntelSetRequestRequestTypeDef definition

class CreateThreatIntelSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    Name: str,
    Format: ThreatIntelSetFormatType,  # (1)
    Location: str,
    Activate: bool,
    ClientToken: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See ThreatIntelSetFormatType

CreateThreatIntelSetResponseTypeDef#

# CreateThreatIntelSetResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateThreatIntelSetResponseTypeDef

def get_value() -> CreateThreatIntelSetResponseTypeDef:
    return {
        "ThreatIntelSetId": ...,
        "ResponseMetadata": ...,
    }
# CreateThreatIntelSetResponseTypeDef definition

class CreateThreatIntelSetResponseTypeDef(TypedDict):
    ThreatIntelSetId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DNSLogsConfigurationResultTypeDef#

# DNSLogsConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import DNSLogsConfigurationResultTypeDef

def get_value() -> DNSLogsConfigurationResultTypeDef:
    return {
        "Status": ...,
    }
# DNSLogsConfigurationResultTypeDef definition

class DNSLogsConfigurationResultTypeDef(TypedDict):
    Status: DataSourceStatusType,  # (1)
  1. See DataSourceStatusType

FlowLogsConfigurationResultTypeDef#

# FlowLogsConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import FlowLogsConfigurationResultTypeDef

def get_value() -> FlowLogsConfigurationResultTypeDef:
    return {
        "Status": ...,
    }
# FlowLogsConfigurationResultTypeDef definition

class FlowLogsConfigurationResultTypeDef(TypedDict):
    Status: DataSourceStatusType,  # (1)
  1. See DataSourceStatusType

S3LogsConfigurationResultTypeDef#

# S3LogsConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import S3LogsConfigurationResultTypeDef

def get_value() -> S3LogsConfigurationResultTypeDef:
    return {
        "Status": ...,
    }
# S3LogsConfigurationResultTypeDef definition

class S3LogsConfigurationResultTypeDef(TypedDict):
    Status: DataSourceStatusType,  # (1)
  1. See DataSourceStatusType

S3LogsConfigurationTypeDef#

# S3LogsConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import S3LogsConfigurationTypeDef

def get_value() -> S3LogsConfigurationTypeDef:
    return {
        "Enable": ...,
    }
# S3LogsConfigurationTypeDef definition

class S3LogsConfigurationTypeDef(TypedDict):
    Enable: bool,

DataSourceFreeTrialTypeDef#

# DataSourceFreeTrialTypeDef usage example

from mypy_boto3_guardduty.type_defs import DataSourceFreeTrialTypeDef

def get_value() -> DataSourceFreeTrialTypeDef:
    return {
        "FreeTrialDaysRemaining": ...,
    }
# DataSourceFreeTrialTypeDef definition

class DataSourceFreeTrialTypeDef(TypedDict):
    FreeTrialDaysRemaining: NotRequired[int],

DeclineInvitationsRequestRequestTypeDef#

# DeclineInvitationsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeclineInvitationsRequestRequestTypeDef

def get_value() -> DeclineInvitationsRequestRequestTypeDef:
    return {
        "AccountIds": ...,
    }
# DeclineInvitationsRequestRequestTypeDef definition

class DeclineInvitationsRequestRequestTypeDef(TypedDict):
    AccountIds: Sequence[str],

DefaultServerSideEncryptionTypeDef#

# DefaultServerSideEncryptionTypeDef usage example

from mypy_boto3_guardduty.type_defs import DefaultServerSideEncryptionTypeDef

def get_value() -> DefaultServerSideEncryptionTypeDef:
    return {
        "EncryptionType": ...,
    }
# DefaultServerSideEncryptionTypeDef definition

class DefaultServerSideEncryptionTypeDef(TypedDict):
    EncryptionType: NotRequired[str],
    KmsMasterKeyArn: NotRequired[str],

DeleteDetectorRequestRequestTypeDef#

# DeleteDetectorRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteDetectorRequestRequestTypeDef

def get_value() -> DeleteDetectorRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# DeleteDetectorRequestRequestTypeDef definition

class DeleteDetectorRequestRequestTypeDef(TypedDict):
    DetectorId: str,

DeleteFilterRequestRequestTypeDef#

# DeleteFilterRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteFilterRequestRequestTypeDef

def get_value() -> DeleteFilterRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FilterName": ...,
    }
# DeleteFilterRequestRequestTypeDef definition

class DeleteFilterRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FilterName: str,

DeleteIPSetRequestRequestTypeDef#

# DeleteIPSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteIPSetRequestRequestTypeDef

def get_value() -> DeleteIPSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "IpSetId": ...,
    }
# DeleteIPSetRequestRequestTypeDef definition

class DeleteIPSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    IpSetId: str,

DeleteInvitationsRequestRequestTypeDef#

# DeleteInvitationsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteInvitationsRequestRequestTypeDef

def get_value() -> DeleteInvitationsRequestRequestTypeDef:
    return {
        "AccountIds": ...,
    }
# DeleteInvitationsRequestRequestTypeDef definition

class DeleteInvitationsRequestRequestTypeDef(TypedDict):
    AccountIds: Sequence[str],

DeleteMembersRequestRequestTypeDef#

# DeleteMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteMembersRequestRequestTypeDef

def get_value() -> DeleteMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# DeleteMembersRequestRequestTypeDef definition

class DeleteMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],

DeletePublishingDestinationRequestRequestTypeDef#

# DeletePublishingDestinationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeletePublishingDestinationRequestRequestTypeDef

def get_value() -> DeletePublishingDestinationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "DestinationId": ...,
    }
# DeletePublishingDestinationRequestRequestTypeDef definition

class DeletePublishingDestinationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    DestinationId: str,

DeleteThreatIntelSetRequestRequestTypeDef#

# DeleteThreatIntelSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteThreatIntelSetRequestRequestTypeDef

def get_value() -> DeleteThreatIntelSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "ThreatIntelSetId": ...,
    }
# DeleteThreatIntelSetRequestRequestTypeDef definition

class DeleteThreatIntelSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    ThreatIntelSetId: str,

SortCriteriaTypeDef#

# SortCriteriaTypeDef usage example

from mypy_boto3_guardduty.type_defs import SortCriteriaTypeDef

def get_value() -> SortCriteriaTypeDef:
    return {
        "AttributeName": ...,
    }
# SortCriteriaTypeDef definition

class SortCriteriaTypeDef(TypedDict):
    AttributeName: NotRequired[str],
    OrderBy: NotRequired[OrderByType],  # (1)
  1. See OrderByType

DescribeOrganizationConfigurationRequestRequestTypeDef#

# DescribeOrganizationConfigurationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DescribeOrganizationConfigurationRequestRequestTypeDef

def get_value() -> DescribeOrganizationConfigurationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# DescribeOrganizationConfigurationRequestRequestTypeDef definition

class DescribeOrganizationConfigurationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribePublishingDestinationRequestRequestTypeDef#

# DescribePublishingDestinationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DescribePublishingDestinationRequestRequestTypeDef

def get_value() -> DescribePublishingDestinationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "DestinationId": ...,
    }
# DescribePublishingDestinationRequestRequestTypeDef definition

class DescribePublishingDestinationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    DestinationId: str,

DestinationTypeDef#

# DestinationTypeDef usage example

from mypy_boto3_guardduty.type_defs import DestinationTypeDef

def get_value() -> DestinationTypeDef:
    return {
        "DestinationId": ...,
        "DestinationType": ...,
        "Status": ...,
    }
# DestinationTypeDef definition

class DestinationTypeDef(TypedDict):
    DestinationId: str,
    DestinationType: DestinationTypeType,  # (1)
    Status: PublishingStatusType,  # (2)
  1. See DestinationTypeType
  2. See PublishingStatusType

DetectorAdditionalConfigurationResultTypeDef#

# DetectorAdditionalConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import DetectorAdditionalConfigurationResultTypeDef

def get_value() -> DetectorAdditionalConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# DetectorAdditionalConfigurationResultTypeDef definition

class DetectorAdditionalConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[FeatureAdditionalConfigurationType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
    UpdatedAt: NotRequired[datetime],
  1. See FeatureAdditionalConfigurationType
  2. See FeatureStatusType

DetectorAdditionalConfigurationTypeDef#

# DetectorAdditionalConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import DetectorAdditionalConfigurationTypeDef

def get_value() -> DetectorAdditionalConfigurationTypeDef:
    return {
        "Name": ...,
    }
# DetectorAdditionalConfigurationTypeDef definition

class DetectorAdditionalConfigurationTypeDef(TypedDict):
    Name: NotRequired[FeatureAdditionalConfigurationType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
  1. See FeatureAdditionalConfigurationType
  2. See FeatureStatusType

DisableOrganizationAdminAccountRequestRequestTypeDef#

# DisableOrganizationAdminAccountRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DisableOrganizationAdminAccountRequestRequestTypeDef

def get_value() -> DisableOrganizationAdminAccountRequestRequestTypeDef:
    return {
        "AdminAccountId": ...,
    }
# DisableOrganizationAdminAccountRequestRequestTypeDef definition

class DisableOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
    AdminAccountId: str,

DisassociateFromAdministratorAccountRequestRequestTypeDef#

# DisassociateFromAdministratorAccountRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DisassociateFromAdministratorAccountRequestRequestTypeDef

def get_value() -> DisassociateFromAdministratorAccountRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# DisassociateFromAdministratorAccountRequestRequestTypeDef definition

class DisassociateFromAdministratorAccountRequestRequestTypeDef(TypedDict):
    DetectorId: str,

DisassociateFromMasterAccountRequestRequestTypeDef#

# DisassociateFromMasterAccountRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DisassociateFromMasterAccountRequestRequestTypeDef

def get_value() -> DisassociateFromMasterAccountRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# DisassociateFromMasterAccountRequestRequestTypeDef definition

class DisassociateFromMasterAccountRequestRequestTypeDef(TypedDict):
    DetectorId: str,

DisassociateMembersRequestRequestTypeDef#

# DisassociateMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import DisassociateMembersRequestRequestTypeDef

def get_value() -> DisassociateMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# DisassociateMembersRequestRequestTypeDef definition

class DisassociateMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],

VolumeDetailTypeDef#

# VolumeDetailTypeDef usage example

from mypy_boto3_guardduty.type_defs import VolumeDetailTypeDef

def get_value() -> VolumeDetailTypeDef:
    return {
        "VolumeArn": ...,
    }
# VolumeDetailTypeDef definition

class VolumeDetailTypeDef(TypedDict):
    VolumeArn: NotRequired[str],
    VolumeType: NotRequired[str],
    DeviceName: NotRequired[str],
    VolumeSizeInGB: NotRequired[int],
    EncryptionType: NotRequired[str],
    SnapshotArn: NotRequired[str],
    KmsKeyArn: NotRequired[str],

EbsVolumesResultTypeDef#

# EbsVolumesResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import EbsVolumesResultTypeDef

def get_value() -> EbsVolumesResultTypeDef:
    return {
        "Status": ...,
    }
# EbsVolumesResultTypeDef definition

class EbsVolumesResultTypeDef(TypedDict):
    Status: NotRequired[DataSourceStatusType],  # (1)
    Reason: NotRequired[str],
  1. See DataSourceStatusType

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_guardduty.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

EnableOrganizationAdminAccountRequestRequestTypeDef#

# EnableOrganizationAdminAccountRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import EnableOrganizationAdminAccountRequestRequestTypeDef

def get_value() -> EnableOrganizationAdminAccountRequestRequestTypeDef:
    return {
        "AdminAccountId": ...,
    }
# EnableOrganizationAdminAccountRequestRequestTypeDef definition

class EnableOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
    AdminAccountId: str,

ThreatIntelligenceDetailTypeDef#

# ThreatIntelligenceDetailTypeDef usage example

from mypy_boto3_guardduty.type_defs import ThreatIntelligenceDetailTypeDef

def get_value() -> ThreatIntelligenceDetailTypeDef:
    return {
        "ThreatListName": ...,
    }
# ThreatIntelligenceDetailTypeDef definition

class ThreatIntelligenceDetailTypeDef(TypedDict):
    ThreatListName: NotRequired[str],
    ThreatNames: NotRequired[List[str]],

FilterConditionTypeDef#

# FilterConditionTypeDef usage example

from mypy_boto3_guardduty.type_defs import FilterConditionTypeDef

def get_value() -> FilterConditionTypeDef:
    return {
        "EqualsValue": ...,
    }
# FilterConditionTypeDef definition

class FilterConditionTypeDef(TypedDict):
    EqualsValue: NotRequired[str],
    GreaterThan: NotRequired[int],
    LessThan: NotRequired[int],

FindingStatisticsTypeDef#

# FindingStatisticsTypeDef usage example

from mypy_boto3_guardduty.type_defs import FindingStatisticsTypeDef

def get_value() -> FindingStatisticsTypeDef:
    return {
        "CountBySeverity": ...,
    }
# FindingStatisticsTypeDef definition

class FindingStatisticsTypeDef(TypedDict):
    CountBySeverity: NotRequired[Dict[str, int]],

GeoLocationTypeDef#

# GeoLocationTypeDef usage example

from mypy_boto3_guardduty.type_defs import GeoLocationTypeDef

def get_value() -> GeoLocationTypeDef:
    return {
        "Lat": ...,
    }
# GeoLocationTypeDef definition

class GeoLocationTypeDef(TypedDict):
    Lat: NotRequired[float],
    Lon: NotRequired[float],

GetAdministratorAccountRequestRequestTypeDef#

# GetAdministratorAccountRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetAdministratorAccountRequestRequestTypeDef

def get_value() -> GetAdministratorAccountRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# GetAdministratorAccountRequestRequestTypeDef definition

class GetAdministratorAccountRequestRequestTypeDef(TypedDict):
    DetectorId: str,

GetDetectorRequestRequestTypeDef#

# GetDetectorRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetDetectorRequestRequestTypeDef

def get_value() -> GetDetectorRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# GetDetectorRequestRequestTypeDef definition

class GetDetectorRequestRequestTypeDef(TypedDict):
    DetectorId: str,

GetFilterRequestRequestTypeDef#

# GetFilterRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetFilterRequestRequestTypeDef

def get_value() -> GetFilterRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FilterName": ...,
    }
# GetFilterRequestRequestTypeDef definition

class GetFilterRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FilterName: str,

GetIPSetRequestRequestTypeDef#

# GetIPSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetIPSetRequestRequestTypeDef

def get_value() -> GetIPSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "IpSetId": ...,
    }
# GetIPSetRequestRequestTypeDef definition

class GetIPSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    IpSetId: str,

GetIPSetResponseTypeDef#

# GetIPSetResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetIPSetResponseTypeDef

def get_value() -> GetIPSetResponseTypeDef:
    return {
        "Name": ...,
        "Format": ...,
        "Location": ...,
        "Status": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# GetIPSetResponseTypeDef definition

class GetIPSetResponseTypeDef(TypedDict):
    Name: str,
    Format: IpSetFormatType,  # (1)
    Location: str,
    Status: IpSetStatusType,  # (2)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See IpSetFormatType
  2. See IpSetStatusType
  3. See ResponseMetadataTypeDef

GetInvitationsCountResponseTypeDef#

# GetInvitationsCountResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetInvitationsCountResponseTypeDef

def get_value() -> GetInvitationsCountResponseTypeDef:
    return {
        "InvitationsCount": ...,
        "ResponseMetadata": ...,
    }
# GetInvitationsCountResponseTypeDef definition

class GetInvitationsCountResponseTypeDef(TypedDict):
    InvitationsCount: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetMalwareScanSettingsRequestRequestTypeDef#

# GetMalwareScanSettingsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetMalwareScanSettingsRequestRequestTypeDef

def get_value() -> GetMalwareScanSettingsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# GetMalwareScanSettingsRequestRequestTypeDef definition

class GetMalwareScanSettingsRequestRequestTypeDef(TypedDict):
    DetectorId: str,

GetMasterAccountRequestRequestTypeDef#

# GetMasterAccountRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetMasterAccountRequestRequestTypeDef

def get_value() -> GetMasterAccountRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# GetMasterAccountRequestRequestTypeDef definition

class GetMasterAccountRequestRequestTypeDef(TypedDict):
    DetectorId: str,

MasterTypeDef#

# MasterTypeDef usage example

from mypy_boto3_guardduty.type_defs import MasterTypeDef

def get_value() -> MasterTypeDef:
    return {
        "AccountId": ...,
    }
# MasterTypeDef definition

class MasterTypeDef(TypedDict):
    AccountId: NotRequired[str],
    InvitationId: NotRequired[str],
    RelationshipStatus: NotRequired[str],
    InvitedAt: NotRequired[str],

GetMemberDetectorsRequestRequestTypeDef#

# GetMemberDetectorsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetMemberDetectorsRequestRequestTypeDef

def get_value() -> GetMemberDetectorsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# GetMemberDetectorsRequestRequestTypeDef definition

class GetMemberDetectorsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],

GetMembersRequestRequestTypeDef#

# GetMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetMembersRequestRequestTypeDef

def get_value() -> GetMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# GetMembersRequestRequestTypeDef definition

class GetMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],

MemberTypeDef#

# MemberTypeDef usage example

from mypy_boto3_guardduty.type_defs import MemberTypeDef

def get_value() -> MemberTypeDef:
    return {
        "AccountId": ...,
        "MasterId": ...,
        "Email": ...,
        "RelationshipStatus": ...,
        "UpdatedAt": ...,
    }
# MemberTypeDef definition

class MemberTypeDef(TypedDict):
    AccountId: str,
    MasterId: str,
    Email: str,
    RelationshipStatus: str,
    UpdatedAt: str,
    DetectorId: NotRequired[str],
    InvitedAt: NotRequired[str],
    AdministratorId: NotRequired[str],

GetRemainingFreeTrialDaysRequestRequestTypeDef#

# GetRemainingFreeTrialDaysRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetRemainingFreeTrialDaysRequestRequestTypeDef

def get_value() -> GetRemainingFreeTrialDaysRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# GetRemainingFreeTrialDaysRequestRequestTypeDef definition

class GetRemainingFreeTrialDaysRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: NotRequired[Sequence[str]],

GetThreatIntelSetRequestRequestTypeDef#

# GetThreatIntelSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetThreatIntelSetRequestRequestTypeDef

def get_value() -> GetThreatIntelSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "ThreatIntelSetId": ...,
    }
# GetThreatIntelSetRequestRequestTypeDef definition

class GetThreatIntelSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    ThreatIntelSetId: str,

GetThreatIntelSetResponseTypeDef#

# GetThreatIntelSetResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetThreatIntelSetResponseTypeDef

def get_value() -> GetThreatIntelSetResponseTypeDef:
    return {
        "Name": ...,
        "Format": ...,
        "Location": ...,
        "Status": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# GetThreatIntelSetResponseTypeDef definition

class GetThreatIntelSetResponseTypeDef(TypedDict):
    Name: str,
    Format: ThreatIntelSetFormatType,  # (1)
    Location: str,
    Status: ThreatIntelSetStatusType,  # (2)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ThreatIntelSetFormatType
  2. See ThreatIntelSetStatusType
  3. See ResponseMetadataTypeDef

UsageCriteriaTypeDef#

# UsageCriteriaTypeDef usage example

from mypy_boto3_guardduty.type_defs import UsageCriteriaTypeDef

def get_value() -> UsageCriteriaTypeDef:
    return {
        "AccountIds": ...,
    }
# UsageCriteriaTypeDef definition

class UsageCriteriaTypeDef(TypedDict):
    AccountIds: NotRequired[Sequence[str]],
    DataSources: NotRequired[Sequence[DataSourceType]],  # (1)
    Resources: NotRequired[Sequence[str]],
    Features: NotRequired[Sequence[UsageFeatureType]],  # (2)
  1. See DataSourceType
  2. See UsageFeatureType

HighestSeverityThreatDetailsTypeDef#

# HighestSeverityThreatDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import HighestSeverityThreatDetailsTypeDef

def get_value() -> HighestSeverityThreatDetailsTypeDef:
    return {
        "Severity": ...,
    }
# HighestSeverityThreatDetailsTypeDef definition

class HighestSeverityThreatDetailsTypeDef(TypedDict):
    Severity: NotRequired[str],
    ThreatName: NotRequired[str],
    Count: NotRequired[int],

HostPathTypeDef#

# HostPathTypeDef usage example

from mypy_boto3_guardduty.type_defs import HostPathTypeDef

def get_value() -> HostPathTypeDef:
    return {
        "Path": ...,
    }
# HostPathTypeDef definition

class HostPathTypeDef(TypedDict):
    Path: NotRequired[str],

IamInstanceProfileTypeDef#

# IamInstanceProfileTypeDef usage example

from mypy_boto3_guardduty.type_defs import IamInstanceProfileTypeDef

def get_value() -> IamInstanceProfileTypeDef:
    return {
        "Arn": ...,
    }
# IamInstanceProfileTypeDef definition

class IamInstanceProfileTypeDef(TypedDict):
    Arn: NotRequired[str],
    Id: NotRequired[str],

ProductCodeTypeDef#

# ProductCodeTypeDef usage example

from mypy_boto3_guardduty.type_defs import ProductCodeTypeDef

def get_value() -> ProductCodeTypeDef:
    return {
        "Code": ...,
    }
# ProductCodeTypeDef definition

class ProductCodeTypeDef(TypedDict):
    Code: NotRequired[str],
    ProductType: NotRequired[str],

InvitationTypeDef#

# InvitationTypeDef usage example

from mypy_boto3_guardduty.type_defs import InvitationTypeDef

def get_value() -> InvitationTypeDef:
    return {
        "AccountId": ...,
    }
# InvitationTypeDef definition

class InvitationTypeDef(TypedDict):
    AccountId: NotRequired[str],
    InvitationId: NotRequired[str],
    RelationshipStatus: NotRequired[str],
    InvitedAt: NotRequired[str],

InviteMembersRequestRequestTypeDef#

# InviteMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import InviteMembersRequestRequestTypeDef

def get_value() -> InviteMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# InviteMembersRequestRequestTypeDef definition

class InviteMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],
    DisableEmailNotification: NotRequired[bool],
    Message: NotRequired[str],

KubernetesAuditLogsConfigurationResultTypeDef#

# KubernetesAuditLogsConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import KubernetesAuditLogsConfigurationResultTypeDef

def get_value() -> KubernetesAuditLogsConfigurationResultTypeDef:
    return {
        "Status": ...,
    }
# KubernetesAuditLogsConfigurationResultTypeDef definition

class KubernetesAuditLogsConfigurationResultTypeDef(TypedDict):
    Status: DataSourceStatusType,  # (1)
  1. See DataSourceStatusType

KubernetesAuditLogsConfigurationTypeDef#

# KubernetesAuditLogsConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import KubernetesAuditLogsConfigurationTypeDef

def get_value() -> KubernetesAuditLogsConfigurationTypeDef:
    return {
        "Enable": ...,
    }
# KubernetesAuditLogsConfigurationTypeDef definition

class KubernetesAuditLogsConfigurationTypeDef(TypedDict):
    Enable: bool,

KubernetesUserDetailsTypeDef#

# KubernetesUserDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import KubernetesUserDetailsTypeDef

def get_value() -> KubernetesUserDetailsTypeDef:
    return {
        "Username": ...,
    }
# KubernetesUserDetailsTypeDef definition

class KubernetesUserDetailsTypeDef(TypedDict):
    Username: NotRequired[str],
    Uid: NotRequired[str],
    Groups: NotRequired[List[str]],

LineageObjectTypeDef#

# LineageObjectTypeDef usage example

from mypy_boto3_guardduty.type_defs import LineageObjectTypeDef

def get_value() -> LineageObjectTypeDef:
    return {
        "StartTime": ...,
    }
# LineageObjectTypeDef definition

class LineageObjectTypeDef(TypedDict):
    StartTime: NotRequired[datetime],
    NamespacePid: NotRequired[int],
    UserId: NotRequired[int],
    Name: NotRequired[str],
    Pid: NotRequired[int],
    Uuid: NotRequired[str],
    ExecutablePath: NotRequired[str],
    Euid: NotRequired[int],
    ParentUuid: NotRequired[str],

ListDetectorsRequestListDetectorsPaginateTypeDef#

# ListDetectorsRequestListDetectorsPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListDetectorsRequestListDetectorsPaginateTypeDef

def get_value() -> ListDetectorsRequestListDetectorsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListDetectorsRequestListDetectorsPaginateTypeDef definition

class ListDetectorsRequestListDetectorsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDetectorsRequestRequestTypeDef#

# ListDetectorsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListDetectorsRequestRequestTypeDef

def get_value() -> ListDetectorsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListDetectorsRequestRequestTypeDef definition

class ListDetectorsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListDetectorsResponseTypeDef#

# ListDetectorsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListDetectorsResponseTypeDef

def get_value() -> ListDetectorsResponseTypeDef:
    return {
        "DetectorIds": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDetectorsResponseTypeDef definition

class ListDetectorsResponseTypeDef(TypedDict):
    DetectorIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListFiltersRequestListFiltersPaginateTypeDef#

# ListFiltersRequestListFiltersPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListFiltersRequestListFiltersPaginateTypeDef

def get_value() -> ListFiltersRequestListFiltersPaginateTypeDef:
    return {
        "DetectorId": ...,
    }
# ListFiltersRequestListFiltersPaginateTypeDef definition

class ListFiltersRequestListFiltersPaginateTypeDef(TypedDict):
    DetectorId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFiltersRequestRequestTypeDef#

# ListFiltersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListFiltersRequestRequestTypeDef

def get_value() -> ListFiltersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# ListFiltersRequestRequestTypeDef definition

class ListFiltersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListFiltersResponseTypeDef#

# ListFiltersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListFiltersResponseTypeDef

def get_value() -> ListFiltersResponseTypeDef:
    return {
        "FilterNames": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListFiltersResponseTypeDef definition

class ListFiltersResponseTypeDef(TypedDict):
    FilterNames: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListFindingsResponseTypeDef#

# ListFindingsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListFindingsResponseTypeDef

def get_value() -> ListFindingsResponseTypeDef:
    return {
        "FindingIds": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListFindingsResponseTypeDef definition

class ListFindingsResponseTypeDef(TypedDict):
    FindingIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListIPSetsRequestListIPSetsPaginateTypeDef#

# ListIPSetsRequestListIPSetsPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListIPSetsRequestListIPSetsPaginateTypeDef

def get_value() -> ListIPSetsRequestListIPSetsPaginateTypeDef:
    return {
        "DetectorId": ...,
    }
# ListIPSetsRequestListIPSetsPaginateTypeDef definition

class ListIPSetsRequestListIPSetsPaginateTypeDef(TypedDict):
    DetectorId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListIPSetsRequestRequestTypeDef#

# ListIPSetsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListIPSetsRequestRequestTypeDef

def get_value() -> ListIPSetsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# ListIPSetsRequestRequestTypeDef definition

class ListIPSetsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListIPSetsResponseTypeDef#

# ListIPSetsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListIPSetsResponseTypeDef

def get_value() -> ListIPSetsResponseTypeDef:
    return {
        "IpSetIds": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListIPSetsResponseTypeDef definition

class ListIPSetsResponseTypeDef(TypedDict):
    IpSetIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListInvitationsRequestListInvitationsPaginateTypeDef#

# ListInvitationsRequestListInvitationsPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListInvitationsRequestListInvitationsPaginateTypeDef

def get_value() -> ListInvitationsRequestListInvitationsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListInvitationsRequestListInvitationsPaginateTypeDef definition

class ListInvitationsRequestListInvitationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListInvitationsRequestRequestTypeDef#

# ListInvitationsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListInvitationsRequestRequestTypeDef

def get_value() -> ListInvitationsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListInvitationsRequestRequestTypeDef definition

class ListInvitationsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMembersRequestListMembersPaginateTypeDef#

# ListMembersRequestListMembersPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListMembersRequestListMembersPaginateTypeDef

def get_value() -> ListMembersRequestListMembersPaginateTypeDef:
    return {
        "DetectorId": ...,
    }
# ListMembersRequestListMembersPaginateTypeDef definition

class ListMembersRequestListMembersPaginateTypeDef(TypedDict):
    DetectorId: str,
    OnlyAssociated: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListMembersRequestRequestTypeDef#

# ListMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListMembersRequestRequestTypeDef

def get_value() -> ListMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# ListMembersRequestRequestTypeDef definition

class ListMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    OnlyAssociated: NotRequired[str],

ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef#

# ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef

def get_value() -> ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef definition

class ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOrganizationAdminAccountsRequestRequestTypeDef#

# ListOrganizationAdminAccountsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListOrganizationAdminAccountsRequestRequestTypeDef

def get_value() -> ListOrganizationAdminAccountsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListOrganizationAdminAccountsRequestRequestTypeDef definition

class ListOrganizationAdminAccountsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListPublishingDestinationsRequestRequestTypeDef#

# ListPublishingDestinationsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListPublishingDestinationsRequestRequestTypeDef

def get_value() -> ListPublishingDestinationsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# ListPublishingDestinationsRequestRequestTypeDef definition

class ListPublishingDestinationsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef#

# ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef

def get_value() -> ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef:
    return {
        "DetectorId": ...,
    }
# ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef definition

class ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef(TypedDict):
    DetectorId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListThreatIntelSetsRequestRequestTypeDef#

# ListThreatIntelSetsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListThreatIntelSetsRequestRequestTypeDef

def get_value() -> ListThreatIntelSetsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# ListThreatIntelSetsRequestRequestTypeDef definition

class ListThreatIntelSetsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListThreatIntelSetsResponseTypeDef#

# ListThreatIntelSetsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListThreatIntelSetsResponseTypeDef

def get_value() -> ListThreatIntelSetsResponseTypeDef:
    return {
        "ThreatIntelSetIds": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListThreatIntelSetsResponseTypeDef definition

class ListThreatIntelSetsResponseTypeDef(TypedDict):
    ThreatIntelSetIds: List[str],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

LocalIpDetailsTypeDef#

# LocalIpDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import LocalIpDetailsTypeDef

def get_value() -> LocalIpDetailsTypeDef:
    return {
        "IpAddressV4": ...,
    }
# LocalIpDetailsTypeDef definition

class LocalIpDetailsTypeDef(TypedDict):
    IpAddressV4: NotRequired[str],

LocalPortDetailsTypeDef#

# LocalPortDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import LocalPortDetailsTypeDef

def get_value() -> LocalPortDetailsTypeDef:
    return {
        "Port": ...,
    }
# LocalPortDetailsTypeDef definition

class LocalPortDetailsTypeDef(TypedDict):
    Port: NotRequired[int],
    PortName: NotRequired[str],

LoginAttributeTypeDef#

# LoginAttributeTypeDef usage example

from mypy_boto3_guardduty.type_defs import LoginAttributeTypeDef

def get_value() -> LoginAttributeTypeDef:
    return {
        "User": ...,
    }
# LoginAttributeTypeDef definition

class LoginAttributeTypeDef(TypedDict):
    User: NotRequired[str],
    Application: NotRequired[str],
    FailedLoginAttempts: NotRequired[int],
    SuccessfulLoginAttempts: NotRequired[int],

ScanEc2InstanceWithFindingsTypeDef#

# ScanEc2InstanceWithFindingsTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanEc2InstanceWithFindingsTypeDef

def get_value() -> ScanEc2InstanceWithFindingsTypeDef:
    return {
        "EbsVolumes": ...,
    }
# ScanEc2InstanceWithFindingsTypeDef definition

class ScanEc2InstanceWithFindingsTypeDef(TypedDict):
    EbsVolumes: NotRequired[bool],

MemberAdditionalConfigurationResultTypeDef#

# MemberAdditionalConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import MemberAdditionalConfigurationResultTypeDef

def get_value() -> MemberAdditionalConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# MemberAdditionalConfigurationResultTypeDef definition

class MemberAdditionalConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureAdditionalConfigurationType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
    UpdatedAt: NotRequired[datetime],
  1. See OrgFeatureAdditionalConfigurationType
  2. See FeatureStatusType

MemberAdditionalConfigurationTypeDef#

# MemberAdditionalConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import MemberAdditionalConfigurationTypeDef

def get_value() -> MemberAdditionalConfigurationTypeDef:
    return {
        "Name": ...,
    }
# MemberAdditionalConfigurationTypeDef definition

class MemberAdditionalConfigurationTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureAdditionalConfigurationType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
  1. See OrgFeatureAdditionalConfigurationType
  2. See FeatureStatusType

RemotePortDetailsTypeDef#

# RemotePortDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import RemotePortDetailsTypeDef

def get_value() -> RemotePortDetailsTypeDef:
    return {
        "Port": ...,
    }
# RemotePortDetailsTypeDef definition

class RemotePortDetailsTypeDef(TypedDict):
    Port: NotRequired[int],
    PortName: NotRequired[str],

PrivateIpAddressDetailsTypeDef#

# PrivateIpAddressDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import PrivateIpAddressDetailsTypeDef

def get_value() -> PrivateIpAddressDetailsTypeDef:
    return {
        "PrivateDnsName": ...,
    }
# PrivateIpAddressDetailsTypeDef definition

class PrivateIpAddressDetailsTypeDef(TypedDict):
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],

SecurityGroupTypeDef#

# SecurityGroupTypeDef usage example

from mypy_boto3_guardduty.type_defs import SecurityGroupTypeDef

def get_value() -> SecurityGroupTypeDef:
    return {
        "GroupId": ...,
    }
# SecurityGroupTypeDef definition

class SecurityGroupTypeDef(TypedDict):
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],

OrganizationAdditionalConfigurationResultTypeDef#

# OrganizationAdditionalConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationAdditionalConfigurationResultTypeDef

def get_value() -> OrganizationAdditionalConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# OrganizationAdditionalConfigurationResultTypeDef definition

class OrganizationAdditionalConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureAdditionalConfigurationType],  # (1)
    AutoEnable: NotRequired[OrgFeatureStatusType],  # (2)
  1. See OrgFeatureAdditionalConfigurationType
  2. See OrgFeatureStatusType

OrganizationAdditionalConfigurationTypeDef#

# OrganizationAdditionalConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationAdditionalConfigurationTypeDef

def get_value() -> OrganizationAdditionalConfigurationTypeDef:
    return {
        "Name": ...,
    }
# OrganizationAdditionalConfigurationTypeDef definition

class OrganizationAdditionalConfigurationTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureAdditionalConfigurationType],  # (1)
    AutoEnable: NotRequired[OrgFeatureStatusType],  # (2)
  1. See OrgFeatureAdditionalConfigurationType
  2. See OrgFeatureStatusType

OrganizationS3LogsConfigurationResultTypeDef#

# OrganizationS3LogsConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationS3LogsConfigurationResultTypeDef

def get_value() -> OrganizationS3LogsConfigurationResultTypeDef:
    return {
        "AutoEnable": ...,
    }
# OrganizationS3LogsConfigurationResultTypeDef definition

class OrganizationS3LogsConfigurationResultTypeDef(TypedDict):
    AutoEnable: bool,

OrganizationS3LogsConfigurationTypeDef#

# OrganizationS3LogsConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationS3LogsConfigurationTypeDef

def get_value() -> OrganizationS3LogsConfigurationTypeDef:
    return {
        "AutoEnable": ...,
    }
# OrganizationS3LogsConfigurationTypeDef definition

class OrganizationS3LogsConfigurationTypeDef(TypedDict):
    AutoEnable: bool,

OrganizationEbsVolumesResultTypeDef#

# OrganizationEbsVolumesResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationEbsVolumesResultTypeDef

def get_value() -> OrganizationEbsVolumesResultTypeDef:
    return {
        "AutoEnable": ...,
    }
# OrganizationEbsVolumesResultTypeDef definition

class OrganizationEbsVolumesResultTypeDef(TypedDict):
    AutoEnable: NotRequired[bool],

OrganizationEbsVolumesTypeDef#

# OrganizationEbsVolumesTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationEbsVolumesTypeDef

def get_value() -> OrganizationEbsVolumesTypeDef:
    return {
        "AutoEnable": ...,
    }
# OrganizationEbsVolumesTypeDef definition

class OrganizationEbsVolumesTypeDef(TypedDict):
    AutoEnable: NotRequired[bool],

OrganizationKubernetesAuditLogsConfigurationResultTypeDef#

# OrganizationKubernetesAuditLogsConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationKubernetesAuditLogsConfigurationResultTypeDef

def get_value() -> OrganizationKubernetesAuditLogsConfigurationResultTypeDef:
    return {
        "AutoEnable": ...,
    }
# OrganizationKubernetesAuditLogsConfigurationResultTypeDef definition

class OrganizationKubernetesAuditLogsConfigurationResultTypeDef(TypedDict):
    AutoEnable: bool,

OrganizationKubernetesAuditLogsConfigurationTypeDef#

# OrganizationKubernetesAuditLogsConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationKubernetesAuditLogsConfigurationTypeDef

def get_value() -> OrganizationKubernetesAuditLogsConfigurationTypeDef:
    return {
        "AutoEnable": ...,
    }
# OrganizationKubernetesAuditLogsConfigurationTypeDef definition

class OrganizationKubernetesAuditLogsConfigurationTypeDef(TypedDict):
    AutoEnable: bool,

OrganizationTypeDef#

# OrganizationTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationTypeDef

def get_value() -> OrganizationTypeDef:
    return {
        "Asn": ...,
    }
# OrganizationTypeDef definition

class OrganizationTypeDef(TypedDict):
    Asn: NotRequired[str],
    AsnOrg: NotRequired[str],
    Isp: NotRequired[str],
    Org: NotRequired[str],

OwnerTypeDef#

# OwnerTypeDef usage example

from mypy_boto3_guardduty.type_defs import OwnerTypeDef

def get_value() -> OwnerTypeDef:
    return {
        "Id": ...,
    }
# OwnerTypeDef definition

class OwnerTypeDef(TypedDict):
    Id: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_guardduty.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

RdsDbUserDetailsTypeDef#

# RdsDbUserDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import RdsDbUserDetailsTypeDef

def get_value() -> RdsDbUserDetailsTypeDef:
    return {
        "User": ...,
    }
# RdsDbUserDetailsTypeDef definition

class RdsDbUserDetailsTypeDef(TypedDict):
    User: NotRequired[str],
    Application: NotRequired[str],
    Database: NotRequired[str],
    Ssl: NotRequired[str],
    AuthMethod: NotRequired[str],

ResourceDetailsTypeDef#

# ResourceDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import ResourceDetailsTypeDef

def get_value() -> ResourceDetailsTypeDef:
    return {
        "InstanceArn": ...,
    }
# ResourceDetailsTypeDef definition

class ResourceDetailsTypeDef(TypedDict):
    InstanceArn: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_guardduty.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

ScanConditionPairTypeDef#

# ScanConditionPairTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanConditionPairTypeDef

def get_value() -> ScanConditionPairTypeDef:
    return {
        "Key": ...,
    }
# ScanConditionPairTypeDef definition

class ScanConditionPairTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

ScannedItemCountTypeDef#

# ScannedItemCountTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScannedItemCountTypeDef

def get_value() -> ScannedItemCountTypeDef:
    return {
        "TotalGb": ...,
    }
# ScannedItemCountTypeDef definition

class ScannedItemCountTypeDef(TypedDict):
    TotalGb: NotRequired[int],
    Files: NotRequired[int],
    Volumes: NotRequired[int],

ThreatsDetectedItemCountTypeDef#

# ThreatsDetectedItemCountTypeDef usage example

from mypy_boto3_guardduty.type_defs import ThreatsDetectedItemCountTypeDef

def get_value() -> ThreatsDetectedItemCountTypeDef:
    return {
        "Files": ...,
    }
# ThreatsDetectedItemCountTypeDef definition

class ThreatsDetectedItemCountTypeDef(TypedDict):
    Files: NotRequired[int],

ScanFilePathTypeDef#

# ScanFilePathTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanFilePathTypeDef

def get_value() -> ScanFilePathTypeDef:
    return {
        "FilePath": ...,
    }
# ScanFilePathTypeDef definition

class ScanFilePathTypeDef(TypedDict):
    FilePath: NotRequired[str],
    VolumeArn: NotRequired[str],
    Hash: NotRequired[str],
    FileName: NotRequired[str],

ScanResultDetailsTypeDef#

# ScanResultDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanResultDetailsTypeDef

def get_value() -> ScanResultDetailsTypeDef:
    return {
        "ScanResult": ...,
    }
# ScanResultDetailsTypeDef definition

class ScanResultDetailsTypeDef(TypedDict):
    ScanResult: NotRequired[ScanResultType],  # (1)
  1. See ScanResultType

TriggerDetailsTypeDef#

# TriggerDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import TriggerDetailsTypeDef

def get_value() -> TriggerDetailsTypeDef:
    return {
        "GuardDutyFindingId": ...,
    }
# TriggerDetailsTypeDef definition

class TriggerDetailsTypeDef(TypedDict):
    GuardDutyFindingId: NotRequired[str],
    Description: NotRequired[str],

ServiceAdditionalInfoTypeDef#

# ServiceAdditionalInfoTypeDef usage example

from mypy_boto3_guardduty.type_defs import ServiceAdditionalInfoTypeDef

def get_value() -> ServiceAdditionalInfoTypeDef:
    return {
        "Value": ...,
    }
# ServiceAdditionalInfoTypeDef definition

class ServiceAdditionalInfoTypeDef(TypedDict):
    Value: NotRequired[str],
    Type: NotRequired[str],

StartMalwareScanRequestRequestTypeDef#

# StartMalwareScanRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import StartMalwareScanRequestRequestTypeDef

def get_value() -> StartMalwareScanRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# StartMalwareScanRequestRequestTypeDef definition

class StartMalwareScanRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

StartMalwareScanResponseTypeDef#

# StartMalwareScanResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import StartMalwareScanResponseTypeDef

def get_value() -> StartMalwareScanResponseTypeDef:
    return {
        "ScanId": ...,
        "ResponseMetadata": ...,
    }
# StartMalwareScanResponseTypeDef definition

class StartMalwareScanResponseTypeDef(TypedDict):
    ScanId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartMonitoringMembersRequestRequestTypeDef#

# StartMonitoringMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import StartMonitoringMembersRequestRequestTypeDef

def get_value() -> StartMonitoringMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# StartMonitoringMembersRequestRequestTypeDef definition

class StartMonitoringMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],

StopMonitoringMembersRequestRequestTypeDef#

# StopMonitoringMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import StopMonitoringMembersRequestRequestTypeDef

def get_value() -> StopMonitoringMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountIds": ...,
    }
# StopMonitoringMembersRequestRequestTypeDef definition

class StopMonitoringMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountIds: Sequence[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

TotalTypeDef#

# TotalTypeDef usage example

from mypy_boto3_guardduty.type_defs import TotalTypeDef

def get_value() -> TotalTypeDef:
    return {
        "Amount": ...,
    }
# TotalTypeDef definition

class TotalTypeDef(TypedDict):
    Amount: NotRequired[str],
    Unit: NotRequired[str],

UnarchiveFindingsRequestRequestTypeDef#

# UnarchiveFindingsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import UnarchiveFindingsRequestRequestTypeDef

def get_value() -> UnarchiveFindingsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FindingIds": ...,
    }
# UnarchiveFindingsRequestRequestTypeDef definition

class UnarchiveFindingsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingIds: Sequence[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateFilterResponseTypeDef#

# UpdateFilterResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import UpdateFilterResponseTypeDef

def get_value() -> UpdateFilterResponseTypeDef:
    return {
        "Name": ...,
        "ResponseMetadata": ...,
    }
# UpdateFilterResponseTypeDef definition

class UpdateFilterResponseTypeDef(TypedDict):
    Name: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateFindingsFeedbackRequestRequestTypeDef#

# UpdateFindingsFeedbackRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import UpdateFindingsFeedbackRequestRequestTypeDef

def get_value() -> UpdateFindingsFeedbackRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FindingIds": ...,
        "Feedback": ...,
    }
# UpdateFindingsFeedbackRequestRequestTypeDef definition

class UpdateFindingsFeedbackRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingIds: Sequence[str],
    Feedback: FeedbackType,  # (1)
    Comments: NotRequired[str],
  1. See FeedbackType

UpdateIPSetRequestRequestTypeDef#

# UpdateIPSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import UpdateIPSetRequestRequestTypeDef

def get_value() -> UpdateIPSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "IpSetId": ...,
    }
# UpdateIPSetRequestRequestTypeDef definition

class UpdateIPSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    IpSetId: str,
    Name: NotRequired[str],
    Location: NotRequired[str],
    Activate: NotRequired[bool],

UpdateThreatIntelSetRequestRequestTypeDef#

# UpdateThreatIntelSetRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import UpdateThreatIntelSetRequestRequestTypeDef

def get_value() -> UpdateThreatIntelSetRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "ThreatIntelSetId": ...,
    }
# UpdateThreatIntelSetRequestRequestTypeDef definition

class UpdateThreatIntelSetRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    ThreatIntelSetId: str,
    Name: NotRequired[str],
    Location: NotRequired[str],
    Activate: NotRequired[bool],

CreateMembersRequestRequestTypeDef#

# CreateMembersRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateMembersRequestRequestTypeDef

def get_value() -> CreateMembersRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "AccountDetails": ...,
    }
# CreateMembersRequestRequestTypeDef definition

class CreateMembersRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    AccountDetails: Sequence[AccountDetailTypeDef],  # (1)
  1. See AccountDetailTypeDef

AccountLevelPermissionsTypeDef#

# AccountLevelPermissionsTypeDef usage example

from mypy_boto3_guardduty.type_defs import AccountLevelPermissionsTypeDef

def get_value() -> AccountLevelPermissionsTypeDef:
    return {
        "BlockPublicAccess": ...,
    }
# AccountLevelPermissionsTypeDef definition

class AccountLevelPermissionsTypeDef(TypedDict):
    BlockPublicAccess: NotRequired[BlockPublicAccessTypeDef],  # (1)
  1. See BlockPublicAccessTypeDef

CoverageEksClusterDetailsTypeDef#

# CoverageEksClusterDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import CoverageEksClusterDetailsTypeDef

def get_value() -> CoverageEksClusterDetailsTypeDef:
    return {
        "ClusterName": ...,
    }
# CoverageEksClusterDetailsTypeDef definition

class CoverageEksClusterDetailsTypeDef(TypedDict):
    ClusterName: NotRequired[str],
    CoveredNodes: NotRequired[int],
    CompatibleNodes: NotRequired[int],
    AddonDetails: NotRequired[AddonDetailsTypeDef],  # (1)
  1. See AddonDetailsTypeDef

ListOrganizationAdminAccountsResponseTypeDef#

# ListOrganizationAdminAccountsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListOrganizationAdminAccountsResponseTypeDef

def get_value() -> ListOrganizationAdminAccountsResponseTypeDef:
    return {
        "AdminAccounts": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListOrganizationAdminAccountsResponseTypeDef definition

class ListOrganizationAdminAccountsResponseTypeDef(TypedDict):
    AdminAccounts: List[AdminAccountTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AdminAccountTypeDef
  2. See ResponseMetadataTypeDef

GetAdministratorAccountResponseTypeDef#

# GetAdministratorAccountResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetAdministratorAccountResponseTypeDef

def get_value() -> GetAdministratorAccountResponseTypeDef:
    return {
        "Administrator": ...,
        "ResponseMetadata": ...,
    }
# GetAdministratorAccountResponseTypeDef definition

class GetAdministratorAccountResponseTypeDef(TypedDict):
    Administrator: AdministratorTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AdministratorTypeDef
  2. See ResponseMetadataTypeDef

BucketLevelPermissionsTypeDef#

# BucketLevelPermissionsTypeDef usage example

from mypy_boto3_guardduty.type_defs import BucketLevelPermissionsTypeDef

def get_value() -> BucketLevelPermissionsTypeDef:
    return {
        "AccessControlList": ...,
    }
# BucketLevelPermissionsTypeDef definition

class BucketLevelPermissionsTypeDef(TypedDict):
    AccessControlList: NotRequired[AccessControlListTypeDef],  # (1)
    BucketPolicy: NotRequired[BucketPolicyTypeDef],  # (2)
    BlockPublicAccess: NotRequired[BlockPublicAccessTypeDef],  # (3)
  1. See AccessControlListTypeDef
  2. See BucketPolicyTypeDef
  3. See BlockPublicAccessTypeDef

FindingCriteriaTypeDef#

# FindingCriteriaTypeDef usage example

from mypy_boto3_guardduty.type_defs import FindingCriteriaTypeDef

def get_value() -> FindingCriteriaTypeDef:
    return {
        "Criterion": ...,
    }
# FindingCriteriaTypeDef definition

class FindingCriteriaTypeDef(TypedDict):
    Criterion: NotRequired[Mapping[str, ConditionTypeDef]],  # (1)
  1. See ConditionTypeDef

ContainerTypeDef#

# ContainerTypeDef usage example

from mypy_boto3_guardduty.type_defs import ContainerTypeDef

def get_value() -> ContainerTypeDef:
    return {
        "ContainerRuntime": ...,
    }
# ContainerTypeDef definition

class ContainerTypeDef(TypedDict):
    ContainerRuntime: NotRequired[str],
    Id: NotRequired[str],
    Name: NotRequired[str],
    Image: NotRequired[str],
    ImagePrefix: NotRequired[str],
    VolumeMounts: NotRequired[List[VolumeMountTypeDef]],  # (1)
    SecurityContext: NotRequired[SecurityContextTypeDef],  # (2)
  1. See VolumeMountTypeDef
  2. See SecurityContextTypeDef

CoverageFilterCriterionTypeDef#

# CoverageFilterCriterionTypeDef usage example

from mypy_boto3_guardduty.type_defs import CoverageFilterCriterionTypeDef

def get_value() -> CoverageFilterCriterionTypeDef:
    return {
        "CriterionKey": ...,
    }
# CoverageFilterCriterionTypeDef definition

class CoverageFilterCriterionTypeDef(TypedDict):
    CriterionKey: NotRequired[CoverageFilterCriterionKeyType],  # (1)
    FilterCondition: NotRequired[CoverageFilterConditionTypeDef],  # (2)
  1. See CoverageFilterCriterionKeyType
  2. See CoverageFilterConditionTypeDef

GetCoverageStatisticsResponseTypeDef#

# GetCoverageStatisticsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetCoverageStatisticsResponseTypeDef

def get_value() -> GetCoverageStatisticsResponseTypeDef:
    return {
        "CoverageStatistics": ...,
        "ResponseMetadata": ...,
    }
# GetCoverageStatisticsResponseTypeDef definition

class GetCoverageStatisticsResponseTypeDef(TypedDict):
    CoverageStatistics: CoverageStatisticsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoverageStatisticsTypeDef
  2. See ResponseMetadataTypeDef

CreateMembersResponseTypeDef#

# CreateMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateMembersResponseTypeDef

def get_value() -> CreateMembersResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# CreateMembersResponseTypeDef definition

class CreateMembersResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

DeclineInvitationsResponseTypeDef#

# DeclineInvitationsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeclineInvitationsResponseTypeDef

def get_value() -> DeclineInvitationsResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# DeclineInvitationsResponseTypeDef definition

class DeclineInvitationsResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

DeleteInvitationsResponseTypeDef#

# DeleteInvitationsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteInvitationsResponseTypeDef

def get_value() -> DeleteInvitationsResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# DeleteInvitationsResponseTypeDef definition

class DeleteInvitationsResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

DeleteMembersResponseTypeDef#

# DeleteMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import DeleteMembersResponseTypeDef

def get_value() -> DeleteMembersResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# DeleteMembersResponseTypeDef definition

class DeleteMembersResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

DisassociateMembersResponseTypeDef#

# DisassociateMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import DisassociateMembersResponseTypeDef

def get_value() -> DisassociateMembersResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# DisassociateMembersResponseTypeDef definition

class DisassociateMembersResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

InviteMembersResponseTypeDef#

# InviteMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import InviteMembersResponseTypeDef

def get_value() -> InviteMembersResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# InviteMembersResponseTypeDef definition

class InviteMembersResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

StartMonitoringMembersResponseTypeDef#

# StartMonitoringMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import StartMonitoringMembersResponseTypeDef

def get_value() -> StartMonitoringMembersResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# StartMonitoringMembersResponseTypeDef definition

class StartMonitoringMembersResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

StopMonitoringMembersResponseTypeDef#

# StopMonitoringMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import StopMonitoringMembersResponseTypeDef

def get_value() -> StopMonitoringMembersResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# StopMonitoringMembersResponseTypeDef definition

class StopMonitoringMembersResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

UpdateMemberDetectorsResponseTypeDef#

# UpdateMemberDetectorsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import UpdateMemberDetectorsResponseTypeDef

def get_value() -> UpdateMemberDetectorsResponseTypeDef:
    return {
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# UpdateMemberDetectorsResponseTypeDef definition

class UpdateMemberDetectorsResponseTypeDef(TypedDict):
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnprocessedAccountTypeDef
  2. See ResponseMetadataTypeDef

CreatePublishingDestinationRequestRequestTypeDef#

# CreatePublishingDestinationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreatePublishingDestinationRequestRequestTypeDef

def get_value() -> CreatePublishingDestinationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "DestinationType": ...,
        "DestinationProperties": ...,
    }
# CreatePublishingDestinationRequestRequestTypeDef definition

class CreatePublishingDestinationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    DestinationType: DestinationTypeType,  # (1)
    DestinationProperties: DestinationPropertiesTypeDef,  # (2)
    ClientToken: NotRequired[str],
  1. See DestinationTypeType
  2. See DestinationPropertiesTypeDef

DescribePublishingDestinationResponseTypeDef#

# DescribePublishingDestinationResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import DescribePublishingDestinationResponseTypeDef

def get_value() -> DescribePublishingDestinationResponseTypeDef:
    return {
        "DestinationId": ...,
        "DestinationType": ...,
        "Status": ...,
        "PublishingFailureStartTimestamp": ...,
        "DestinationProperties": ...,
        "ResponseMetadata": ...,
    }
# DescribePublishingDestinationResponseTypeDef definition

class DescribePublishingDestinationResponseTypeDef(TypedDict):
    DestinationId: str,
    DestinationType: DestinationTypeType,  # (1)
    Status: PublishingStatusType,  # (2)
    PublishingFailureStartTimestamp: int,
    DestinationProperties: DestinationPropertiesTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See DestinationTypeType
  2. See PublishingStatusType
  3. See DestinationPropertiesTypeDef
  4. See ResponseMetadataTypeDef

UpdatePublishingDestinationRequestRequestTypeDef#

# UpdatePublishingDestinationRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import UpdatePublishingDestinationRequestRequestTypeDef

def get_value() -> UpdatePublishingDestinationRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "DestinationId": ...,
    }
# UpdatePublishingDestinationRequestRequestTypeDef definition

class UpdatePublishingDestinationRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    DestinationId: str,
    DestinationProperties: NotRequired[DestinationPropertiesTypeDef],  # (1)
  1. See DestinationPropertiesTypeDef

KubernetesDataSourceFreeTrialTypeDef#

# KubernetesDataSourceFreeTrialTypeDef usage example

from mypy_boto3_guardduty.type_defs import KubernetesDataSourceFreeTrialTypeDef

def get_value() -> KubernetesDataSourceFreeTrialTypeDef:
    return {
        "AuditLogs": ...,
    }
# KubernetesDataSourceFreeTrialTypeDef definition

class KubernetesDataSourceFreeTrialTypeDef(TypedDict):
    AuditLogs: NotRequired[DataSourceFreeTrialTypeDef],  # (1)
  1. See DataSourceFreeTrialTypeDef

MalwareProtectionDataSourceFreeTrialTypeDef#

# MalwareProtectionDataSourceFreeTrialTypeDef usage example

from mypy_boto3_guardduty.type_defs import MalwareProtectionDataSourceFreeTrialTypeDef

def get_value() -> MalwareProtectionDataSourceFreeTrialTypeDef:
    return {
        "ScanEc2InstanceWithFindings": ...,
    }
# MalwareProtectionDataSourceFreeTrialTypeDef definition

class MalwareProtectionDataSourceFreeTrialTypeDef(TypedDict):
    ScanEc2InstanceWithFindings: NotRequired[DataSourceFreeTrialTypeDef],  # (1)
  1. See DataSourceFreeTrialTypeDef

GetFindingsRequestRequestTypeDef#

# GetFindingsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetFindingsRequestRequestTypeDef

def get_value() -> GetFindingsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FindingIds": ...,
    }
# GetFindingsRequestRequestTypeDef definition

class GetFindingsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingIds: Sequence[str],
    SortCriteria: NotRequired[SortCriteriaTypeDef],  # (1)
  1. See SortCriteriaTypeDef

ListPublishingDestinationsResponseTypeDef#

# ListPublishingDestinationsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListPublishingDestinationsResponseTypeDef

def get_value() -> ListPublishingDestinationsResponseTypeDef:
    return {
        "Destinations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListPublishingDestinationsResponseTypeDef definition

class ListPublishingDestinationsResponseTypeDef(TypedDict):
    Destinations: List[DestinationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DestinationTypeDef
  2. See ResponseMetadataTypeDef

DetectorFeatureConfigurationResultTypeDef#

# DetectorFeatureConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import DetectorFeatureConfigurationResultTypeDef

def get_value() -> DetectorFeatureConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# DetectorFeatureConfigurationResultTypeDef definition

class DetectorFeatureConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[DetectorFeatureResultType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
    UpdatedAt: NotRequired[datetime],
    AdditionalConfiguration: NotRequired[List[DetectorAdditionalConfigurationResultTypeDef]],  # (3)
  1. See DetectorFeatureResultType
  2. See FeatureStatusType
  3. See DetectorAdditionalConfigurationResultTypeDef

DetectorFeatureConfigurationTypeDef#

# DetectorFeatureConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import DetectorFeatureConfigurationTypeDef

def get_value() -> DetectorFeatureConfigurationTypeDef:
    return {
        "Name": ...,
    }
# DetectorFeatureConfigurationTypeDef definition

class DetectorFeatureConfigurationTypeDef(TypedDict):
    Name: NotRequired[DetectorFeatureType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
    AdditionalConfiguration: NotRequired[Sequence[DetectorAdditionalConfigurationTypeDef]],  # (3)
  1. See DetectorFeatureType
  2. See FeatureStatusType
  3. See DetectorAdditionalConfigurationTypeDef

EbsVolumeDetailsTypeDef#

# EbsVolumeDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import EbsVolumeDetailsTypeDef

def get_value() -> EbsVolumeDetailsTypeDef:
    return {
        "ScannedVolumeDetails": ...,
    }
# EbsVolumeDetailsTypeDef definition

class EbsVolumeDetailsTypeDef(TypedDict):
    ScannedVolumeDetails: NotRequired[List[VolumeDetailTypeDef]],  # (1)
    SkippedVolumeDetails: NotRequired[List[VolumeDetailTypeDef]],  # (1)
  1. See VolumeDetailTypeDef
  2. See VolumeDetailTypeDef

ScanEc2InstanceWithFindingsResultTypeDef#

# ScanEc2InstanceWithFindingsResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanEc2InstanceWithFindingsResultTypeDef

def get_value() -> ScanEc2InstanceWithFindingsResultTypeDef:
    return {
        "EbsVolumes": ...,
    }
# ScanEc2InstanceWithFindingsResultTypeDef definition

class ScanEc2InstanceWithFindingsResultTypeDef(TypedDict):
    EbsVolumes: NotRequired[EbsVolumesResultTypeDef],  # (1)
  1. See EbsVolumesResultTypeDef

EksClusterDetailsTypeDef#

# EksClusterDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import EksClusterDetailsTypeDef

def get_value() -> EksClusterDetailsTypeDef:
    return {
        "Name": ...,
    }
# EksClusterDetailsTypeDef definition

class EksClusterDetailsTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],
    VpcId: NotRequired[str],
    Status: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
    CreatedAt: NotRequired[datetime],
  1. See TagTypeDef

RdsDbInstanceDetailsTypeDef#

# RdsDbInstanceDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import RdsDbInstanceDetailsTypeDef

def get_value() -> RdsDbInstanceDetailsTypeDef:
    return {
        "DbInstanceIdentifier": ...,
    }
# RdsDbInstanceDetailsTypeDef definition

class RdsDbInstanceDetailsTypeDef(TypedDict):
    DbInstanceIdentifier: NotRequired[str],
    Engine: NotRequired[str],
    EngineVersion: NotRequired[str],
    DbClusterIdentifier: NotRequired[str],
    DbInstanceArn: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

EvidenceTypeDef#

# EvidenceTypeDef usage example

from mypy_boto3_guardduty.type_defs import EvidenceTypeDef

def get_value() -> EvidenceTypeDef:
    return {
        "ThreatIntelligenceDetails": ...,
    }
# EvidenceTypeDef definition

class EvidenceTypeDef(TypedDict):
    ThreatIntelligenceDetails: NotRequired[List[ThreatIntelligenceDetailTypeDef]],  # (1)
  1. See ThreatIntelligenceDetailTypeDef

FilterCriterionTypeDef#

# FilterCriterionTypeDef usage example

from mypy_boto3_guardduty.type_defs import FilterCriterionTypeDef

def get_value() -> FilterCriterionTypeDef:
    return {
        "CriterionKey": ...,
    }
# FilterCriterionTypeDef definition

class FilterCriterionTypeDef(TypedDict):
    CriterionKey: NotRequired[CriterionKeyType],  # (1)
    FilterCondition: NotRequired[FilterConditionTypeDef],  # (2)
  1. See CriterionKeyType
  2. See FilterConditionTypeDef

GetFindingsStatisticsResponseTypeDef#

# GetFindingsStatisticsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetFindingsStatisticsResponseTypeDef

def get_value() -> GetFindingsStatisticsResponseTypeDef:
    return {
        "FindingStatistics": ...,
        "ResponseMetadata": ...,
    }
# GetFindingsStatisticsResponseTypeDef definition

class GetFindingsStatisticsResponseTypeDef(TypedDict):
    FindingStatistics: FindingStatisticsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingStatisticsTypeDef
  2. See ResponseMetadataTypeDef

GetMasterAccountResponseTypeDef#

# GetMasterAccountResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetMasterAccountResponseTypeDef

def get_value() -> GetMasterAccountResponseTypeDef:
    return {
        "Master": ...,
        "ResponseMetadata": ...,
    }
# GetMasterAccountResponseTypeDef definition

class GetMasterAccountResponseTypeDef(TypedDict):
    Master: MasterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MasterTypeDef
  2. See ResponseMetadataTypeDef

GetMembersResponseTypeDef#

# GetMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetMembersResponseTypeDef

def get_value() -> GetMembersResponseTypeDef:
    return {
        "Members": ...,
        "UnprocessedAccounts": ...,
        "ResponseMetadata": ...,
    }
# GetMembersResponseTypeDef definition

class GetMembersResponseTypeDef(TypedDict):
    Members: List[MemberTypeDef],  # (1)
    UnprocessedAccounts: List[UnprocessedAccountTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MemberTypeDef
  2. See UnprocessedAccountTypeDef
  3. See ResponseMetadataTypeDef

ListMembersResponseTypeDef#

# ListMembersResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListMembersResponseTypeDef

def get_value() -> ListMembersResponseTypeDef:
    return {
        "Members": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListMembersResponseTypeDef definition

class ListMembersResponseTypeDef(TypedDict):
    Members: List[MemberTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MemberTypeDef
  2. See ResponseMetadataTypeDef

GetUsageStatisticsRequestRequestTypeDef#

# GetUsageStatisticsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetUsageStatisticsRequestRequestTypeDef

def get_value() -> GetUsageStatisticsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "UsageStatisticType": ...,
        "UsageCriteria": ...,
    }
# GetUsageStatisticsRequestRequestTypeDef definition

class GetUsageStatisticsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    UsageStatisticType: UsageStatisticTypeType,  # (1)
    UsageCriteria: UsageCriteriaTypeDef,  # (2)
    Unit: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See UsageStatisticTypeType
  2. See UsageCriteriaTypeDef

VolumeTypeDef#

# VolumeTypeDef usage example

from mypy_boto3_guardduty.type_defs import VolumeTypeDef

def get_value() -> VolumeTypeDef:
    return {
        "Name": ...,
    }
# VolumeTypeDef definition

class VolumeTypeDef(TypedDict):
    Name: NotRequired[str],
    HostPath: NotRequired[HostPathTypeDef],  # (1)
  1. See HostPathTypeDef

ListInvitationsResponseTypeDef#

# ListInvitationsResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListInvitationsResponseTypeDef

def get_value() -> ListInvitationsResponseTypeDef:
    return {
        "Invitations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListInvitationsResponseTypeDef definition

class ListInvitationsResponseTypeDef(TypedDict):
    Invitations: List[InvitationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InvitationTypeDef
  2. See ResponseMetadataTypeDef

KubernetesConfigurationResultTypeDef#

# KubernetesConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import KubernetesConfigurationResultTypeDef

def get_value() -> KubernetesConfigurationResultTypeDef:
    return {
        "AuditLogs": ...,
    }
# KubernetesConfigurationResultTypeDef definition

class KubernetesConfigurationResultTypeDef(TypedDict):
    AuditLogs: KubernetesAuditLogsConfigurationResultTypeDef,  # (1)
  1. See KubernetesAuditLogsConfigurationResultTypeDef

KubernetesConfigurationTypeDef#

# KubernetesConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import KubernetesConfigurationTypeDef

def get_value() -> KubernetesConfigurationTypeDef:
    return {
        "AuditLogs": ...,
    }
# KubernetesConfigurationTypeDef definition

class KubernetesConfigurationTypeDef(TypedDict):
    AuditLogs: KubernetesAuditLogsConfigurationTypeDef,  # (1)
  1. See KubernetesAuditLogsConfigurationTypeDef

ProcessDetailsTypeDef#

# ProcessDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import ProcessDetailsTypeDef

def get_value() -> ProcessDetailsTypeDef:
    return {
        "Name": ...,
    }
# ProcessDetailsTypeDef definition

class ProcessDetailsTypeDef(TypedDict):
    Name: NotRequired[str],
    ExecutablePath: NotRequired[str],
    ExecutableSha256: NotRequired[str],
    NamespacePid: NotRequired[int],
    Pwd: NotRequired[str],
    Pid: NotRequired[int],
    StartTime: NotRequired[datetime],
    Uuid: NotRequired[str],
    ParentUuid: NotRequired[str],
    User: NotRequired[str],
    UserId: NotRequired[int],
    Euid: NotRequired[int],
    Lineage: NotRequired[List[LineageObjectTypeDef]],  # (1)
  1. See LineageObjectTypeDef

MalwareProtectionConfigurationTypeDef#

# MalwareProtectionConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import MalwareProtectionConfigurationTypeDef

def get_value() -> MalwareProtectionConfigurationTypeDef:
    return {
        "ScanEc2InstanceWithFindings": ...,
    }
# MalwareProtectionConfigurationTypeDef definition

class MalwareProtectionConfigurationTypeDef(TypedDict):
    ScanEc2InstanceWithFindings: NotRequired[ScanEc2InstanceWithFindingsTypeDef],  # (1)
  1. See ScanEc2InstanceWithFindingsTypeDef

MemberFeaturesConfigurationResultTypeDef#

# MemberFeaturesConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import MemberFeaturesConfigurationResultTypeDef

def get_value() -> MemberFeaturesConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# MemberFeaturesConfigurationResultTypeDef definition

class MemberFeaturesConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
    UpdatedAt: NotRequired[datetime],
    AdditionalConfiguration: NotRequired[List[MemberAdditionalConfigurationResultTypeDef]],  # (3)
  1. See OrgFeatureType
  2. See FeatureStatusType
  3. See MemberAdditionalConfigurationResultTypeDef

MemberFeaturesConfigurationTypeDef#

# MemberFeaturesConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import MemberFeaturesConfigurationTypeDef

def get_value() -> MemberFeaturesConfigurationTypeDef:
    return {
        "Name": ...,
    }
# MemberFeaturesConfigurationTypeDef definition

class MemberFeaturesConfigurationTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureType],  # (1)
    Status: NotRequired[FeatureStatusType],  # (2)
    AdditionalConfiguration: NotRequired[Sequence[MemberAdditionalConfigurationTypeDef]],  # (3)
  1. See OrgFeatureType
  2. See FeatureStatusType
  3. See MemberAdditionalConfigurationTypeDef

NetworkInterfaceTypeDef#

# NetworkInterfaceTypeDef usage example

from mypy_boto3_guardduty.type_defs import NetworkInterfaceTypeDef

def get_value() -> NetworkInterfaceTypeDef:
    return {
        "Ipv6Addresses": ...,
    }
# NetworkInterfaceTypeDef definition

class NetworkInterfaceTypeDef(TypedDict):
    Ipv6Addresses: NotRequired[List[str]],
    NetworkInterfaceId: NotRequired[str],
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[List[PrivateIpAddressDetailsTypeDef]],  # (1)
    PublicDnsName: NotRequired[str],
    PublicIp: NotRequired[str],
    SecurityGroups: NotRequired[List[SecurityGroupTypeDef]],  # (2)
    SubnetId: NotRequired[str],
    VpcId: NotRequired[str],
  1. See PrivateIpAddressDetailsTypeDef
  2. See SecurityGroupTypeDef

VpcConfigTypeDef#

# VpcConfigTypeDef usage example

from mypy_boto3_guardduty.type_defs import VpcConfigTypeDef

def get_value() -> VpcConfigTypeDef:
    return {
        "SubnetIds": ...,
    }
# VpcConfigTypeDef definition

class VpcConfigTypeDef(TypedDict):
    SubnetIds: NotRequired[List[str]],
    VpcId: NotRequired[str],
    SecurityGroups: NotRequired[List[SecurityGroupTypeDef]],  # (1)
  1. See SecurityGroupTypeDef

OrganizationFeatureConfigurationResultTypeDef#

# OrganizationFeatureConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationFeatureConfigurationResultTypeDef

def get_value() -> OrganizationFeatureConfigurationResultTypeDef:
    return {
        "Name": ...,
    }
# OrganizationFeatureConfigurationResultTypeDef definition

class OrganizationFeatureConfigurationResultTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureType],  # (1)
    AutoEnable: NotRequired[OrgFeatureStatusType],  # (2)
    AdditionalConfiguration: NotRequired[List[OrganizationAdditionalConfigurationResultTypeDef]],  # (3)
  1. See OrgFeatureType
  2. See OrgFeatureStatusType
  3. See OrganizationAdditionalConfigurationResultTypeDef

OrganizationFeatureConfigurationTypeDef#

# OrganizationFeatureConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationFeatureConfigurationTypeDef

def get_value() -> OrganizationFeatureConfigurationTypeDef:
    return {
        "Name": ...,
    }
# OrganizationFeatureConfigurationTypeDef definition

class OrganizationFeatureConfigurationTypeDef(TypedDict):
    Name: NotRequired[OrgFeatureType],  # (1)
    AutoEnable: NotRequired[OrgFeatureStatusType],  # (2)
    AdditionalConfiguration: NotRequired[Sequence[OrganizationAdditionalConfigurationTypeDef]],  # (3)
  1. See OrgFeatureType
  2. See OrgFeatureStatusType
  3. See OrganizationAdditionalConfigurationTypeDef

OrganizationScanEc2InstanceWithFindingsResultTypeDef#

# OrganizationScanEc2InstanceWithFindingsResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationScanEc2InstanceWithFindingsResultTypeDef

def get_value() -> OrganizationScanEc2InstanceWithFindingsResultTypeDef:
    return {
        "EbsVolumes": ...,
    }
# OrganizationScanEc2InstanceWithFindingsResultTypeDef definition

class OrganizationScanEc2InstanceWithFindingsResultTypeDef(TypedDict):
    EbsVolumes: NotRequired[OrganizationEbsVolumesResultTypeDef],  # (1)
  1. See OrganizationEbsVolumesResultTypeDef

OrganizationScanEc2InstanceWithFindingsTypeDef#

# OrganizationScanEc2InstanceWithFindingsTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationScanEc2InstanceWithFindingsTypeDef

def get_value() -> OrganizationScanEc2InstanceWithFindingsTypeDef:
    return {
        "EbsVolumes": ...,
    }
# OrganizationScanEc2InstanceWithFindingsTypeDef definition

class OrganizationScanEc2InstanceWithFindingsTypeDef(TypedDict):
    EbsVolumes: NotRequired[OrganizationEbsVolumesTypeDef],  # (1)
  1. See OrganizationEbsVolumesTypeDef

OrganizationKubernetesConfigurationResultTypeDef#

# OrganizationKubernetesConfigurationResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationKubernetesConfigurationResultTypeDef

def get_value() -> OrganizationKubernetesConfigurationResultTypeDef:
    return {
        "AuditLogs": ...,
    }
# OrganizationKubernetesConfigurationResultTypeDef definition

class OrganizationKubernetesConfigurationResultTypeDef(TypedDict):
    AuditLogs: OrganizationKubernetesAuditLogsConfigurationResultTypeDef,  # (1)
  1. See OrganizationKubernetesAuditLogsConfigurationResultTypeDef

OrganizationKubernetesConfigurationTypeDef#

# OrganizationKubernetesConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import OrganizationKubernetesConfigurationTypeDef

def get_value() -> OrganizationKubernetesConfigurationTypeDef:
    return {
        "AuditLogs": ...,
    }
# OrganizationKubernetesConfigurationTypeDef definition

class OrganizationKubernetesConfigurationTypeDef(TypedDict):
    AuditLogs: OrganizationKubernetesAuditLogsConfigurationTypeDef,  # (1)
  1. See OrganizationKubernetesAuditLogsConfigurationTypeDef

RemoteIpDetailsTypeDef#

# RemoteIpDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import RemoteIpDetailsTypeDef

def get_value() -> RemoteIpDetailsTypeDef:
    return {
        "City": ...,
    }
# RemoteIpDetailsTypeDef definition

class RemoteIpDetailsTypeDef(TypedDict):
    City: NotRequired[CityTypeDef],  # (1)
    Country: NotRequired[CountryTypeDef],  # (2)
    GeoLocation: NotRequired[GeoLocationTypeDef],  # (3)
    IpAddressV4: NotRequired[str],
    Organization: NotRequired[OrganizationTypeDef],  # (4)
  1. See CityTypeDef
  2. See CountryTypeDef
  3. See GeoLocationTypeDef
  4. See OrganizationTypeDef

ScanConditionTypeDef#

# ScanConditionTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanConditionTypeDef

def get_value() -> ScanConditionTypeDef:
    return {
        "MapEquals": ...,
    }
# ScanConditionTypeDef definition

class ScanConditionTypeDef(TypedDict):
    MapEquals: List[ScanConditionPairTypeDef],  # (1)
  1. See ScanConditionPairTypeDef

ScanThreatNameTypeDef#

# ScanThreatNameTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanThreatNameTypeDef

def get_value() -> ScanThreatNameTypeDef:
    return {
        "Name": ...,
    }
# ScanThreatNameTypeDef definition

class ScanThreatNameTypeDef(TypedDict):
    Name: NotRequired[str],
    Severity: NotRequired[str],
    ItemCount: NotRequired[int],
    FilePaths: NotRequired[List[ScanFilePathTypeDef]],  # (1)
  1. See ScanFilePathTypeDef

ScanTypeDef#

# ScanTypeDef usage example

from mypy_boto3_guardduty.type_defs import ScanTypeDef

def get_value() -> ScanTypeDef:
    return {
        "DetectorId": ...,
    }
# ScanTypeDef definition

class ScanTypeDef(TypedDict):
    DetectorId: NotRequired[str],
    AdminDetectorId: NotRequired[str],
    ScanId: NotRequired[str],
    ScanStatus: NotRequired[ScanStatusType],  # (1)
    FailureReason: NotRequired[str],
    ScanStartTime: NotRequired[datetime],
    ScanEndTime: NotRequired[datetime],
    TriggerDetails: NotRequired[TriggerDetailsTypeDef],  # (2)
    ResourceDetails: NotRequired[ResourceDetailsTypeDef],  # (3)
    ScanResultDetails: NotRequired[ScanResultDetailsTypeDef],  # (4)
    AccountId: NotRequired[str],
    TotalBytes: NotRequired[int],
    FileCount: NotRequired[int],
    AttachedVolumes: NotRequired[List[VolumeDetailTypeDef]],  # (5)
    ScanType: NotRequired[ScanTypeType],  # (6)
  1. See ScanStatusType
  2. See TriggerDetailsTypeDef
  3. See ResourceDetailsTypeDef
  4. See ScanResultDetailsTypeDef
  5. See VolumeDetailTypeDef
  6. See ScanTypeType

UsageAccountResultTypeDef#

# UsageAccountResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import UsageAccountResultTypeDef

def get_value() -> UsageAccountResultTypeDef:
    return {
        "AccountId": ...,
    }
# UsageAccountResultTypeDef definition

class UsageAccountResultTypeDef(TypedDict):
    AccountId: NotRequired[str],
    Total: NotRequired[TotalTypeDef],  # (1)
  1. See TotalTypeDef

UsageDataSourceResultTypeDef#

# UsageDataSourceResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import UsageDataSourceResultTypeDef

def get_value() -> UsageDataSourceResultTypeDef:
    return {
        "DataSource": ...,
    }
# UsageDataSourceResultTypeDef definition

class UsageDataSourceResultTypeDef(TypedDict):
    DataSource: NotRequired[DataSourceType],  # (1)
    Total: NotRequired[TotalTypeDef],  # (2)
  1. See DataSourceType
  2. See TotalTypeDef

UsageFeatureResultTypeDef#

# UsageFeatureResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import UsageFeatureResultTypeDef

def get_value() -> UsageFeatureResultTypeDef:
    return {
        "Feature": ...,
    }
# UsageFeatureResultTypeDef definition

class UsageFeatureResultTypeDef(TypedDict):
    Feature: NotRequired[UsageFeatureType],  # (1)
    Total: NotRequired[TotalTypeDef],  # (2)
  1. See UsageFeatureType
  2. See TotalTypeDef

UsageResourceResultTypeDef#

# UsageResourceResultTypeDef usage example

from mypy_boto3_guardduty.type_defs import UsageResourceResultTypeDef

def get_value() -> UsageResourceResultTypeDef:
    return {
        "Resource": ...,
    }
# UsageResourceResultTypeDef definition

class UsageResourceResultTypeDef(TypedDict):
    Resource: NotRequired[str],
    Total: NotRequired[TotalTypeDef],  # (1)
  1. See TotalTypeDef

CoverageResourceDetailsTypeDef#

# CoverageResourceDetailsTypeDef usage example

from mypy_boto3_guardduty.type_defs import CoverageResourceDetailsTypeDef

def get_value() -> CoverageResourceDetailsTypeDef:
    return {
        "EksClusterDetails": ...,
    }
# CoverageResourceDetailsTypeDef definition

class CoverageResourceDetailsTypeDef(TypedDict):
    EksClusterDetails: NotRequired[CoverageEksClusterDetailsTypeDef],  # (1)
    ResourceType: NotRequired[ResourceTypeType],  # (2)
  1. See CoverageEksClusterDetailsTypeDef
  2. See ResourceTypeType

PermissionConfigurationTypeDef#

# PermissionConfigurationTypeDef usage example

from mypy_boto3_guardduty.type_defs import PermissionConfigurationTypeDef

def get_value() -> PermissionConfigurationTypeDef:
    return {
        "BucketLevelPermissions": ...,
    }
# PermissionConfigurationTypeDef definition

class PermissionConfigurationTypeDef(TypedDict):
    BucketLevelPermissions: NotRequired[BucketLevelPermissionsTypeDef],  # (1)
    AccountLevelPermissions: NotRequired[AccountLevelPermissionsTypeDef],  # (2)
  1. See BucketLevelPermissionsTypeDef
  2. See AccountLevelPermissionsTypeDef

CreateFilterRequestRequestTypeDef#

# CreateFilterRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import CreateFilterRequestRequestTypeDef

def get_value() -> CreateFilterRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "Name": ...,
        "FindingCriteria": ...,
    }
# CreateFilterRequestRequestTypeDef definition

class CreateFilterRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    Name: str,
    FindingCriteria: FindingCriteriaTypeDef,  # (1)
    Description: NotRequired[str],
    Action: NotRequired[FilterActionType],  # (2)
    Rank: NotRequired[int],
    ClientToken: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See FindingCriteriaTypeDef
  2. See FilterActionType

GetFilterResponseTypeDef#

# GetFilterResponseTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetFilterResponseTypeDef

def get_value() -> GetFilterResponseTypeDef:
    return {
        "Name": ...,
        "Description": ...,
        "Action": ...,
        "Rank": ...,
        "FindingCriteria": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# GetFilterResponseTypeDef definition

class GetFilterResponseTypeDef(TypedDict):
    Name: str,
    Description: str,
    Action: FilterActionType,  # (1)
    Rank: int,
    FindingCriteria: FindingCriteriaTypeDef,  # (2)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FilterActionType
  2. See FindingCriteriaTypeDef
  3. See ResponseMetadataTypeDef

GetFindingsStatisticsRequestRequestTypeDef#

# GetFindingsStatisticsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import GetFindingsStatisticsRequestRequestTypeDef

def get_value() -> GetFindingsStatisticsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
        "FindingStatisticTypes": ...,
    }
# GetFindingsStatisticsRequestRequestTypeDef definition

class GetFindingsStatisticsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingStatisticTypes: Sequence[FindingStatisticTypeType],  # (1)
    FindingCriteria: NotRequired[FindingCriteriaTypeDef],  # (2)
  1. See FindingStatisticTypeType
  2. See FindingCriteriaTypeDef

ListFindingsRequestListFindingsPaginateTypeDef#

# ListFindingsRequestListFindingsPaginateTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListFindingsRequestListFindingsPaginateTypeDef

def get_value() -> ListFindingsRequestListFindingsPaginateTypeDef:
    return {
        "DetectorId": ...,
    }
# ListFindingsRequestListFindingsPaginateTypeDef definition

class ListFindingsRequestListFindingsPaginateTypeDef(TypedDict):
    DetectorId: str,
    FindingCriteria: NotRequired[FindingCriteriaTypeDef],  # (1)
    SortCriteria: NotRequired[SortCriteriaTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See FindingCriteriaTypeDef
  2. See SortCriteriaTypeDef
  3. See PaginatorConfigTypeDef

ListFindingsRequestRequestTypeDef#

# ListFindingsRequestRequestTypeDef usage example

from mypy_boto3_guardduty.type_defs import ListFindingsRequestRequestTypeDef

def get_value() -> ListFindingsRequestRequestTypeDef:
    return {
        "DetectorId": ...,
    }
# ListFindingsRequestRequestTypeDef definition

class ListFindingsRequestRequestTypeDef(TypedDict):
    DetectorId: str,
    FindingCriteria: NotRequired[FindingCriteriaTypeDef],  # (1)
    SortCriteria: NotRequired[SortCriteriaTypeDef],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FindingCriteriaTypeDef
  2. See SortCriteriaTypeDef