GuardDutyClient
Auto-generated documentation for GuardDuty type annotations stubs module mypy-boto3-guardduty.
GuardDutyClient
Type annotations and code completion for boto3.client("guardduty")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_guardduty.client import GuardDutyClient
def get_guardduty_client() -> GuardDutyClient:
return Session().client("guardduty")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("guardduty").exceptions
structure.
client = boto3.client("guardduty")
try:
do_something(client)
except (
client.BadRequestException,
client.ClientError,
client.InternalServerErrorException,
) as e:
print(e)
from mypy_boto3_guardduty.client import Exceptions
def handle_error(exc: Exceptions.BadRequestException) -> None:
...
Methods
accept_administrator_invitation
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
Type annotations and code completion for boto3.client("guardduty").accept_administrator_invitation
method.
boto3 documentation
def accept_administrator_invitation(
self,
*,
DetectorId: str,
AdministratorId: str,
InvitationId: str,
) -> Dict[str, Any]:
...
kwargs: AcceptAdministratorInvitationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AdministratorId": ...,
"InvitationId": ...,
}
parent.accept_administrator_invitation(**kwargs)
accept_invitation
Accepts the invitation to be monitored by a GuardDuty administrator account.
Type annotations and code completion for boto3.client("guardduty").accept_invitation
method.
boto3 documentation
def accept_invitation(
self,
*,
DetectorId: str,
MasterId: str,
InvitationId: str,
) -> Dict[str, Any]:
...
kwargs: AcceptInvitationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"MasterId": ...,
"InvitationId": ...,
}
parent.accept_invitation(**kwargs)
archive_findings
Archives GuardDuty findings that are specified by the list of finding IDs.
Type annotations and code completion for boto3.client("guardduty").archive_findings
method.
boto3 documentation
def archive_findings(
self,
*,
DetectorId: str,
FindingIds: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: ArchiveFindingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FindingIds": ...,
}
parent.archive_findings(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("guardduty").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("guardduty").close
method.
boto3 documentation
create_detector
Creates a single Amazon GuardDuty detector.
Type annotations and code completion for boto3.client("guardduty").create_detector
method.
boto3 documentation
def create_detector(
self,
*,
Enable: bool,
ClientToken: str = ...,
FindingPublishingFrequency: FindingPublishingFrequencyType = ..., # (1)
DataSources: DataSourceConfigurationsTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreateDetectorResponseTypeDef: # (3)
...
- See FindingPublishingFrequencyType
- See DataSourceConfigurationsTypeDef
- See CreateDetectorResponseTypeDef
kwargs: CreateDetectorRequestRequestTypeDef = { # (1)
"Enable": ...,
}
parent.create_detector(**kwargs)
create_filter
Creates a filter using the specified finding criteria.
Type annotations and code completion for boto3.client("guardduty").create_filter
method.
boto3 documentation
def create_filter(
self,
*,
DetectorId: str,
Name: str,
FindingCriteria: FindingCriteriaTypeDef, # (1)
Description: str = ...,
Action: FilterActionType = ..., # (2)
Rank: int = ...,
ClientToken: str = ...,
Tags: Mapping[str, str] = ...,
) -> CreateFilterResponseTypeDef: # (3)
...
kwargs: CreateFilterRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"Name": ...,
"FindingCriteria": ...,
}
parent.create_filter(**kwargs)
create_ip_set
Creates a new IPSet, which is called a trusted IP list in the console user interface.
Type annotations and code completion for boto3.client("guardduty").create_ip_set
method.
boto3 documentation
def create_ip_set(
self,
*,
DetectorId: str,
Name: str,
Format: IpSetFormatType, # (1)
Location: str,
Activate: bool,
ClientToken: str = ...,
Tags: Mapping[str, str] = ...,
) -> CreateIPSetResponseTypeDef: # (2)
...
kwargs: CreateIPSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"Name": ...,
"Format": ...,
"Location": ...,
"Activate": ...,
}
parent.create_ip_set(**kwargs)
create_members
Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs.
Type annotations and code completion for boto3.client("guardduty").create_members
method.
boto3 documentation
def create_members(
self,
*,
DetectorId: str,
AccountDetails: Sequence[AccountDetailTypeDef], # (1)
) -> CreateMembersResponseTypeDef: # (2)
...
kwargs: CreateMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountDetails": ...,
}
parent.create_members(**kwargs)
create_publishing_destination
Creates a publishing destination to export findings to.
Type annotations and code completion for boto3.client("guardduty").create_publishing_destination
method.
boto3 documentation
def create_publishing_destination(
self,
*,
DetectorId: str,
DestinationType: DestinationTypeType, # (1)
DestinationProperties: DestinationPropertiesTypeDef, # (2)
ClientToken: str = ...,
) -> CreatePublishingDestinationResponseTypeDef: # (3)
...
- See DestinationTypeType
- See DestinationPropertiesTypeDef
- See CreatePublishingDestinationResponseTypeDef
kwargs: CreatePublishingDestinationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"DestinationType": ...,
"DestinationProperties": ...,
}
parent.create_publishing_destination(**kwargs)
create_sample_findings
Generates sample findings of types specified by the list of finding types.
Type annotations and code completion for boto3.client("guardduty").create_sample_findings
method.
boto3 documentation
def create_sample_findings(
self,
*,
DetectorId: str,
FindingTypes: Sequence[str] = ...,
) -> Dict[str, Any]:
...
kwargs: CreateSampleFindingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.create_sample_findings(**kwargs)
create_threat_intel_set
Creates a new ThreatIntelSet.
Type annotations and code completion for boto3.client("guardduty").create_threat_intel_set
method.
boto3 documentation
def create_threat_intel_set(
self,
*,
DetectorId: str,
Name: str,
Format: ThreatIntelSetFormatType, # (1)
Location: str,
Activate: bool,
ClientToken: str = ...,
Tags: Mapping[str, str] = ...,
) -> CreateThreatIntelSetResponseTypeDef: # (2)
...
kwargs: CreateThreatIntelSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"Name": ...,
"Format": ...,
"Location": ...,
"Activate": ...,
}
parent.create_threat_intel_set(**kwargs)
decline_invitations
Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
Type annotations and code completion for boto3.client("guardduty").decline_invitations
method.
boto3 documentation
def decline_invitations(
self,
*,
AccountIds: Sequence[str],
) -> DeclineInvitationsResponseTypeDef: # (1)
...
kwargs: DeclineInvitationsRequestRequestTypeDef = { # (1)
"AccountIds": ...,
}
parent.decline_invitations(**kwargs)
delete_detector
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
Type annotations and code completion for boto3.client("guardduty").delete_detector
method.
boto3 documentation
kwargs: DeleteDetectorRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.delete_detector(**kwargs)
delete_filter
Deletes the filter specified by the filter name.
Type annotations and code completion for boto3.client("guardduty").delete_filter
method.
boto3 documentation
def delete_filter(
self,
*,
DetectorId: str,
FilterName: str,
) -> Dict[str, Any]:
...
kwargs: DeleteFilterRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FilterName": ...,
}
parent.delete_filter(**kwargs)
delete_invitations
Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
Type annotations and code completion for boto3.client("guardduty").delete_invitations
method.
boto3 documentation
def delete_invitations(
self,
*,
AccountIds: Sequence[str],
) -> DeleteInvitationsResponseTypeDef: # (1)
...
kwargs: DeleteInvitationsRequestRequestTypeDef = { # (1)
"AccountIds": ...,
}
parent.delete_invitations(**kwargs)
delete_ip_set
Deletes the IPSet specified by the ipSetId
.
Type annotations and code completion for boto3.client("guardduty").delete_ip_set
method.
boto3 documentation
def delete_ip_set(
self,
*,
DetectorId: str,
IpSetId: str,
) -> Dict[str, Any]:
...
kwargs: DeleteIPSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"IpSetId": ...,
}
parent.delete_ip_set(**kwargs)
delete_members
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
Type annotations and code completion for boto3.client("guardduty").delete_members
method.
boto3 documentation
def delete_members(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
) -> DeleteMembersResponseTypeDef: # (1)
...
kwargs: DeleteMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.delete_members(**kwargs)
delete_publishing_destination
Deletes the publishing definition with the specified destinationId
.
Type annotations and code completion for boto3.client("guardduty").delete_publishing_destination
method.
boto3 documentation
def delete_publishing_destination(
self,
*,
DetectorId: str,
DestinationId: str,
) -> Dict[str, Any]:
...
kwargs: DeletePublishingDestinationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"DestinationId": ...,
}
parent.delete_publishing_destination(**kwargs)
delete_threat_intel_set
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
Type annotations and code completion for boto3.client("guardduty").delete_threat_intel_set
method.
boto3 documentation
def delete_threat_intel_set(
self,
*,
DetectorId: str,
ThreatIntelSetId: str,
) -> Dict[str, Any]:
...
kwargs: DeleteThreatIntelSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"ThreatIntelSetId": ...,
}
parent.delete_threat_intel_set(**kwargs)
describe_malware_scans
Returns a list of malware scans.
Type annotations and code completion for boto3.client("guardduty").describe_malware_scans
method.
boto3 documentation
def describe_malware_scans(
self,
*,
DetectorId: str,
NextToken: str = ...,
MaxResults: int = ...,
FilterCriteria: FilterCriteriaTypeDef = ..., # (1)
SortCriteria: SortCriteriaTypeDef = ..., # (2)
) -> DescribeMalwareScansResponseTypeDef: # (3)
...
kwargs: DescribeMalwareScansRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.describe_malware_scans(**kwargs)
describe_organization_configuration
Returns information about the account selected as the delegated administrator for GuardDuty.
Type annotations and code completion for boto3.client("guardduty").describe_organization_configuration
method.
boto3 documentation
def describe_organization_configuration(
self,
*,
DetectorId: str,
) -> DescribeOrganizationConfigurationResponseTypeDef: # (1)
...
kwargs: DescribeOrganizationConfigurationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.describe_organization_configuration(**kwargs)
describe_publishing_destination
Returns information about the publishing destination specified by the provided
destinationId
.
Type annotations and code completion for boto3.client("guardduty").describe_publishing_destination
method.
boto3 documentation
def describe_publishing_destination(
self,
*,
DetectorId: str,
DestinationId: str,
) -> DescribePublishingDestinationResponseTypeDef: # (1)
...
kwargs: DescribePublishingDestinationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"DestinationId": ...,
}
parent.describe_publishing_destination(**kwargs)
disable_organization_admin_account
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
Type annotations and code completion for boto3.client("guardduty").disable_organization_admin_account
method.
boto3 documentation
def disable_organization_admin_account(
self,
*,
AdminAccountId: str,
) -> Dict[str, Any]:
...
kwargs: DisableOrganizationAdminAccountRequestRequestTypeDef = { # (1)
"AdminAccountId": ...,
}
parent.disable_organization_admin_account(**kwargs)
disassociate_from_administrator_account
Disassociates the current GuardDuty member account from its administrator account.
Type annotations and code completion for boto3.client("guardduty").disassociate_from_administrator_account
method.
boto3 documentation
def disassociate_from_administrator_account(
self,
*,
DetectorId: str,
) -> Dict[str, Any]:
...
kwargs: DisassociateFromAdministratorAccountRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.disassociate_from_administrator_account(**kwargs)
disassociate_from_master_account
Disassociates the current GuardDuty member account from its administrator account.
Type annotations and code completion for boto3.client("guardduty").disassociate_from_master_account
method.
boto3 documentation
def disassociate_from_master_account(
self,
*,
DetectorId: str,
) -> Dict[str, Any]:
...
kwargs: DisassociateFromMasterAccountRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.disassociate_from_master_account(**kwargs)
disassociate_members
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
Type annotations and code completion for boto3.client("guardduty").disassociate_members
method.
boto3 documentation
def disassociate_members(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
) -> DisassociateMembersResponseTypeDef: # (1)
...
kwargs: DisassociateMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.disassociate_members(**kwargs)
enable_organization_admin_account
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
Type annotations and code completion for boto3.client("guardduty").enable_organization_admin_account
method.
boto3 documentation
def enable_organization_admin_account(
self,
*,
AdminAccountId: str,
) -> Dict[str, Any]:
...
kwargs: EnableOrganizationAdminAccountRequestRequestTypeDef = { # (1)
"AdminAccountId": ...,
}
parent.enable_organization_admin_account(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("guardduty").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_administrator_account
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
Type annotations and code completion for boto3.client("guardduty").get_administrator_account
method.
boto3 documentation
def get_administrator_account(
self,
*,
DetectorId: str,
) -> GetAdministratorAccountResponseTypeDef: # (1)
...
kwargs: GetAdministratorAccountRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.get_administrator_account(**kwargs)
get_detector
Retrieves an Amazon GuardDuty detector specified by the detectorId.
Type annotations and code completion for boto3.client("guardduty").get_detector
method.
boto3 documentation
def get_detector(
self,
*,
DetectorId: str,
) -> GetDetectorResponseTypeDef: # (1)
...
kwargs: GetDetectorRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.get_detector(**kwargs)
get_filter
Returns the details of the filter specified by the filter name.
Type annotations and code completion for boto3.client("guardduty").get_filter
method.
boto3 documentation
def get_filter(
self,
*,
DetectorId: str,
FilterName: str,
) -> GetFilterResponseTypeDef: # (1)
...
kwargs: GetFilterRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FilterName": ...,
}
parent.get_filter(**kwargs)
get_findings
Describes Amazon GuardDuty findings specified by finding IDs.
Type annotations and code completion for boto3.client("guardduty").get_findings
method.
boto3 documentation
def get_findings(
self,
*,
DetectorId: str,
FindingIds: Sequence[str],
SortCriteria: SortCriteriaTypeDef = ..., # (1)
) -> GetFindingsResponseTypeDef: # (2)
...
kwargs: GetFindingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FindingIds": ...,
}
parent.get_findings(**kwargs)
get_findings_statistics
Lists Amazon GuardDuty findings statistics for the specified detector ID.
Type annotations and code completion for boto3.client("guardduty").get_findings_statistics
method.
boto3 documentation
def get_findings_statistics(
self,
*,
DetectorId: str,
FindingStatisticTypes: Sequence[FindingStatisticTypeType], # (1)
FindingCriteria: FindingCriteriaTypeDef = ..., # (2)
) -> GetFindingsStatisticsResponseTypeDef: # (3)
...
kwargs: GetFindingsStatisticsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FindingStatisticTypes": ...,
}
parent.get_findings_statistics(**kwargs)
get_invitations_count
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
Type annotations and code completion for boto3.client("guardduty").get_invitations_count
method.
boto3 documentation
def get_invitations_count(
self,
) -> GetInvitationsCountResponseTypeDef: # (1)
...
get_ip_set
Retrieves the IPSet specified by the ipSetId
.
Type annotations and code completion for boto3.client("guardduty").get_ip_set
method.
boto3 documentation
def get_ip_set(
self,
*,
DetectorId: str,
IpSetId: str,
) -> GetIPSetResponseTypeDef: # (1)
...
kwargs: GetIPSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"IpSetId": ...,
}
parent.get_ip_set(**kwargs)
get_malware_scan_settings
Returns the details of the malware scan settings.
Type annotations and code completion for boto3.client("guardduty").get_malware_scan_settings
method.
boto3 documentation
def get_malware_scan_settings(
self,
*,
DetectorId: str,
) -> GetMalwareScanSettingsResponseTypeDef: # (1)
...
kwargs: GetMalwareScanSettingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.get_malware_scan_settings(**kwargs)
get_master_account
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
Type annotations and code completion for boto3.client("guardduty").get_master_account
method.
boto3 documentation
def get_master_account(
self,
*,
DetectorId: str,
) -> GetMasterAccountResponseTypeDef: # (1)
...
kwargs: GetMasterAccountRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.get_master_account(**kwargs)
get_member_detectors
Describes which data sources are enabled for the member account's detector.
Type annotations and code completion for boto3.client("guardduty").get_member_detectors
method.
boto3 documentation
def get_member_detectors(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
) -> GetMemberDetectorsResponseTypeDef: # (1)
...
kwargs: GetMemberDetectorsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.get_member_detectors(**kwargs)
get_members
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
Type annotations and code completion for boto3.client("guardduty").get_members
method.
boto3 documentation
def get_members(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
) -> GetMembersResponseTypeDef: # (1)
...
kwargs: GetMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.get_members(**kwargs)
get_remaining_free_trial_days
Provides the number of days left for each data source used in the free trial period.
Type annotations and code completion for boto3.client("guardduty").get_remaining_free_trial_days
method.
boto3 documentation
def get_remaining_free_trial_days(
self,
*,
DetectorId: str,
AccountIds: Sequence[str] = ...,
) -> GetRemainingFreeTrialDaysResponseTypeDef: # (1)
...
kwargs: GetRemainingFreeTrialDaysRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.get_remaining_free_trial_days(**kwargs)
get_threat_intel_set
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
Type annotations and code completion for boto3.client("guardduty").get_threat_intel_set
method.
boto3 documentation
def get_threat_intel_set(
self,
*,
DetectorId: str,
ThreatIntelSetId: str,
) -> GetThreatIntelSetResponseTypeDef: # (1)
...
kwargs: GetThreatIntelSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"ThreatIntelSetId": ...,
}
parent.get_threat_intel_set(**kwargs)
get_usage_statistics
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
Type annotations and code completion for boto3.client("guardduty").get_usage_statistics
method.
boto3 documentation
def get_usage_statistics(
self,
*,
DetectorId: str,
UsageStatisticType: UsageStatisticTypeType, # (1)
UsageCriteria: UsageCriteriaTypeDef, # (2)
Unit: str = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> GetUsageStatisticsResponseTypeDef: # (3)
...
kwargs: GetUsageStatisticsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"UsageStatisticType": ...,
"UsageCriteria": ...,
}
parent.get_usage_statistics(**kwargs)
invite_members
Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.
Type annotations and code completion for boto3.client("guardduty").invite_members
method.
boto3 documentation
def invite_members(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
DisableEmailNotification: bool = ...,
Message: str = ...,
) -> InviteMembersResponseTypeDef: # (1)
...
kwargs: InviteMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.invite_members(**kwargs)
list_detectors
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
Type annotations and code completion for boto3.client("guardduty").list_detectors
method.
boto3 documentation
def list_detectors(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListDetectorsResponseTypeDef: # (1)
...
kwargs: ListDetectorsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_detectors(**kwargs)
list_filters
Returns a paginated list of the current filters.
Type annotations and code completion for boto3.client("guardduty").list_filters
method.
boto3 documentation
def list_filters(
self,
*,
DetectorId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListFiltersResponseTypeDef: # (1)
...
kwargs: ListFiltersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.list_filters(**kwargs)
list_findings
Lists Amazon GuardDuty findings for the specified detector ID.
Type annotations and code completion for boto3.client("guardduty").list_findings
method.
boto3 documentation
def list_findings(
self,
*,
DetectorId: str,
FindingCriteria: FindingCriteriaTypeDef = ..., # (1)
SortCriteria: SortCriteriaTypeDef = ..., # (2)
MaxResults: int = ...,
NextToken: str = ...,
) -> ListFindingsResponseTypeDef: # (3)
...
kwargs: ListFindingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.list_findings(**kwargs)
list_invitations
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
Type annotations and code completion for boto3.client("guardduty").list_invitations
method.
boto3 documentation
def list_invitations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListInvitationsResponseTypeDef: # (1)
...
kwargs: ListInvitationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_invitations(**kwargs)
list_ip_sets
Lists the IPSets of the GuardDuty service specified by the detector ID.
Type annotations and code completion for boto3.client("guardduty").list_ip_sets
method.
boto3 documentation
def list_ip_sets(
self,
*,
DetectorId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListIPSetsResponseTypeDef: # (1)
...
kwargs: ListIPSetsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.list_ip_sets(**kwargs)
list_members
Lists details about all member accounts for the current GuardDuty administrator account.
Type annotations and code completion for boto3.client("guardduty").list_members
method.
boto3 documentation
def list_members(
self,
*,
DetectorId: str,
MaxResults: int = ...,
NextToken: str = ...,
OnlyAssociated: str = ...,
) -> ListMembersResponseTypeDef: # (1)
...
kwargs: ListMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.list_members(**kwargs)
list_organization_admin_accounts
Lists the accounts configured as GuardDuty delegated administrators.
Type annotations and code completion for boto3.client("guardduty").list_organization_admin_accounts
method.
boto3 documentation
def list_organization_admin_accounts(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListOrganizationAdminAccountsResponseTypeDef: # (1)
...
kwargs: ListOrganizationAdminAccountsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_organization_admin_accounts(**kwargs)
list_publishing_destinations
Returns a list of publishing destinations associated with the specified
detectorId
.
Type annotations and code completion for boto3.client("guardduty").list_publishing_destinations
method.
boto3 documentation
def list_publishing_destinations(
self,
*,
DetectorId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListPublishingDestinationsResponseTypeDef: # (1)
...
kwargs: ListPublishingDestinationsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.list_publishing_destinations(**kwargs)
list_tags_for_resource
Lists tags for a resource.
Type annotations and code completion for boto3.client("guardduty").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_threat_intel_sets
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
Type annotations and code completion for boto3.client("guardduty").list_threat_intel_sets
method.
boto3 documentation
def list_threat_intel_sets(
self,
*,
DetectorId: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListThreatIntelSetsResponseTypeDef: # (1)
...
kwargs: ListThreatIntelSetsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.list_threat_intel_sets(**kwargs)
start_monitoring_members
Turns on GuardDuty monitoring of the specified member accounts.
Type annotations and code completion for boto3.client("guardduty").start_monitoring_members
method.
boto3 documentation
def start_monitoring_members(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
) -> StartMonitoringMembersResponseTypeDef: # (1)
...
kwargs: StartMonitoringMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.start_monitoring_members(**kwargs)
stop_monitoring_members
Stops GuardDuty monitoring for the specified member accounts.
Type annotations and code completion for boto3.client("guardduty").stop_monitoring_members
method.
boto3 documentation
def stop_monitoring_members(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
) -> StopMonitoringMembersResponseTypeDef: # (1)
...
kwargs: StopMonitoringMembersRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.stop_monitoring_members(**kwargs)
tag_resource
Adds tags to a resource.
Type annotations and code completion for boto3.client("guardduty").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str],
) -> Dict[str, Any]:
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
unarchive_findings
Unarchives GuardDuty findings specified by the findingIds
.
Type annotations and code completion for boto3.client("guardduty").unarchive_findings
method.
boto3 documentation
def unarchive_findings(
self,
*,
DetectorId: str,
FindingIds: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UnarchiveFindingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FindingIds": ...,
}
parent.unarchive_findings(**kwargs)
untag_resource
Removes tags from a resource.
Type annotations and code completion for boto3.client("guardduty").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_detector
Updates the Amazon GuardDuty detector specified by the detectorId.
Type annotations and code completion for boto3.client("guardduty").update_detector
method.
boto3 documentation
def update_detector(
self,
*,
DetectorId: str,
Enable: bool = ...,
FindingPublishingFrequency: FindingPublishingFrequencyType = ..., # (1)
DataSources: DataSourceConfigurationsTypeDef = ..., # (2)
) -> Dict[str, Any]:
...
kwargs: UpdateDetectorRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.update_detector(**kwargs)
update_filter
Updates the filter specified by the filter name.
Type annotations and code completion for boto3.client("guardduty").update_filter
method.
boto3 documentation
def update_filter(
self,
*,
DetectorId: str,
FilterName: str,
Description: str = ...,
Action: FilterActionType = ..., # (1)
Rank: int = ...,
FindingCriteria: FindingCriteriaTypeDef = ..., # (2)
) -> UpdateFilterResponseTypeDef: # (3)
...
kwargs: UpdateFilterRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FilterName": ...,
}
parent.update_filter(**kwargs)
update_findings_feedback
Marks the specified GuardDuty findings as useful or not useful.
Type annotations and code completion for boto3.client("guardduty").update_findings_feedback
method.
boto3 documentation
def update_findings_feedback(
self,
*,
DetectorId: str,
FindingIds: Sequence[str],
Feedback: FeedbackType, # (1)
Comments: str = ...,
) -> Dict[str, Any]:
...
- See FeedbackType
kwargs: UpdateFindingsFeedbackRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"FindingIds": ...,
"Feedback": ...,
}
parent.update_findings_feedback(**kwargs)
update_ip_set
Updates the IPSet specified by the IPSet ID.
Type annotations and code completion for boto3.client("guardduty").update_ip_set
method.
boto3 documentation
def update_ip_set(
self,
*,
DetectorId: str,
IpSetId: str,
Name: str = ...,
Location: str = ...,
Activate: bool = ...,
) -> Dict[str, Any]:
...
kwargs: UpdateIPSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"IpSetId": ...,
}
parent.update_ip_set(**kwargs)
update_malware_scan_settings
Updates the malware scan settings.
Type annotations and code completion for boto3.client("guardduty").update_malware_scan_settings
method.
boto3 documentation
def update_malware_scan_settings(
self,
*,
DetectorId: str,
ScanResourceCriteria: ScanResourceCriteriaTypeDef = ..., # (1)
EbsSnapshotPreservation: EbsSnapshotPreservationType = ..., # (2)
) -> Dict[str, Any]:
...
kwargs: UpdateMalwareScanSettingsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
}
parent.update_malware_scan_settings(**kwargs)
update_member_detectors
Contains information on member accounts to be updated.
Type annotations and code completion for boto3.client("guardduty").update_member_detectors
method.
boto3 documentation
def update_member_detectors(
self,
*,
DetectorId: str,
AccountIds: Sequence[str],
DataSources: DataSourceConfigurationsTypeDef = ..., # (1)
) -> UpdateMemberDetectorsResponseTypeDef: # (2)
...
kwargs: UpdateMemberDetectorsRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AccountIds": ...,
}
parent.update_member_detectors(**kwargs)
update_organization_configuration
Updates the delegated administrator account with the values provided.
Type annotations and code completion for boto3.client("guardduty").update_organization_configuration
method.
boto3 documentation
def update_organization_configuration(
self,
*,
DetectorId: str,
AutoEnable: bool,
DataSources: OrganizationDataSourceConfigurationsTypeDef = ..., # (1)
) -> Dict[str, Any]:
...
kwargs: UpdateOrganizationConfigurationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"AutoEnable": ...,
}
parent.update_organization_configuration(**kwargs)
update_publishing_destination
Updates information about the publishing destination specified by the
destinationId
.
Type annotations and code completion for boto3.client("guardduty").update_publishing_destination
method.
boto3 documentation
def update_publishing_destination(
self,
*,
DetectorId: str,
DestinationId: str,
DestinationProperties: DestinationPropertiesTypeDef = ..., # (1)
) -> Dict[str, Any]:
...
kwargs: UpdatePublishingDestinationRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"DestinationId": ...,
}
parent.update_publishing_destination(**kwargs)
update_threat_intel_set
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
Type annotations and code completion for boto3.client("guardduty").update_threat_intel_set
method.
boto3 documentation
def update_threat_intel_set(
self,
*,
DetectorId: str,
ThreatIntelSetId: str,
Name: str = ...,
Location: str = ...,
Activate: bool = ...,
) -> Dict[str, Any]:
...
kwargs: UpdateThreatIntelSetRequestRequestTypeDef = { # (1)
"DetectorId": ...,
"ThreatIntelSetId": ...,
}
parent.update_threat_intel_set(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("guardduty").get_paginator
method with overloads.
client.get_paginator("describe_malware_scans")
-> DescribeMalwareScansPaginatorclient.get_paginator("list_detectors")
-> ListDetectorsPaginatorclient.get_paginator("list_filters")
-> ListFiltersPaginatorclient.get_paginator("list_findings")
-> ListFindingsPaginatorclient.get_paginator("list_ip_sets")
-> ListIPSetsPaginatorclient.get_paginator("list_invitations")
-> ListInvitationsPaginatorclient.get_paginator("list_members")
-> ListMembersPaginatorclient.get_paginator("list_organization_admin_accounts")
-> ListOrganizationAdminAccountsPaginatorclient.get_paginator("list_threat_intel_sets")
-> ListThreatIntelSetsPaginator