@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonGuardDutyClient extends AmazonWebServiceClient implements AmazonGuardDuty
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to identify unexpected, potentially unauthorized, and malicious activity within your AWS environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect compromised EC2 instances that serve malware or mine bitcoin.
GuardDuty also monitors AWS account access behavior for signs of compromise. Some examples of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region that has never been used, or unusual API calls like a password policy change to reduce password strength.
GuardDuty informs you of the status of your AWS environment by producing security findings that you can view in the GuardDuty console or through Amazon CloudWatch events. For more information, see the Amazon GuardDuty User Guide .
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AcceptInvitationResult |
acceptInvitation(AcceptInvitationRequest request)
Accepts the invitation to be monitored by a GuardDuty administrator account.
|
ArchiveFindingsResult |
archiveFindings(ArchiveFindingsRequest request)
Archives GuardDuty findings that are specified by the list of finding IDs.
|
static AmazonGuardDutyClientBuilder |
builder() |
CreateDetectorResult |
createDetector(CreateDetectorRequest request)
Creates a single Amazon GuardDuty detector.
|
CreateFilterResult |
createFilter(CreateFilterRequest request)
Creates a filter using the specified finding criteria.
|
CreateIPSetResult |
createIPSet(CreateIPSetRequest request)
Creates a new IPSet, which is called a trusted IP list in the console user interface.
|
CreateMembersResult |
createMembers(CreateMembersRequest request)
Creates member accounts of the current AWS account by specifying a list of AWS account IDs.
|
CreatePublishingDestinationResult |
createPublishingDestination(CreatePublishingDestinationRequest request)
Creates a publishing destination to export findings to.
|
CreateSampleFindingsResult |
createSampleFindings(CreateSampleFindingsRequest request)
Generates example findings of types specified by the list of finding types.
|
CreateThreatIntelSetResult |
createThreatIntelSet(CreateThreatIntelSetRequest request)
Creates a new ThreatIntelSet.
|
DeclineInvitationsResult |
declineInvitations(DeclineInvitationsRequest request)
Declines invitations sent to the current member account by AWS accounts specified by their account IDs.
|
DeleteDetectorResult |
deleteDetector(DeleteDetectorRequest request)
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
|
DeleteFilterResult |
deleteFilter(DeleteFilterRequest request)
Deletes the filter specified by the filter name.
|
DeleteInvitationsResult |
deleteInvitations(DeleteInvitationsRequest request)
Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
|
DeleteIPSetResult |
deleteIPSet(DeleteIPSetRequest request)
Deletes the IPSet specified by the
ipSetId . |
DeleteMembersResult |
deleteMembers(DeleteMembersRequest request)
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
DeletePublishingDestinationResult |
deletePublishingDestination(DeletePublishingDestinationRequest request)
Deletes the publishing definition with the specified
destinationId . |
DeleteThreatIntelSetResult |
deleteThreatIntelSet(DeleteThreatIntelSetRequest request)
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
|
DescribeOrganizationConfigurationResult |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
Returns information about the account selected as the delegated administrator for GuardDuty.
|
DescribePublishingDestinationResult |
describePublishingDestination(DescribePublishingDestinationRequest request)
Returns information about the publishing destination specified by the provided
destinationId . |
DisableOrganizationAdminAccountResult |
disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request)
Disables an AWS account within the Organization as the GuardDuty delegated administrator.
|
DisassociateFromMasterAccountResult |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest request)
Disassociates the current GuardDuty member account from its administrator account.
|
DisassociateMembersResult |
disassociateMembers(DisassociateMembersRequest request)
Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account
IDs.
|
EnableOrganizationAdminAccountResult |
enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request)
Enables an AWS account within the organization as the GuardDuty delegated administrator.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDetectorResult |
getDetector(GetDetectorRequest request)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
GetFilterResult |
getFilter(GetFilterRequest request)
Returns the details of the filter specified by the filter name.
|
GetFindingsResult |
getFindings(GetFindingsRequest request)
Describes Amazon GuardDuty findings specified by finding IDs.
|
GetFindingsStatisticsResult |
getFindingsStatistics(GetFindingsStatisticsRequest request)
Lists Amazon GuardDuty findings statistics for the specified detector ID.
|
GetInvitationsCountResult |
getInvitationsCount(GetInvitationsCountRequest request)
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the
currently accepted invitation.
|
GetIPSetResult |
getIPSet(GetIPSetRequest request)
Retrieves the IPSet specified by the
ipSetId . |
GetMasterAccountResult |
getMasterAccount(GetMasterAccountRequest request)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member
account.
|
GetMemberDetectorsResult |
getMemberDetectors(GetMemberDetectorsRequest request)
Describes which data sources are enabled for the member account's detector.
|
GetMembersResult |
getMembers(GetMembersRequest request)
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account
IDs.
|
GetThreatIntelSetResult |
getThreatIntelSet(GetThreatIntelSetRequest request)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
|
GetUsageStatisticsResult |
getUsageStatistics(GetUsageStatisticsRequest request)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
InviteMembersResult |
inviteMembers(InviteMembersRequest request)
Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty,
and allow the current AWS account to view and manage these accounts' findings on their behalf as the GuardDuty
administrator account.
|
ListDetectorsResult |
listDetectors(ListDetectorsRequest request)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
ListFiltersResult |
listFilters(ListFiltersRequest request)
Returns a paginated list of the current filters.
|
ListFindingsResult |
listFindings(ListFindingsRequest request)
Lists Amazon GuardDuty findings for the specified detector ID.
|
ListInvitationsResult |
listInvitations(ListInvitationsRequest request)
Lists all GuardDuty membership invitations that were sent to the current AWS account.
|
ListIPSetsResult |
listIPSets(ListIPSetsRequest request)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
ListMembersResult |
listMembers(ListMembersRequest request)
Lists details about all member accounts for the current GuardDuty administrator account.
|
ListOrganizationAdminAccountsResult |
listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request)
Lists the accounts configured as GuardDuty delegated administrators.
|
ListPublishingDestinationsResult |
listPublishingDestinations(ListPublishingDestinationsRequest request)
Returns a list of publishing destinations associated with the specified
dectectorId . |
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists tags for a resource.
|
ListThreatIntelSetsResult |
listThreatIntelSets(ListThreatIntelSetsRequest request)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartMonitoringMembersResult |
startMonitoringMembers(StartMonitoringMembersRequest request)
Turns on GuardDuty monitoring of the specified member accounts.
|
StopMonitoringMembersResult |
stopMonitoringMembers(StopMonitoringMembersRequest request)
Stops GuardDuty monitoring for the specified member accounts.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds tags to a resource.
|
UnarchiveFindingsResult |
unarchiveFindings(UnarchiveFindingsRequest request)
Unarchives GuardDuty findings specified by the
findingIds . |
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from a resource.
|
UpdateDetectorResult |
updateDetector(UpdateDetectorRequest request)
Updates the Amazon GuardDuty detector specified by the detectorId.
|
UpdateFilterResult |
updateFilter(UpdateFilterRequest request)
Updates the filter specified by the filter name.
|
UpdateFindingsFeedbackResult |
updateFindingsFeedback(UpdateFindingsFeedbackRequest request)
Marks the specified GuardDuty findings as useful or not useful.
|
UpdateIPSetResult |
updateIPSet(UpdateIPSetRequest request)
Updates the IPSet specified by the IPSet ID.
|
UpdateMemberDetectorsResult |
updateMemberDetectors(UpdateMemberDetectorsRequest request)
Contains information on member accounts to be updated.
|
UpdateOrganizationConfigurationResult |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
Updates the delegated administrator account with the values provided.
|
UpdatePublishingDestinationResult |
updatePublishingDestination(UpdatePublishingDestinationRequest request)
Updates information about the publishing destination specified by the
destinationId . |
UpdateThreatIntelSetResult |
updateThreatIntelSet(UpdateThreatIntelSetRequest request)
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonGuardDutyClientBuilder builder()
public AcceptInvitationResult acceptInvitation(AcceptInvitationRequest request)
Accepts the invitation to be monitored by a GuardDuty administrator account.
acceptInvitation
in interface AmazonGuardDuty
acceptInvitationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ArchiveFindingsResult archiveFindings(ArchiveFindingsRequest request)
Archives GuardDuty findings that are specified by the list of finding IDs.
Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.
archiveFindings
in interface AmazonGuardDuty
archiveFindingsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreateDetectorResult createDetector(CreateDetectorRequest request)
Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.
createDetector
in interface AmazonGuardDuty
createDetectorRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreateFilterResult createFilter(CreateFilterRequest request)
Creates a filter using the specified finding criteria.
createFilter
in interface AmazonGuardDuty
createFilterRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreateIPSetResult createIPSet(CreateIPSetRequest request)
Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with AWS infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.
createIPSet
in interface AmazonGuardDuty
createIPSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreateMembersResult createMembers(CreateMembersRequest request)
Creates member accounts of the current AWS account by specifying a list of AWS account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.
When using Create Members
as an organizations delegated administrator this action will enable
GuardDuty in the added member accounts, with the exception of the organization delegated administrator account,
which must enable GuardDuty prior to being added as a member.
If you are adding accounts by invitation use this action after GuardDuty has been enabled in potential member
accounts and before using
Invite Members
.
createMembers
in interface AmazonGuardDuty
createMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreatePublishingDestinationResult createPublishingDestination(CreatePublishingDestinationRequest request)
Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.
createPublishingDestination
in interface AmazonGuardDuty
createPublishingDestinationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreateSampleFindingsResult createSampleFindings(CreateSampleFindingsRequest request)
Generates example findings of types specified by the list of finding types. If 'NULL' is specified for
findingTypes
, the API generates example findings of all supported finding types.
createSampleFindings
in interface AmazonGuardDuty
createSampleFindingsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public CreateThreatIntelSetResult createThreatIntelSet(CreateThreatIntelSetRequest request)
Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.
createThreatIntelSet
in interface AmazonGuardDuty
createThreatIntelSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeclineInvitationsResult declineInvitations(DeclineInvitationsRequest request)
Declines invitations sent to the current member account by AWS accounts specified by their account IDs.
declineInvitations
in interface AmazonGuardDuty
declineInvitationsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeleteDetectorResult deleteDetector(DeleteDetectorRequest request)
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
deleteDetector
in interface AmazonGuardDuty
deleteDetectorRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeleteFilterResult deleteFilter(DeleteFilterRequest request)
Deletes the filter specified by the filter name.
deleteFilter
in interface AmazonGuardDuty
deleteFilterRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeleteIPSetResult deleteIPSet(DeleteIPSetRequest request)
Deletes the IPSet specified by the ipSetId
. IPSets are called trusted IP lists in the console user
interface.
deleteIPSet
in interface AmazonGuardDuty
deleteIPSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeleteInvitationsResult deleteInvitations(DeleteInvitationsRequest request)
Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
deleteInvitations
in interface AmazonGuardDuty
deleteInvitationsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeleteMembersResult deleteMembers(DeleteMembersRequest request)
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
deleteMembers
in interface AmazonGuardDuty
deleteMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeletePublishingDestinationResult deletePublishingDestination(DeletePublishingDestinationRequest request)
Deletes the publishing definition with the specified destinationId
.
deletePublishingDestination
in interface AmazonGuardDuty
deletePublishingDestinationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DeleteThreatIntelSetResult deleteThreatIntelSet(DeleteThreatIntelSetRequest request)
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
deleteThreatIntelSet
in interface AmazonGuardDuty
deleteThreatIntelSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DescribeOrganizationConfigurationResult describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
Returns information about the account selected as the delegated administrator for GuardDuty.
describeOrganizationConfiguration
in interface AmazonGuardDuty
describeOrganizationConfigurationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DescribePublishingDestinationResult describePublishingDestination(DescribePublishingDestinationRequest request)
Returns information about the publishing destination specified by the provided destinationId
.
describePublishingDestination
in interface AmazonGuardDuty
describePublishingDestinationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DisableOrganizationAdminAccountResult disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request)
Disables an AWS account within the Organization as the GuardDuty delegated administrator.
disableOrganizationAdminAccount
in interface AmazonGuardDuty
disableOrganizationAdminAccountRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DisassociateFromMasterAccountResult disassociateFromMasterAccount(DisassociateFromMasterAccountRequest request)
Disassociates the current GuardDuty member account from its administrator account.
disassociateFromMasterAccount
in interface AmazonGuardDuty
disassociateFromMasterAccountRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public DisassociateMembersResult disassociateMembers(DisassociateMembersRequest request)
Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
disassociateMembers
in interface AmazonGuardDuty
disassociateMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public EnableOrganizationAdminAccountResult enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request)
Enables an AWS account within the organization as the GuardDuty delegated administrator.
enableOrganizationAdminAccount
in interface AmazonGuardDuty
enableOrganizationAdminAccountRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetDetectorResult getDetector(GetDetectorRequest request)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
getDetector
in interface AmazonGuardDuty
getDetectorRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetFilterResult getFilter(GetFilterRequest request)
Returns the details of the filter specified by the filter name.
getFilter
in interface AmazonGuardDuty
getFilterRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetFindingsResult getFindings(GetFindingsRequest request)
Describes Amazon GuardDuty findings specified by finding IDs.
getFindings
in interface AmazonGuardDuty
getFindingsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetFindingsStatisticsResult getFindingsStatistics(GetFindingsStatisticsRequest request)
Lists Amazon GuardDuty findings statistics for the specified detector ID.
getFindingsStatistics
in interface AmazonGuardDuty
getFindingsStatisticsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetIPSetResult getIPSet(GetIPSetRequest request)
Retrieves the IPSet specified by the ipSetId
.
getIPSet
in interface AmazonGuardDuty
getIPSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetInvitationsCountResult getInvitationsCount(GetInvitationsCountRequest request)
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
getInvitationsCount
in interface AmazonGuardDuty
getInvitationsCountRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetMasterAccountResult getMasterAccount(GetMasterAccountRequest request)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
getMasterAccount
in interface AmazonGuardDuty
getMasterAccountRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetMemberDetectorsResult getMemberDetectors(GetMemberDetectorsRequest request)
Describes which data sources are enabled for the member account's detector.
getMemberDetectors
in interface AmazonGuardDuty
getMemberDetectorsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetMembersResult getMembers(GetMembersRequest request)
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
getMembers
in interface AmazonGuardDuty
getMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetThreatIntelSetResult getThreatIntelSet(GetThreatIntelSetRequest request)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
getThreatIntelSet
in interface AmazonGuardDuty
getThreatIntelSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public GetUsageStatisticsResult getUsageStatistics(GetUsageStatisticsRequest request)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources the cost returned will include only the usage so far under 30 days, this may differ from the cost metrics in the console, which projects usage over 30 days to provide a monthly cost estimate. For more information see Understanding How Usage Costs are Calculated.
getUsageStatistics
in interface AmazonGuardDuty
getUsageStatisticsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public InviteMembersResult inviteMembers(InviteMembersRequest request)
Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.
inviteMembers
in interface AmazonGuardDuty
inviteMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListDetectorsResult listDetectors(ListDetectorsRequest request)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
listDetectors
in interface AmazonGuardDuty
listDetectorsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListFiltersResult listFilters(ListFiltersRequest request)
Returns a paginated list of the current filters.
listFilters
in interface AmazonGuardDuty
listFiltersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListFindingsResult listFindings(ListFindingsRequest request)
Lists Amazon GuardDuty findings for the specified detector ID.
listFindings
in interface AmazonGuardDuty
listFindingsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListIPSetsResult listIPSets(ListIPSetsRequest request)
Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.
listIPSets
in interface AmazonGuardDuty
listIPSetsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListInvitationsResult listInvitations(ListInvitationsRequest request)
Lists all GuardDuty membership invitations that were sent to the current AWS account.
listInvitations
in interface AmazonGuardDuty
listInvitationsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListMembersResult listMembers(ListMembersRequest request)
Lists details about all member accounts for the current GuardDuty administrator account.
listMembers
in interface AmazonGuardDuty
listMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListOrganizationAdminAccountsResult listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request)
Lists the accounts configured as GuardDuty delegated administrators.
listOrganizationAdminAccounts
in interface AmazonGuardDuty
listOrganizationAdminAccountsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListPublishingDestinationsResult listPublishingDestinations(ListPublishingDestinationsRequest request)
Returns a list of publishing destinations associated with the specified dectectorId
.
listPublishingDestinations
in interface AmazonGuardDuty
listPublishingDestinationsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and threat intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
listTagsForResource
in interface AmazonGuardDuty
listTagsForResourceRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ListThreatIntelSetsResult listThreatIntelSets(ListThreatIntelSetsRequest request)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the administrator account are returned.
listThreatIntelSets
in interface AmazonGuardDuty
listThreatIntelSetsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public StartMonitoringMembersResult startMonitoringMembers(StartMonitoringMembersRequest request)
Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of
accounts that you stopped monitoring with the StopMonitoringMembers
operation.
startMonitoringMembers
in interface AmazonGuardDuty
startMonitoringMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public StopMonitoringMembersResult stopMonitoringMembers(StopMonitoringMembersRequest request)
Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers
operation to restart monitoring for those accounts.
stopMonitoringMembers
in interface AmazonGuardDuty
stopMonitoringMembersRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public TagResourceResult tagResource(TagResourceRequest request)
Adds tags to a resource.
tagResource
in interface AmazonGuardDuty
tagResourceRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UnarchiveFindingsResult unarchiveFindings(UnarchiveFindingsRequest request)
Unarchives GuardDuty findings specified by the findingIds
.
unarchiveFindings
in interface AmazonGuardDuty
unarchiveFindingsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a resource.
untagResource
in interface AmazonGuardDuty
untagResourceRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateDetectorResult updateDetector(UpdateDetectorRequest request)
Updates the Amazon GuardDuty detector specified by the detectorId.
updateDetector
in interface AmazonGuardDuty
updateDetectorRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateFilterResult updateFilter(UpdateFilterRequest request)
Updates the filter specified by the filter name.
updateFilter
in interface AmazonGuardDuty
updateFilterRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateFindingsFeedbackResult updateFindingsFeedback(UpdateFindingsFeedbackRequest request)
Marks the specified GuardDuty findings as useful or not useful.
updateFindingsFeedback
in interface AmazonGuardDuty
updateFindingsFeedbackRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateIPSetResult updateIPSet(UpdateIPSetRequest request)
Updates the IPSet specified by the IPSet ID.
updateIPSet
in interface AmazonGuardDuty
updateIPSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateMemberDetectorsResult updateMemberDetectors(UpdateMemberDetectorsRequest request)
Contains information on member accounts to be updated.
updateMemberDetectors
in interface AmazonGuardDuty
updateMemberDetectorsRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateOrganizationConfigurationResult updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
Updates the delegated administrator account with the values provided.
updateOrganizationConfiguration
in interface AmazonGuardDuty
updateOrganizationConfigurationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdatePublishingDestinationResult updatePublishingDestination(UpdatePublishingDestinationRequest request)
Updates information about the publishing destination specified by the destinationId
.
updatePublishingDestination
in interface AmazonGuardDuty
updatePublishingDestinationRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public UpdateThreatIntelSetResult updateThreatIntelSet(UpdateThreatIntelSetRequest request)
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
updateThreatIntelSet
in interface AmazonGuardDuty
updateThreatIntelSetRequest
- BadRequestException
- A bad request exception object.InternalServerErrorException
- An internal server error exception object.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonGuardDuty
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonGuardDuty
shutdown
in class AmazonWebServiceClient