GuardDuty module#
Index > GuardDuty
Auto-generated documentation for GuardDuty type annotations stubs module mypy-boto3-guardduty.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and GuardDuty
.
From PyPI with pip#
Install boto3-stubs
for GuardDuty
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[guardduty]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[guardduty]'
# standalone installation
python -m pip install mypy-boto3-guardduty
How to uninstall#
python -m pip uninstall -y mypy-boto3-guardduty
Usage#
Code samples can be found in Examples.
GuardDutyClient#
Type annotations and code completion for boto3.client("guardduty")
as GuardDutyClient
boto3 documentation
# GuardDutyClient usage example
from boto3.session import Session
from mypy_boto3_guardduty.client import GuardDutyClient
def get_client() -> GuardDutyClient:
return Session().client("guardduty")
Paginators#
Type annotations and code completion for paginators
from boto3.client("guardduty").get_paginator("...")
.
# DescribeMalwareScansPaginator usage example
from boto3.session import Session
from mypy_boto3_guardduty.paginator import DescribeMalwareScansPaginator
def get_describe_malware_scans_paginator() -> DescribeMalwareScansPaginator:
return Session().client("guardduty").get_paginator("describe_malware_scans"))
- DescribeMalwareScansPaginator
- ListCoveragePaginator
- ListDetectorsPaginator
- ListFiltersPaginator
- ListFindingsPaginator
- ListIPSetsPaginator
- ListInvitationsPaginator
- ListMembersPaginator
- ListOrganizationAdminAccountsPaginator
- ListThreatIntelSetsPaginator
Literals#
Type annotations for literals used in methods and schema.
# AdminStatusType usage example
from mypy_boto3_guardduty.literals import AdminStatusType
def get_value() -> AdminStatusType:
return "DISABLE_IN_PROGRESS"
- AdminStatusType
- AutoEnableMembersType
- CoverageFilterCriterionKeyType
- CoverageSortKeyType
- CoverageStatisticsTypeType
- CoverageStatusType
- CriterionKeyType
- DataSourceStatusType
- DataSourceType
- DescribeMalwareScansPaginatorName
- DestinationTypeType
- DetectorFeatureResultType
- DetectorFeatureType
- DetectorStatusType
- EbsSnapshotPreservationType
- FeatureAdditionalConfigurationType
- FeatureStatusType
- FeedbackType
- FilterActionType
- FindingPublishingFrequencyType
- FindingStatisticTypeType
- FreeTrialFeatureResultType
- GroupByTypeType
- IpSetFormatType
- IpSetStatusType
- ListCoveragePaginatorName
- ListDetectorsPaginatorName
- ListFiltersPaginatorName
- ListFindingsPaginatorName
- ListIPSetsPaginatorName
- ListInvitationsPaginatorName
- ListMembersPaginatorName
- ListOrganizationAdminAccountsPaginatorName
- ListThreatIntelSetsPaginatorName
- MalwareProtectionPlanStatusType
- MalwareProtectionPlanTaggingActionStatusType
- ManagementTypeType
- OrderByType
- OrgFeatureAdditionalConfigurationType
- OrgFeatureStatusType
- OrgFeatureType
- ProfileSubtypeType
- ProfileTypeType
- PublishingStatusType
- ResourceTypeType
- ScanCriterionKeyType
- ScanResultType
- ScanStatusType
- ScanTypeType
- ThreatIntelSetFormatType
- ThreatIntelSetStatusType
- UsageFeatureType
- UsageStatisticTypeType
- GuardDutyServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AcceptAdministratorInvitationRequestRequestTypeDef
- AcceptInvitationRequestRequestTypeDef
- AccessControlListTypeDef
- AccessKeyDetailsTypeDef
- AccountDetailTypeDef
- FreeTrialFeatureConfigurationResultTypeDef
- BlockPublicAccessTypeDef
- AccountStatisticsTypeDef
- DnsRequestActionTypeDef
- KubernetesPermissionCheckedDetailsTypeDef
- KubernetesRoleBindingDetailsTypeDef
- KubernetesRoleDetailsTypeDef
- AddonDetailsTypeDef
- AdminAccountTypeDef
- AdministratorTypeDef
- AgentDetailsTypeDef
- ObservationsTypeDef
- ArchiveFindingsRequestRequestTypeDef
- DomainDetailsTypeDef
- RemoteAccountDetailsTypeDef
- BucketPolicyTypeDef
- CityTypeDef
- CloudTrailConfigurationResultTypeDef
- ConditionOutputTypeDef
- ConditionTypeDef
- ContainerInstanceDetailsTypeDef
- SecurityContextTypeDef
- VolumeMountTypeDef
- CountryTypeDef
- FargateDetailsTypeDef
- CoverageFilterConditionTypeDef
- CoverageSortCriteriaTypeDef
- CoverageStatisticsTypeDef
- ResponseMetadataTypeDef
- CreateIPSetRequestRequestTypeDef
- UnprocessedAccountTypeDef
- CreateS3BucketResourceOutputTypeDef
- DestinationPropertiesTypeDef
- CreateS3BucketResourceTypeDef
- CreateSampleFindingsRequestRequestTypeDef
- CreateThreatIntelSetRequestRequestTypeDef
- DNSLogsConfigurationResultTypeDef
- FlowLogsConfigurationResultTypeDef
- S3LogsConfigurationResultTypeDef
- S3LogsConfigurationTypeDef
- DataSourceFreeTrialTypeDef
- DateStatisticsTypeDef
- DeclineInvitationsRequestRequestTypeDef
- DefaultServerSideEncryptionTypeDef
- DeleteDetectorRequestRequestTypeDef
- DeleteFilterRequestRequestTypeDef
- DeleteIPSetRequestRequestTypeDef
- DeleteInvitationsRequestRequestTypeDef
- DeleteMalwareProtectionPlanRequestRequestTypeDef
- DeleteMembersRequestRequestTypeDef
- DeletePublishingDestinationRequestRequestTypeDef
- DeleteThreatIntelSetRequestRequestTypeDef
- PaginatorConfigTypeDef
- SortCriteriaTypeDef
- DescribeOrganizationConfigurationRequestRequestTypeDef
- DescribePublishingDestinationRequestRequestTypeDef
- DestinationTypeDef
- DetectorAdditionalConfigurationResultTypeDef
- DetectorAdditionalConfigurationTypeDef
- DisableOrganizationAdminAccountRequestRequestTypeDef
- DisassociateFromAdministratorAccountRequestRequestTypeDef
- DisassociateFromMasterAccountRequestRequestTypeDef
- DisassociateMembersRequestRequestTypeDef
- VolumeDetailTypeDef
- EbsVolumesResultTypeDef
- TagTypeDef
- EnableOrganizationAdminAccountRequestRequestTypeDef
- ThreatIntelligenceDetailTypeDef
- FilterConditionTypeDef
- FindingTypeStatisticsTypeDef
- ResourceStatisticsTypeDef
- SeverityStatisticsTypeDef
- GeoLocationTypeDef
- GetAdministratorAccountRequestRequestTypeDef
- GetDetectorRequestRequestTypeDef
- GetFilterRequestRequestTypeDef
- GetIPSetRequestRequestTypeDef
- GetMalwareProtectionPlanRequestRequestTypeDef
- MalwareProtectionPlanStatusReasonTypeDef
- GetMalwareScanSettingsRequestRequestTypeDef
- GetMasterAccountRequestRequestTypeDef
- MasterTypeDef
- GetMemberDetectorsRequestRequestTypeDef
- GetMembersRequestRequestTypeDef
- MemberTypeDef
- GetRemainingFreeTrialDaysRequestRequestTypeDef
- GetThreatIntelSetRequestRequestTypeDef
- UsageCriteriaTypeDef
- HighestSeverityThreatDetailsTypeDef
- HostPathTypeDef
- IamInstanceProfileTypeDef
- ImpersonatedUserTypeDef
- ProductCodeTypeDef
- InvitationTypeDef
- InviteMembersRequestRequestTypeDef
- ItemPathTypeDef
- KubernetesAuditLogsConfigurationResultTypeDef
- KubernetesAuditLogsConfigurationTypeDef
- LineageObjectTypeDef
- ListDetectorsRequestRequestTypeDef
- ListFiltersRequestRequestTypeDef
- ListIPSetsRequestRequestTypeDef
- ListInvitationsRequestRequestTypeDef
- ListMalwareProtectionPlansRequestRequestTypeDef
- MalwareProtectionPlanSummaryTypeDef
- ListMembersRequestRequestTypeDef
- ListOrganizationAdminAccountsRequestRequestTypeDef
- ListPublishingDestinationsRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- ListThreatIntelSetsRequestRequestTypeDef
- LocalIpDetailsTypeDef
- LocalPortDetailsTypeDef
- LoginAttributeTypeDef
- ScanEc2InstanceWithFindingsTypeDef
- MalwareProtectionPlanTaggingActionTypeDef
- MemberAdditionalConfigurationResultTypeDef
- MemberAdditionalConfigurationTypeDef
- RemotePortDetailsTypeDef
- PrivateIpAddressDetailsTypeDef
- SecurityGroupTypeDef
- OrganizationAdditionalConfigurationResultTypeDef
- OrganizationAdditionalConfigurationTypeDef
- OrganizationS3LogsConfigurationResultTypeDef
- OrganizationS3LogsConfigurationTypeDef
- OrganizationEbsVolumesResultTypeDef
- OrganizationEbsVolumesTypeDef
- OrganizationFeatureStatisticsAdditionalConfigurationTypeDef
- OrganizationKubernetesAuditLogsConfigurationResultTypeDef
- OrganizationKubernetesAuditLogsConfigurationTypeDef
- OrganizationTypeDef
- OwnerTypeDef
- RdsDbUserDetailsTypeDef
- ResourceDetailsTypeDef
- S3ObjectDetailTypeDef
- ScanConditionPairTypeDef
- ScannedItemCountTypeDef
- ThreatsDetectedItemCountTypeDef
- ScanFilePathTypeDef
- ScanResultDetailsTypeDef
- TriggerDetailsTypeDef
- ServiceAdditionalInfoTypeDef
- StartMalwareScanRequestRequestTypeDef
- StartMonitoringMembersRequestRequestTypeDef
- StopMonitoringMembersRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- TotalTypeDef
- UnarchiveFindingsRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateFindingsFeedbackRequestRequestTypeDef
- UpdateIPSetRequestRequestTypeDef
- UpdateS3BucketResourceTypeDef
- UpdateThreatIntelSetRequestRequestTypeDef
- CreateMembersRequestRequestTypeDef
- AccountLevelPermissionsTypeDef
- CoverageEksClusterDetailsTypeDef
- CoverageEc2InstanceDetailsTypeDef
- AnomalyObjectTypeDef
- BucketLevelPermissionsTypeDef
- FindingCriteriaOutputTypeDef
- ConditionUnionTypeDef
- ContainerTypeDef
- CoverageEcsClusterDetailsTypeDef
- CoverageFilterCriterionTypeDef
- CreateFilterResponseTypeDef
- CreateIPSetResponseTypeDef
- CreateMalwareProtectionPlanResponseTypeDef
- CreatePublishingDestinationResponseTypeDef
- CreateThreatIntelSetResponseTypeDef
- EmptyResponseMetadataTypeDef
- GetAdministratorAccountResponseTypeDef
- GetCoverageStatisticsResponseTypeDef
- GetIPSetResponseTypeDef
- GetInvitationsCountResponseTypeDef
- GetThreatIntelSetResponseTypeDef
- ListDetectorsResponseTypeDef
- ListFiltersResponseTypeDef
- ListFindingsResponseTypeDef
- ListIPSetsResponseTypeDef
- ListOrganizationAdminAccountsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- ListThreatIntelSetsResponseTypeDef
- StartMalwareScanResponseTypeDef
- UpdateFilterResponseTypeDef
- CreateMembersResponseTypeDef
- DeclineInvitationsResponseTypeDef
- DeleteInvitationsResponseTypeDef
- DeleteMembersResponseTypeDef
- DisassociateMembersResponseTypeDef
- InviteMembersResponseTypeDef
- StartMonitoringMembersResponseTypeDef
- StopMonitoringMembersResponseTypeDef
- UpdateMemberDetectorsResponseTypeDef
- CreateProtectedResourceOutputTypeDef
- CreatePublishingDestinationRequestRequestTypeDef
- DescribePublishingDestinationResponseTypeDef
- UpdatePublishingDestinationRequestRequestTypeDef
- CreateS3BucketResourceUnionTypeDef
- KubernetesDataSourceFreeTrialTypeDef
- MalwareProtectionDataSourceFreeTrialTypeDef
- ListDetectorsRequestListDetectorsPaginateTypeDef
- ListFiltersRequestListFiltersPaginateTypeDef
- ListIPSetsRequestListIPSetsPaginateTypeDef
- ListInvitationsRequestListInvitationsPaginateTypeDef
- ListMembersRequestListMembersPaginateTypeDef
- ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef
- ListThreatIntelSetsRequestListThreatIntelSetsPaginateTypeDef
- GetFindingsRequestRequestTypeDef
- ListPublishingDestinationsResponseTypeDef
- DetectorFeatureConfigurationResultTypeDef
- DetectorFeatureConfigurationTypeDef
- EbsVolumeDetailsTypeDef
- ScanEc2InstanceWithFindingsResultTypeDef
- EksClusterDetailsTypeDef
- RdsDbInstanceDetailsTypeDef
- RdsLimitlessDbDetailsTypeDef
- EvidenceTypeDef
- FilterCriterionTypeDef
- FindingStatisticsTypeDef
- GetMasterAccountResponseTypeDef
- GetMembersResponseTypeDef
- ListMembersResponseTypeDef
- GetUsageStatisticsRequestRequestTypeDef
- VolumeTypeDef
- KubernetesUserDetailsTypeDef
- ListInvitationsResponseTypeDef
- ThreatTypeDef
- KubernetesConfigurationResultTypeDef
- KubernetesConfigurationTypeDef
- ProcessDetailsTypeDef
- ListMalwareProtectionPlansResponseTypeDef
- MalwareProtectionConfigurationTypeDef
- MalwareProtectionPlanActionsTypeDef
- MemberFeaturesConfigurationResultTypeDef
- MemberFeaturesConfigurationTypeDef
- NetworkInterfaceTypeDef
- VpcConfigTypeDef
- OrganizationFeatureConfigurationResultTypeDef
- OrganizationFeatureConfigurationTypeDef
- OrganizationScanEc2InstanceWithFindingsResultTypeDef
- OrganizationScanEc2InstanceWithFindingsTypeDef
- OrganizationFeatureStatisticsTypeDef
- OrganizationKubernetesConfigurationResultTypeDef
- OrganizationKubernetesConfigurationTypeDef
- RemoteIpDetailsTypeDef
- ScanConditionOutputTypeDef
- ScanConditionTypeDef
- ScanThreatNameTypeDef
- ScanTypeDef
- UsageAccountResultTypeDef
- UsageDataSourceResultTypeDef
- UsageFeatureResultTypeDef
- UsageResourceResultTypeDef
- UsageTopAccountResultTypeDef
- UpdateProtectedResourceTypeDef
- AnomalyUnusualTypeDef
- PermissionConfigurationTypeDef
- GetFilterResponseTypeDef
- FindingCriteriaTypeDef
- CoverageResourceDetailsTypeDef
- CoverageFilterCriteriaTypeDef
- CreateProtectedResourceTypeDef
- DataSourcesFreeTrialTypeDef
- MalwareProtectionConfigurationResultTypeDef
- FilterCriteriaTypeDef
- GetFindingsStatisticsResponseTypeDef
- EcsTaskDetailsTypeDef
- KubernetesWorkloadDetailsTypeDef
- MalwareScanDetailsTypeDef
- RuntimeContextTypeDef
- DataSourceConfigurationsTypeDef
- GetMalwareProtectionPlanResponseTypeDef
- InstanceDetailsTypeDef
- LambdaDetailsTypeDef
- OrganizationMalwareProtectionConfigurationResultTypeDef
- OrganizationMalwareProtectionConfigurationTypeDef
- OrganizationStatisticsTypeDef
- AwsApiCallActionTypeDef
- KubernetesApiCallActionTypeDef
- NetworkConnectionActionTypeDef
- PortProbeDetailTypeDef
- RdsLoginAttemptActionTypeDef
- ScanResourceCriteriaOutputTypeDef
- ScanConditionUnionTypeDef
- ThreatDetectedByNameTypeDef
- DescribeMalwareScansResponseTypeDef
- UsageTopAccountsResultTypeDef
- UpdateMalwareProtectionPlanRequestRequestTypeDef
- AnomalyTypeDef
- PublicAccessTypeDef
- CreateFilterRequestRequestTypeDef
- GetFindingsStatisticsRequestRequestTypeDef
- ListFindingsRequestListFindingsPaginateTypeDef
- ListFindingsRequestRequestTypeDef
- UpdateFilterRequestRequestTypeDef
- CoverageResourceTypeDef
- GetCoverageStatisticsRequestRequestTypeDef
- ListCoverageRequestListCoveragePaginateTypeDef
- ListCoverageRequestRequestTypeDef
- CreateMalwareProtectionPlanRequestRequestTypeDef
- AccountFreeTrialInfoTypeDef
- DataSourceConfigurationsResultTypeDef
- UnprocessedDataSourcesResultTypeDef
- DescribeMalwareScansRequestDescribeMalwareScansPaginateTypeDef
- DescribeMalwareScansRequestRequestTypeDef
- EcsClusterDetailsTypeDef
- KubernetesDetailsTypeDef
- RuntimeDetailsTypeDef
- CreateDetectorRequestRequestTypeDef
- UpdateDetectorRequestRequestTypeDef
- UpdateMemberDetectorsRequestRequestTypeDef
- OrganizationDataSourceConfigurationsResultTypeDef
- OrganizationDataSourceConfigurationsTypeDef
- OrganizationDetailsTypeDef
- PortProbeActionTypeDef
- GetMalwareScanSettingsResponseTypeDef
- ScanResourceCriteriaTypeDef
- ScanDetectionsTypeDef
- UsageStatisticsTypeDef
- DetectionTypeDef
- S3BucketDetailTypeDef
- ListCoverageResponseTypeDef
- GetRemainingFreeTrialDaysResponseTypeDef
- GetDetectorResponseTypeDef
- MemberDataSourceConfigurationTypeDef
- CreateDetectorResponseTypeDef
- DescribeOrganizationConfigurationResponseTypeDef
- UpdateOrganizationConfigurationRequestRequestTypeDef
- GetOrganizationStatisticsResponseTypeDef
- ActionTypeDef
- UpdateMalwareScanSettingsRequestRequestTypeDef
- EbsVolumeScanDetailsTypeDef
- GetUsageStatisticsResponseTypeDef
- ResourceTypeDef
- GetMemberDetectorsResponseTypeDef
- ServiceTypeDef
- FindingTypeDef
- GetFindingsResponseTypeDef