Typed dictionaries
Auto-generated documentation for GuardDuty type annotations stubs module mypy-boto3-guardduty.
AcceptAdministratorInvitationRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AcceptAdministratorInvitationRequestRequestTypeDef
def get_value() -> AcceptAdministratorInvitationRequestRequestTypeDef:
return {
"DetectorId": ...,
"AdministratorId": ...,
"InvitationId": ...,
}
Definition
class AcceptAdministratorInvitationRequestRequestTypeDef(TypedDict):
DetectorId: str,
AdministratorId: str,
InvitationId: str,
AcceptInvitationRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AcceptInvitationRequestRequestTypeDef
def get_value() -> AcceptInvitationRequestRequestTypeDef:
return {
"DetectorId": ...,
"MasterId": ...,
"InvitationId": ...,
}
Definition
class AcceptInvitationRequestRequestTypeDef(TypedDict):
DetectorId: str,
MasterId: str,
InvitationId: str,
AccessControlListTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AccessControlListTypeDef
def get_value() -> AccessControlListTypeDef:
return {
"AllowsPublicReadAccess": ...,
}
Definition
class AccessControlListTypeDef(TypedDict):
AllowsPublicReadAccess: NotRequired[bool],
AllowsPublicWriteAccess: NotRequired[bool],
AccessKeyDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AccessKeyDetailsTypeDef
def get_value() -> AccessKeyDetailsTypeDef:
return {
"AccessKeyId": ...,
}
Definition
class AccessKeyDetailsTypeDef(TypedDict):
AccessKeyId: NotRequired[str],
PrincipalId: NotRequired[str],
UserName: NotRequired[str],
UserType: NotRequired[str],
AccountDetailTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AccountDetailTypeDef
def get_value() -> AccountDetailTypeDef:
return {
"AccountId": ...,
"Email": ...,
}
BlockPublicAccessTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import BlockPublicAccessTypeDef
def get_value() -> BlockPublicAccessTypeDef:
return {
"IgnorePublicAcls": ...,
}
Definition
class BlockPublicAccessTypeDef(TypedDict):
IgnorePublicAcls: NotRequired[bool],
RestrictPublicBuckets: NotRequired[bool],
BlockPublicAcls: NotRequired[bool],
BlockPublicPolicy: NotRequired[bool],
DnsRequestActionTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DnsRequestActionTypeDef
def get_value() -> DnsRequestActionTypeDef:
return {
"Domain": ...,
}
Definition
class DnsRequestActionTypeDef(TypedDict):
Domain: NotRequired[str],
Protocol: NotRequired[str],
Blocked: NotRequired[bool],
AdminAccountTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AdminAccountTypeDef
def get_value() -> AdminAccountTypeDef:
return {
"AdminAccountId": ...,
}
Definition
class AdminAccountTypeDef(TypedDict):
AdminAccountId: NotRequired[str],
AdminStatus: NotRequired[AdminStatusType], # (1)
- See AdminStatusType
AdministratorTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import AdministratorTypeDef
def get_value() -> AdministratorTypeDef:
return {
"AccountId": ...,
}
Definition
class AdministratorTypeDef(TypedDict):
AccountId: NotRequired[str],
InvitationId: NotRequired[str],
RelationshipStatus: NotRequired[str],
InvitedAt: NotRequired[str],
ArchiveFindingsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ArchiveFindingsRequestRequestTypeDef
def get_value() -> ArchiveFindingsRequestRequestTypeDef:
return {
"DetectorId": ...,
"FindingIds": ...,
}
Definition
class ArchiveFindingsRequestRequestTypeDef(TypedDict):
DetectorId: str,
FindingIds: Sequence[str],
DomainDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DomainDetailsTypeDef
def get_value() -> DomainDetailsTypeDef:
return {
"Domain": ...,
}
RemoteAccountDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import RemoteAccountDetailsTypeDef
def get_value() -> RemoteAccountDetailsTypeDef:
return {
"AccountId": ...,
}
Definition
class RemoteAccountDetailsTypeDef(TypedDict):
AccountId: NotRequired[str],
Affiliated: NotRequired[bool],
BucketPolicyTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import BucketPolicyTypeDef
def get_value() -> BucketPolicyTypeDef:
return {
"AllowsPublicReadAccess": ...,
}
Definition
class BucketPolicyTypeDef(TypedDict):
AllowsPublicReadAccess: NotRequired[bool],
AllowsPublicWriteAccess: NotRequired[bool],
CityTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import CityTypeDef
def get_value() -> CityTypeDef:
return {
"CityName": ...,
}
CloudTrailConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import CloudTrailConfigurationResultTypeDef
def get_value() -> CloudTrailConfigurationResultTypeDef:
return {
"Status": ...,
}
Definition
class CloudTrailConfigurationResultTypeDef(TypedDict):
Status: DataSourceStatusType, # (1)
ConditionTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ConditionTypeDef
def get_value() -> ConditionTypeDef:
return {
"Eq": ...,
}
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
Usage Example
from mypy_boto3_guardduty.type_defs import SecurityContextTypeDef
def get_value() -> SecurityContextTypeDef:
return {
"Privileged": ...,
}
VolumeMountTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import VolumeMountTypeDef
def get_value() -> VolumeMountTypeDef:
return {
"Name": ...,
}
CountryTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import CountryTypeDef
def get_value() -> CountryTypeDef:
return {
"CountryCode": ...,
}
Definition
class CountryTypeDef(TypedDict):
CountryCode: NotRequired[str],
CountryName: NotRequired[str],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
CreateIPSetRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import CreateIPSetRequestRequestTypeDef
def get_value() -> CreateIPSetRequestRequestTypeDef:
return {
"DetectorId": ...,
"Name": ...,
"Format": ...,
"Location": ...,
"Activate": ...,
}
Definition
class CreateIPSetRequestRequestTypeDef(TypedDict):
DetectorId: str,
Name: str,
Format: IpSetFormatType, # (1)
Location: str,
Activate: bool,
ClientToken: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
- See IpSetFormatType
UnprocessedAccountTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import UnprocessedAccountTypeDef
def get_value() -> UnprocessedAccountTypeDef:
return {
"AccountId": ...,
"Result": ...,
}
DestinationPropertiesTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DestinationPropertiesTypeDef
def get_value() -> DestinationPropertiesTypeDef:
return {
"DestinationArn": ...,
}
Definition
class DestinationPropertiesTypeDef(TypedDict):
DestinationArn: NotRequired[str],
KmsKeyArn: NotRequired[str],
CreateSampleFindingsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import CreateSampleFindingsRequestRequestTypeDef
def get_value() -> CreateSampleFindingsRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class CreateSampleFindingsRequestRequestTypeDef(TypedDict):
DetectorId: str,
FindingTypes: NotRequired[Sequence[str]],
CreateThreatIntelSetRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import CreateThreatIntelSetRequestRequestTypeDef
def get_value() -> CreateThreatIntelSetRequestRequestTypeDef:
return {
"DetectorId": ...,
"Name": ...,
"Format": ...,
"Location": ...,
"Activate": ...,
}
Definition
class CreateThreatIntelSetRequestRequestTypeDef(TypedDict):
DetectorId: str,
Name: str,
Format: ThreatIntelSetFormatType, # (1)
Location: str,
Activate: bool,
ClientToken: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
DNSLogsConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DNSLogsConfigurationResultTypeDef
def get_value() -> DNSLogsConfigurationResultTypeDef:
return {
"Status": ...,
}
FlowLogsConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import FlowLogsConfigurationResultTypeDef
def get_value() -> FlowLogsConfigurationResultTypeDef:
return {
"Status": ...,
}
S3LogsConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import S3LogsConfigurationResultTypeDef
def get_value() -> S3LogsConfigurationResultTypeDef:
return {
"Status": ...,
}
S3LogsConfigurationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import S3LogsConfigurationTypeDef
def get_value() -> S3LogsConfigurationTypeDef:
return {
"Enable": ...,
}
DataSourceFreeTrialTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DataSourceFreeTrialTypeDef
def get_value() -> DataSourceFreeTrialTypeDef:
return {
"FreeTrialDaysRemaining": ...,
}
DeclineInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeclineInvitationsRequestRequestTypeDef
def get_value() -> DeclineInvitationsRequestRequestTypeDef:
return {
"AccountIds": ...,
}
DefaultServerSideEncryptionTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DefaultServerSideEncryptionTypeDef
def get_value() -> DefaultServerSideEncryptionTypeDef:
return {
"EncryptionType": ...,
}
Definition
class DefaultServerSideEncryptionTypeDef(TypedDict):
EncryptionType: NotRequired[str],
KmsMasterKeyArn: NotRequired[str],
DeleteDetectorRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeleteDetectorRequestRequestTypeDef
def get_value() -> DeleteDetectorRequestRequestTypeDef:
return {
"DetectorId": ...,
}
DeleteFilterRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeleteFilterRequestRequestTypeDef
def get_value() -> DeleteFilterRequestRequestTypeDef:
return {
"DetectorId": ...,
"FilterName": ...,
}
DeleteIPSetRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeleteIPSetRequestRequestTypeDef
def get_value() -> DeleteIPSetRequestRequestTypeDef:
return {
"DetectorId": ...,
"IpSetId": ...,
}
DeleteInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeleteInvitationsRequestRequestTypeDef
def get_value() -> DeleteInvitationsRequestRequestTypeDef:
return {
"AccountIds": ...,
}
DeleteMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeleteMembersRequestRequestTypeDef
def get_value() -> DeleteMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class DeleteMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
DeletePublishingDestinationRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeletePublishingDestinationRequestRequestTypeDef
def get_value() -> DeletePublishingDestinationRequestRequestTypeDef:
return {
"DetectorId": ...,
"DestinationId": ...,
}
Definition
class DeletePublishingDestinationRequestRequestTypeDef(TypedDict):
DetectorId: str,
DestinationId: str,
DeleteThreatIntelSetRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DeleteThreatIntelSetRequestRequestTypeDef
def get_value() -> DeleteThreatIntelSetRequestRequestTypeDef:
return {
"DetectorId": ...,
"ThreatIntelSetId": ...,
}
Definition
class DeleteThreatIntelSetRequestRequestTypeDef(TypedDict):
DetectorId: str,
ThreatIntelSetId: str,
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
SortCriteriaTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import SortCriteriaTypeDef
def get_value() -> SortCriteriaTypeDef:
return {
"AttributeName": ...,
}
Definition
class SortCriteriaTypeDef(TypedDict):
AttributeName: NotRequired[str],
OrderBy: NotRequired[OrderByType], # (1)
- See OrderByType
DescribeOrganizationConfigurationRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DescribeOrganizationConfigurationRequestRequestTypeDef
def get_value() -> DescribeOrganizationConfigurationRequestRequestTypeDef:
return {
"DetectorId": ...,
}
DescribePublishingDestinationRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DescribePublishingDestinationRequestRequestTypeDef
def get_value() -> DescribePublishingDestinationRequestRequestTypeDef:
return {
"DetectorId": ...,
"DestinationId": ...,
}
Definition
class DescribePublishingDestinationRequestRequestTypeDef(TypedDict):
DetectorId: str,
DestinationId: str,
DestinationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DestinationTypeDef
def get_value() -> DestinationTypeDef:
return {
"DestinationId": ...,
"DestinationType": ...,
"Status": ...,
}
Definition
class DestinationTypeDef(TypedDict):
DestinationId: str,
DestinationType: DestinationTypeType, # (1)
Status: PublishingStatusType, # (2)
DisableOrganizationAdminAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DisableOrganizationAdminAccountRequestRequestTypeDef
def get_value() -> DisableOrganizationAdminAccountRequestRequestTypeDef:
return {
"AdminAccountId": ...,
}
Definition
class DisableOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
AdminAccountId: str,
DisassociateFromAdministratorAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DisassociateFromAdministratorAccountRequestRequestTypeDef
def get_value() -> DisassociateFromAdministratorAccountRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class DisassociateFromAdministratorAccountRequestRequestTypeDef(TypedDict):
DetectorId: str,
DisassociateFromMasterAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DisassociateFromMasterAccountRequestRequestTypeDef
def get_value() -> DisassociateFromMasterAccountRequestRequestTypeDef:
return {
"DetectorId": ...,
}
DisassociateMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import DisassociateMembersRequestRequestTypeDef
def get_value() -> DisassociateMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class DisassociateMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
VolumeDetailTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import VolumeDetailTypeDef
def get_value() -> VolumeDetailTypeDef:
return {
"VolumeArn": ...,
}
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
Usage Example
from mypy_boto3_guardduty.type_defs import EbsVolumesResultTypeDef
def get_value() -> EbsVolumesResultTypeDef:
return {
"Status": ...,
}
Definition
class EbsVolumesResultTypeDef(TypedDict):
Status: NotRequired[DataSourceStatusType], # (1)
Reason: NotRequired[str],
TagTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
EnableOrganizationAdminAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import EnableOrganizationAdminAccountRequestRequestTypeDef
def get_value() -> EnableOrganizationAdminAccountRequestRequestTypeDef:
return {
"AdminAccountId": ...,
}
Definition
class EnableOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
AdminAccountId: str,
ThreatIntelligenceDetailTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ThreatIntelligenceDetailTypeDef
def get_value() -> ThreatIntelligenceDetailTypeDef:
return {
"ThreatListName": ...,
}
Definition
class ThreatIntelligenceDetailTypeDef(TypedDict):
ThreatListName: NotRequired[str],
ThreatNames: NotRequired[List[str]],
FilterConditionTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import FilterConditionTypeDef
def get_value() -> FilterConditionTypeDef:
return {
"EqualsValue": ...,
}
Definition
class FilterConditionTypeDef(TypedDict):
EqualsValue: NotRequired[str],
GreaterThan: NotRequired[int],
LessThan: NotRequired[int],
FindingStatisticsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import FindingStatisticsTypeDef
def get_value() -> FindingStatisticsTypeDef:
return {
"CountBySeverity": ...,
}
GeoLocationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GeoLocationTypeDef
def get_value() -> GeoLocationTypeDef:
return {
"Lat": ...,
}
GetAdministratorAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetAdministratorAccountRequestRequestTypeDef
def get_value() -> GetAdministratorAccountRequestRequestTypeDef:
return {
"DetectorId": ...,
}
GetDetectorRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetDetectorRequestRequestTypeDef
def get_value() -> GetDetectorRequestRequestTypeDef:
return {
"DetectorId": ...,
}
GetFilterRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetFilterRequestRequestTypeDef
def get_value() -> GetFilterRequestRequestTypeDef:
return {
"DetectorId": ...,
"FilterName": ...,
}
GetIPSetRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetIPSetRequestRequestTypeDef
def get_value() -> GetIPSetRequestRequestTypeDef:
return {
"DetectorId": ...,
"IpSetId": ...,
}
GetMalwareScanSettingsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetMalwareScanSettingsRequestRequestTypeDef
def get_value() -> GetMalwareScanSettingsRequestRequestTypeDef:
return {
"DetectorId": ...,
}
GetMasterAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetMasterAccountRequestRequestTypeDef
def get_value() -> GetMasterAccountRequestRequestTypeDef:
return {
"DetectorId": ...,
}
MasterTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import MasterTypeDef
def get_value() -> MasterTypeDef:
return {
"AccountId": ...,
}
Definition
class MasterTypeDef(TypedDict):
AccountId: NotRequired[str],
InvitationId: NotRequired[str],
RelationshipStatus: NotRequired[str],
InvitedAt: NotRequired[str],
GetMemberDetectorsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetMemberDetectorsRequestRequestTypeDef
def get_value() -> GetMemberDetectorsRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class GetMemberDetectorsRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
GetMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetMembersRequestRequestTypeDef
def get_value() -> GetMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class GetMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
MemberTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import MemberTypeDef
def get_value() -> MemberTypeDef:
return {
"AccountId": ...,
"MasterId": ...,
"Email": ...,
"RelationshipStatus": ...,
"UpdatedAt": ...,
}
Definition
class MemberTypeDef(TypedDict):
AccountId: str,
MasterId: str,
Email: str,
RelationshipStatus: str,
UpdatedAt: str,
DetectorId: NotRequired[str],
InvitedAt: NotRequired[str],
AdministratorId: NotRequired[str],
GetRemainingFreeTrialDaysRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetRemainingFreeTrialDaysRequestRequestTypeDef
def get_value() -> GetRemainingFreeTrialDaysRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class GetRemainingFreeTrialDaysRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: NotRequired[Sequence[str]],
GetThreatIntelSetRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import GetThreatIntelSetRequestRequestTypeDef
def get_value() -> GetThreatIntelSetRequestRequestTypeDef:
return {
"DetectorId": ...,
"ThreatIntelSetId": ...,
}
Definition
class GetThreatIntelSetRequestRequestTypeDef(TypedDict):
DetectorId: str,
ThreatIntelSetId: str,
UsageCriteriaTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import UsageCriteriaTypeDef
def get_value() -> UsageCriteriaTypeDef:
return {
"DataSources": ...,
}
Definition
class UsageCriteriaTypeDef(TypedDict):
DataSources: Sequence[DataSourceType], # (1)
AccountIds: NotRequired[Sequence[str]],
Resources: NotRequired[Sequence[str]],
- See DataSourceType
HighestSeverityThreatDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import HighestSeverityThreatDetailsTypeDef
def get_value() -> HighestSeverityThreatDetailsTypeDef:
return {
"Severity": ...,
}
Definition
class HighestSeverityThreatDetailsTypeDef(TypedDict):
Severity: NotRequired[str],
ThreatName: NotRequired[str],
Count: NotRequired[int],
HostPathTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import HostPathTypeDef
def get_value() -> HostPathTypeDef:
return {
"Path": ...,
}
IamInstanceProfileTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import IamInstanceProfileTypeDef
def get_value() -> IamInstanceProfileTypeDef:
return {
"Arn": ...,
}
ProductCodeTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ProductCodeTypeDef
def get_value() -> ProductCodeTypeDef:
return {
"Code": ...,
}
Definition
class ProductCodeTypeDef(TypedDict):
Code: NotRequired[str],
ProductType: NotRequired[str],
InvitationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import InvitationTypeDef
def get_value() -> InvitationTypeDef:
return {
"AccountId": ...,
}
Definition
class InvitationTypeDef(TypedDict):
AccountId: NotRequired[str],
InvitationId: NotRequired[str],
RelationshipStatus: NotRequired[str],
InvitedAt: NotRequired[str],
InviteMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import InviteMembersRequestRequestTypeDef
def get_value() -> InviteMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class InviteMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
DisableEmailNotification: NotRequired[bool],
Message: NotRequired[str],
KubernetesAuditLogsConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import KubernetesAuditLogsConfigurationResultTypeDef
def get_value() -> KubernetesAuditLogsConfigurationResultTypeDef:
return {
"Status": ...,
}
Definition
class KubernetesAuditLogsConfigurationResultTypeDef(TypedDict):
Status: DataSourceStatusType, # (1)
KubernetesAuditLogsConfigurationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import KubernetesAuditLogsConfigurationTypeDef
def get_value() -> KubernetesAuditLogsConfigurationTypeDef:
return {
"Enable": ...,
}
KubernetesUserDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import KubernetesUserDetailsTypeDef
def get_value() -> KubernetesUserDetailsTypeDef:
return {
"Username": ...,
}
Definition
class KubernetesUserDetailsTypeDef(TypedDict):
Username: NotRequired[str],
Uid: NotRequired[str],
Groups: NotRequired[List[str]],
ListDetectorsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListDetectorsRequestRequestTypeDef
def get_value() -> ListDetectorsRequestRequestTypeDef:
return {
"MaxResults": ...,
}
Definition
class ListDetectorsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListFiltersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListFiltersRequestRequestTypeDef
def get_value() -> ListFiltersRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class ListFiltersRequestRequestTypeDef(TypedDict):
DetectorId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListIPSetsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListIPSetsRequestRequestTypeDef
def get_value() -> ListIPSetsRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class ListIPSetsRequestRequestTypeDef(TypedDict):
DetectorId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListInvitationsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListInvitationsRequestRequestTypeDef
def get_value() -> ListInvitationsRequestRequestTypeDef:
return {
"MaxResults": ...,
}
Definition
class ListInvitationsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListMembersRequestRequestTypeDef
def get_value() -> ListMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class ListMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
OnlyAssociated: NotRequired[str],
ListOrganizationAdminAccountsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListOrganizationAdminAccountsRequestRequestTypeDef
def get_value() -> ListOrganizationAdminAccountsRequestRequestTypeDef:
return {
"MaxResults": ...,
}
Definition
class ListOrganizationAdminAccountsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListPublishingDestinationsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListPublishingDestinationsRequestRequestTypeDef
def get_value() -> ListPublishingDestinationsRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class ListPublishingDestinationsRequestRequestTypeDef(TypedDict):
DetectorId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
}
ListThreatIntelSetsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ListThreatIntelSetsRequestRequestTypeDef
def get_value() -> ListThreatIntelSetsRequestRequestTypeDef:
return {
"DetectorId": ...,
}
Definition
class ListThreatIntelSetsRequestRequestTypeDef(TypedDict):
DetectorId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
LocalIpDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import LocalIpDetailsTypeDef
def get_value() -> LocalIpDetailsTypeDef:
return {
"IpAddressV4": ...,
}
LocalPortDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import LocalPortDetailsTypeDef
def get_value() -> LocalPortDetailsTypeDef:
return {
"Port": ...,
}
Definition
class LocalPortDetailsTypeDef(TypedDict):
Port: NotRequired[int],
PortName: NotRequired[str],
ScanEc2InstanceWithFindingsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ScanEc2InstanceWithFindingsTypeDef
def get_value() -> ScanEc2InstanceWithFindingsTypeDef:
return {
"EbsVolumes": ...,
}
RemotePortDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import RemotePortDetailsTypeDef
def get_value() -> RemotePortDetailsTypeDef:
return {
"Port": ...,
}
Definition
class RemotePortDetailsTypeDef(TypedDict):
Port: NotRequired[int],
PortName: NotRequired[str],
PrivateIpAddressDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import PrivateIpAddressDetailsTypeDef
def get_value() -> PrivateIpAddressDetailsTypeDef:
return {
"PrivateDnsName": ...,
}
Definition
class PrivateIpAddressDetailsTypeDef(TypedDict):
PrivateDnsName: NotRequired[str],
PrivateIpAddress: NotRequired[str],
SecurityGroupTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import SecurityGroupTypeDef
def get_value() -> SecurityGroupTypeDef:
return {
"GroupId": ...,
}
Definition
class SecurityGroupTypeDef(TypedDict):
GroupId: NotRequired[str],
GroupName: NotRequired[str],
OrganizationS3LogsConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationS3LogsConfigurationResultTypeDef
def get_value() -> OrganizationS3LogsConfigurationResultTypeDef:
return {
"AutoEnable": ...,
}
OrganizationS3LogsConfigurationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationS3LogsConfigurationTypeDef
def get_value() -> OrganizationS3LogsConfigurationTypeDef:
return {
"AutoEnable": ...,
}
OrganizationEbsVolumesResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationEbsVolumesResultTypeDef
def get_value() -> OrganizationEbsVolumesResultTypeDef:
return {
"AutoEnable": ...,
}
OrganizationEbsVolumesTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationEbsVolumesTypeDef
def get_value() -> OrganizationEbsVolumesTypeDef:
return {
"AutoEnable": ...,
}
OrganizationKubernetesAuditLogsConfigurationResultTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationKubernetesAuditLogsConfigurationResultTypeDef
def get_value() -> OrganizationKubernetesAuditLogsConfigurationResultTypeDef:
return {
"AutoEnable": ...,
}
Definition
class OrganizationKubernetesAuditLogsConfigurationResultTypeDef(TypedDict):
AutoEnable: bool,
OrganizationKubernetesAuditLogsConfigurationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationKubernetesAuditLogsConfigurationTypeDef
def get_value() -> OrganizationKubernetesAuditLogsConfigurationTypeDef:
return {
"AutoEnable": ...,
}
OrganizationTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OrganizationTypeDef
def get_value() -> OrganizationTypeDef:
return {
"Asn": ...,
}
Definition
class OrganizationTypeDef(TypedDict):
Asn: NotRequired[str],
AsnOrg: NotRequired[str],
Isp: NotRequired[str],
Org: NotRequired[str],
OwnerTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import OwnerTypeDef
def get_value() -> OwnerTypeDef:
return {
"Id": ...,
}
ResourceDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ResourceDetailsTypeDef
def get_value() -> ResourceDetailsTypeDef:
return {
"InstanceArn": ...,
}
ScanConditionPairTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ScanConditionPairTypeDef
def get_value() -> ScanConditionPairTypeDef:
return {
"Key": ...,
}
ScannedItemCountTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ScannedItemCountTypeDef
def get_value() -> ScannedItemCountTypeDef:
return {
"TotalGb": ...,
}
Definition
class ScannedItemCountTypeDef(TypedDict):
TotalGb: NotRequired[int],
Files: NotRequired[int],
Volumes: NotRequired[int],
ThreatsDetectedItemCountTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ThreatsDetectedItemCountTypeDef
def get_value() -> ThreatsDetectedItemCountTypeDef:
return {
"Files": ...,
}
ScanFilePathTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ScanFilePathTypeDef
def get_value() -> ScanFilePathTypeDef:
return {
"FilePath": ...,
}
Definition
class ScanFilePathTypeDef(TypedDict):
FilePath: NotRequired[str],
VolumeArn: NotRequired[str],
Hash: NotRequired[str],
FileName: NotRequired[str],
ScanResultDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ScanResultDetailsTypeDef
def get_value() -> ScanResultDetailsTypeDef:
return {
"ScanResult": ...,
}
- See ScanResultType
TriggerDetailsTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import TriggerDetailsTypeDef
def get_value() -> TriggerDetailsTypeDef:
return {
"GuardDutyFindingId": ...,
}
Definition
class TriggerDetailsTypeDef(TypedDict):
GuardDutyFindingId: NotRequired[str],
Description: NotRequired[str],
ServiceAdditionalInfoTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import ServiceAdditionalInfoTypeDef
def get_value() -> ServiceAdditionalInfoTypeDef:
return {
"Value": ...,
}
Definition
class ServiceAdditionalInfoTypeDef(TypedDict):
Value: NotRequired[str],
Type: NotRequired[str],
StartMonitoringMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import StartMonitoringMembersRequestRequestTypeDef
def get_value() -> StartMonitoringMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class StartMonitoringMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
StopMonitoringMembersRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import StopMonitoringMembersRequestRequestTypeDef
def get_value() -> StopMonitoringMembersRequestRequestTypeDef:
return {
"DetectorId": ...,
"AccountIds": ...,
}
Definition
class StopMonitoringMembersRequestRequestTypeDef(TypedDict):
DetectorId: str,
AccountIds: Sequence[str],
TagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"Tags": ...,
}
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
TotalTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import TotalTypeDef
def get_value() -> TotalTypeDef:
return {
"Amount": ...,
}
UnarchiveFindingsRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import UnarchiveFindingsRequestRequestTypeDef
def get_value() -> UnarchiveFindingsRequestRequestTypeDef:
return {
"DetectorId": ...,
"FindingIds": ...,
}
Definition
class UnarchiveFindingsRequestRequestTypeDef(TypedDict):
DetectorId: str,
FindingIds: Sequence[str],
UntagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_guardduty.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"TagKeys": ...,
}
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],