import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptInvitationCommand , AcceptInvitationCommandInput , AcceptInvitationCommandOutput , } from "./commands/AcceptInvitationCommand" ; import { ArchiveFindingsCommand , ArchiveFindingsCommandInput , ArchiveFindingsCommandOutput , } from "./commands/ArchiveFindingsCommand" ; import { CreateDetectorCommand , CreateDetectorCommandInput , CreateDetectorCommandOutput , } from "./commands/CreateDetectorCommand" ; import { CreateFilterCommand , CreateFilterCommandInput , CreateFilterCommandOutput , } from "./commands/CreateFilterCommand" ; import { CreateIPSetCommand , CreateIPSetCommandInput , CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand" ; import { CreateMembersCommand , CreateMembersCommandInput , CreateMembersCommandOutput , } from "./commands/CreateMembersCommand" ; import { CreatePublishingDestinationCommand , CreatePublishingDestinationCommandInput , CreatePublishingDestinationCommandOutput , } from "./commands/CreatePublishingDestinationCommand" ; import { CreateSampleFindingsCommand , CreateSampleFindingsCommandInput , CreateSampleFindingsCommandOutput , } from "./commands/CreateSampleFindingsCommand" ; import { CreateThreatIntelSetCommand , CreateThreatIntelSetCommandInput , CreateThreatIntelSetCommandOutput , } from "./commands/CreateThreatIntelSetCommand" ; import { DeclineInvitationsCommand , DeclineInvitationsCommandInput , DeclineInvitationsCommandOutput , } from "./commands/DeclineInvitationsCommand" ; import { DeleteDetectorCommand , DeleteDetectorCommandInput , DeleteDetectorCommandOutput , } from "./commands/DeleteDetectorCommand" ; import { DeleteFilterCommand , DeleteFilterCommandInput , DeleteFilterCommandOutput , } from "./commands/DeleteFilterCommand" ; import { DeleteInvitationsCommand , DeleteInvitationsCommandInput , DeleteInvitationsCommandOutput , } from "./commands/DeleteInvitationsCommand" ; import { DeleteIPSetCommand , DeleteIPSetCommandInput , DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand" ; import { DeleteMembersCommand , DeleteMembersCommandInput , DeleteMembersCommandOutput , } from "./commands/DeleteMembersCommand" ; import { DeletePublishingDestinationCommand , DeletePublishingDestinationCommandInput , DeletePublishingDestinationCommandOutput , } from "./commands/DeletePublishingDestinationCommand" ; import { DeleteThreatIntelSetCommand , DeleteThreatIntelSetCommandInput , DeleteThreatIntelSetCommandOutput , } from "./commands/DeleteThreatIntelSetCommand" ; import { DescribeOrganizationConfigurationCommand , DescribeOrganizationConfigurationCommandInput , DescribeOrganizationConfigurationCommandOutput , } from "./commands/DescribeOrganizationConfigurationCommand" ; import { DescribePublishingDestinationCommand , DescribePublishingDestinationCommandInput , DescribePublishingDestinationCommandOutput , } from "./commands/DescribePublishingDestinationCommand" ; import { DisableOrganizationAdminAccountCommand , DisableOrganizationAdminAccountCommandInput , DisableOrganizationAdminAccountCommandOutput , } from "./commands/DisableOrganizationAdminAccountCommand" ; import { DisassociateFromMasterAccountCommand , DisassociateFromMasterAccountCommandInput , DisassociateFromMasterAccountCommandOutput , } from "./commands/DisassociateFromMasterAccountCommand" ; import { DisassociateMembersCommand , DisassociateMembersCommandInput , DisassociateMembersCommandOutput , } from "./commands/DisassociateMembersCommand" ; import { EnableOrganizationAdminAccountCommand , EnableOrganizationAdminAccountCommandInput , EnableOrganizationAdminAccountCommandOutput , } from "./commands/EnableOrganizationAdminAccountCommand" ; import { GetDetectorCommand , GetDetectorCommandInput , GetDetectorCommandOutput } from "./commands/GetDetectorCommand" ; import { GetFilterCommand , GetFilterCommandInput , GetFilterCommandOutput } from "./commands/GetFilterCommand" ; import { GetFindingsCommand , GetFindingsCommandInput , GetFindingsCommandOutput } from "./commands/GetFindingsCommand" ; import { GetFindingsStatisticsCommand , GetFindingsStatisticsCommandInput , GetFindingsStatisticsCommandOutput , } from "./commands/GetFindingsStatisticsCommand" ; import { GetInvitationsCountCommand , GetInvitationsCountCommandInput , GetInvitationsCountCommandOutput , } from "./commands/GetInvitationsCountCommand" ; import { GetIPSetCommand , GetIPSetCommandInput , GetIPSetCommandOutput } from "./commands/GetIPSetCommand" ; import { GetMasterAccountCommand , GetMasterAccountCommandInput , GetMasterAccountCommandOutput , } from "./commands/GetMasterAccountCommand" ; import { GetMemberDetectorsCommand , GetMemberDetectorsCommandInput , GetMemberDetectorsCommandOutput , } from "./commands/GetMemberDetectorsCommand" ; import { GetMembersCommand , GetMembersCommandInput , GetMembersCommandOutput } from "./commands/GetMembersCommand" ; import { GetThreatIntelSetCommand , GetThreatIntelSetCommandInput , GetThreatIntelSetCommandOutput , } from "./commands/GetThreatIntelSetCommand" ; import { GetUsageStatisticsCommand , GetUsageStatisticsCommandInput , GetUsageStatisticsCommandOutput , } from "./commands/GetUsageStatisticsCommand" ; import { InviteMembersCommand , InviteMembersCommandInput , InviteMembersCommandOutput , } from "./commands/InviteMembersCommand" ; import { ListDetectorsCommand , ListDetectorsCommandInput , ListDetectorsCommandOutput , } from "./commands/ListDetectorsCommand" ; import { ListFiltersCommand , ListFiltersCommandInput , ListFiltersCommandOutput } from "./commands/ListFiltersCommand" ; import { ListFindingsCommand , ListFindingsCommandInput , ListFindingsCommandOutput , } from "./commands/ListFindingsCommand" ; import { ListInvitationsCommand , ListInvitationsCommandInput , ListInvitationsCommandOutput , } from "./commands/ListInvitationsCommand" ; import { ListIPSetsCommand , ListIPSetsCommandInput , ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand" ; import { ListMembersCommand , ListMembersCommandInput , ListMembersCommandOutput } from "./commands/ListMembersCommand" ; import { ListOrganizationAdminAccountsCommand , ListOrganizationAdminAccountsCommandInput , ListOrganizationAdminAccountsCommandOutput , } from "./commands/ListOrganizationAdminAccountsCommand" ; import { ListPublishingDestinationsCommand , ListPublishingDestinationsCommandInput , ListPublishingDestinationsCommandOutput , } from "./commands/ListPublishingDestinationsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListThreatIntelSetsCommand , ListThreatIntelSetsCommandInput , ListThreatIntelSetsCommandOutput , } from "./commands/ListThreatIntelSetsCommand" ; import { StartMonitoringMembersCommand , StartMonitoringMembersCommandInput , StartMonitoringMembersCommandOutput , } from "./commands/StartMonitoringMembersCommand" ; import { StopMonitoringMembersCommand , StopMonitoringMembersCommandInput , StopMonitoringMembersCommandOutput , } from "./commands/StopMonitoringMembersCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UnarchiveFindingsCommand , UnarchiveFindingsCommandInput , UnarchiveFindingsCommandOutput , } from "./commands/UnarchiveFindingsCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateDetectorCommand , UpdateDetectorCommandInput , UpdateDetectorCommandOutput , } from "./commands/UpdateDetectorCommand" ; import { UpdateFilterCommand , UpdateFilterCommandInput , UpdateFilterCommandOutput , } from "./commands/UpdateFilterCommand" ; import { UpdateFindingsFeedbackCommand , UpdateFindingsFeedbackCommandInput , UpdateFindingsFeedbackCommandOutput , } from "./commands/UpdateFindingsFeedbackCommand" ; import { UpdateIPSetCommand , UpdateIPSetCommandInput , UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand" ; import { UpdateMemberDetectorsCommand , UpdateMemberDetectorsCommandInput , UpdateMemberDetectorsCommandOutput , } from "./commands/UpdateMemberDetectorsCommand" ; import { UpdateOrganizationConfigurationCommand , UpdateOrganizationConfigurationCommandInput , UpdateOrganizationConfigurationCommandOutput , } from "./commands/UpdateOrganizationConfigurationCommand" ; import { UpdatePublishingDestinationCommand , UpdatePublishingDestinationCommandInput , UpdatePublishingDestinationCommandOutput , } from "./commands/UpdatePublishingDestinationCommand" ; import { UpdateThreatIntelSetCommand , UpdateThreatIntelSetCommandInput , UpdateThreatIntelSetCommandOutput , } from "./commands/UpdateThreatIntelSetCommand" ; import { GuardDutyClient } from "./GuardDutyClient" ; /**
 * <p>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. </p>
 *          <p>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. </p>
 *          <p>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 <i>
 *                <a href="https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html">Amazon
 *           GuardDuty User Guide</a>
 *             </i>. </p>
 */ export class GuardDuty extends GuardDutyClient { /**
     * <p>Accepts the invitation to be monitored by a GuardDuty administrator account.</p>
     */ public acceptInvitation ( args , options ? ) ; public acceptInvitation ( args , cb ) ; public acceptInvitation ( args , options , cb ) ; public acceptInvitation ( args , optionsOrCb ? , cb ? ) { const command = new AcceptInvitationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Archives GuardDuty findings that are specified by the list of finding IDs.</p>
     *          <note>
     *             <p>Only the administrator account can archive findings. Member accounts don't have permission to
     *         archive findings from their accounts.</p>
     *          </note>
     */ public archiveFindings ( args , options ? ) ; public archiveFindings ( args , cb ) ; public archiveFindings ( args , options , cb ) ; public archiveFindings ( args , optionsOrCb ? , cb ? ) { const command = new ArchiveFindingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public createDetector ( args , options ? ) ; public createDetector ( args , cb ) ; public createDetector ( args , options , cb ) ; public createDetector ( args , optionsOrCb ? , cb ? ) { const command = new CreateDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a filter using the specified finding criteria.</p>
     */ public createFilter ( args , options ? ) ; public createFilter ( args , cb ) ; public createFilter ( args , options , cb ) ; public createFilter ( args , optionsOrCb ? , cb ? ) { const command = new CreateFilterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public createIPSet ( args , options ? ) ; public createIPSet ( args , cb ) ; public createIPSet ( args , options , cb ) ; public createIPSet ( args , optionsOrCb ? , cb ? ) { const command = new CreateIPSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     *          <p>When using <code>Create Members</code> 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.</p>
     *          <p>If you are adding accounts by invitation use this action after GuardDuty has been enabled
     *       in potential member accounts and before using <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">
     *                <code>Invite
     *         Members</code>
     *             </a>.</p>
     */ public createMembers ( args , options ? ) ; public createMembers ( args , cb ) ; public createMembers ( args , options , cb ) ; public createMembers ( args , optionsOrCb ? , cb ? ) { const command = new CreateMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a publishing destination to export findings to. The resource to export findings to
     *       must exist before you use this operation.</p>
     */ public createPublishingDestination ( args , options ? ) ; public createPublishingDestination ( args , cb ) ; public createPublishingDestination ( args , options , cb ) ; public createPublishingDestination ( args , optionsOrCb ? , cb ? ) { const command = new CreatePublishingDestinationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Generates example findings of types specified by the list of finding types. If 'NULL' is
     *       specified for <code>findingTypes</code>, the API generates example findings of all supported
     *       finding types.</p>
     */ public createSampleFindings ( args , options ? ) ; public createSampleFindings ( args , cb ) ; public createSampleFindings ( args , options , cb ) ; public createSampleFindings ( args , optionsOrCb ? , cb ? ) { const command = new CreateSampleFindingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public createThreatIntelSet ( args , options ? ) ; public createThreatIntelSet ( args , cb ) ; public createThreatIntelSet ( args , options , cb ) ; public createThreatIntelSet ( args , optionsOrCb ? , cb ? ) { const command = new CreateThreatIntelSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Declines invitations sent to the current member account by AWS accounts specified by their
     *       account IDs.</p>
     */ public declineInvitations ( args , options ? ) ; public declineInvitations ( args , cb ) ; public declineInvitations ( args , options , cb ) ; public declineInvitations ( args , optionsOrCb ? , cb ? ) { const command = new DeclineInvitationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an Amazon GuardDuty detector that is specified by the detector ID.</p>
     */ public deleteDetector ( args , options ? ) ; public deleteDetector ( args , cb ) ; public deleteDetector ( args , options , cb ) ; public deleteDetector ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the filter specified by the filter name.</p>
     */ public deleteFilter ( args , options ? ) ; public deleteFilter ( args , cb ) ; public deleteFilter ( args , options , cb ) ; public deleteFilter ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFilterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes invitations sent to the current member account by AWS accounts specified by their
     *       account IDs.</p>
     */ public deleteInvitations ( args , options ? ) ; public deleteInvitations ( args , cb ) ; public deleteInvitations ( args , options , cb ) ; public deleteInvitations ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInvitationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the IPSet specified by the <code>ipSetId</code>. IPSets are called trusted IP
     *       lists in the console user interface.</p>
     */ public deleteIPSet ( args , options ? ) ; public deleteIPSet ( args , cb ) ; public deleteIPSet ( args , options , cb ) ; public deleteIPSet ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIPSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by
     *       the account IDs.</p>
     */ public deleteMembers ( args , options ? ) ; public deleteMembers ( args , cb ) ; public deleteMembers ( args , options , cb ) ; public deleteMembers ( args , optionsOrCb ? , cb ? ) { const command = new DeleteMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the publishing definition with the specified <code>destinationId</code>.</p>
     */ public deletePublishingDestination ( args , options ? ) ; public deletePublishingDestination ( args , cb ) ; public deletePublishingDestination ( args , options , cb ) ; public deletePublishingDestination ( args , optionsOrCb ? , cb ? ) { const command = new DeletePublishingDestinationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.</p>
     */ public deleteThreatIntelSet ( args , options ? ) ; public deleteThreatIntelSet ( args , cb ) ; public deleteThreatIntelSet ( args , options , cb ) ; public deleteThreatIntelSet ( args , optionsOrCb ? , cb ? ) { const command = new DeleteThreatIntelSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the account selected as the delegated administrator for
     *       GuardDuty.</p>
     */ public describeOrganizationConfiguration ( args , options ? ) ; public describeOrganizationConfiguration ( args , cb ) ; public describeOrganizationConfiguration ( args , options , cb ) ; public describeOrganizationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeOrganizationConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the publishing destination specified by the provided
     *         <code>destinationId</code>.</p>
     */ public describePublishingDestination ( args , options ? ) ; public describePublishingDestination ( args , cb ) ; public describePublishingDestination ( args , options , cb ) ; public describePublishingDestination ( args , optionsOrCb ? , cb ? ) { const command = new DescribePublishingDestinationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables an AWS account within the Organization as the GuardDuty delegated
     *       administrator.</p>
     */ public disableOrganizationAdminAccount ( args , options ? ) ; public disableOrganizationAdminAccount ( args , cb ) ; public disableOrganizationAdminAccount ( args , options , cb ) ; public disableOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new DisableOrganizationAdminAccountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates the current GuardDuty member account from its administrator account.</p>
     */ public disassociateFromMasterAccount ( args , options ? ) ; public disassociateFromMasterAccount ( args , cb ) ; public disassociateFromMasterAccount ( args , options , cb ) ; public disassociateFromMasterAccount ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateFromMasterAccountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates GuardDuty member accounts (to the current GuardDuty administrator account)
     *       specified by the account IDs.</p>
     */ public disassociateMembers ( args , options ? ) ; public disassociateMembers ( args , cb ) ; public disassociateMembers ( args , options , cb ) ; public disassociateMembers ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables an AWS account within the organization as the GuardDuty delegated
     *       administrator.</p>
     */ public enableOrganizationAdminAccount ( args , options ? ) ; public enableOrganizationAdminAccount ( args , cb ) ; public enableOrganizationAdminAccount ( args , options , cb ) ; public enableOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new EnableOrganizationAdminAccountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves an Amazon GuardDuty detector specified by the detectorId.</p>
     */ public getDetector ( args , options ? ) ; public getDetector ( args , cb ) ; public getDetector ( args , options , cb ) ; public getDetector ( args , optionsOrCb ? , cb ? ) { const command = new GetDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the details of the filter specified by the filter name.</p>
     */ public getFilter ( args , options ? ) ; public getFilter ( args , cb ) ; public getFilter ( args , options , cb ) ; public getFilter ( args , optionsOrCb ? , cb ? ) { const command = new GetFilterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes Amazon GuardDuty findings specified by finding IDs.</p>
     */ public getFindings ( args , options ? ) ; public getFindings ( args , cb ) ; public getFindings ( args , options , cb ) ; public getFindings ( args , optionsOrCb ? , cb ? ) { const command = new GetFindingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists Amazon GuardDuty findings statistics for the specified detector ID.</p>
     */ public getFindingsStatistics ( args , options ? ) ; public getFindingsStatistics ( args , cb ) ; public getFindingsStatistics ( args , options , cb ) ; public getFindingsStatistics ( args , optionsOrCb ? , cb ? ) { const command = new GetFindingsStatisticsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the count of all GuardDuty membership invitations that were sent to the current
     *       member account except the currently accepted invitation.</p>
     */ public getInvitationsCount ( args , options ? ) ; public getInvitationsCount ( args , cb ) ; public getInvitationsCount ( args , options , cb ) ; public getInvitationsCount ( args , optionsOrCb ? , cb ? ) { const command = new GetInvitationsCountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the IPSet specified by the <code>ipSetId</code>.</p>
     */ public getIPSet ( args , options ? ) ; public getIPSet ( args , cb ) ; public getIPSet ( args , options , cb ) ; public getIPSet ( args , optionsOrCb ? , cb ? ) { const command = new GetIPSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides the details for the GuardDuty administrator account associated with the current
     *       GuardDuty member account.</p>
     */ public getMasterAccount ( args , options ? ) ; public getMasterAccount ( args , cb ) ; public getMasterAccount ( args , options , cb ) ; public getMasterAccount ( args , optionsOrCb ? , cb ? ) { const command = new GetMasterAccountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes which data sources are enabled for the member account's detector.</p>
     */ public getMemberDetectors ( args , options ? ) ; public getMemberDetectors ( args , cb ) ; public getMemberDetectors ( args , options , cb ) ; public getMemberDetectors ( args , optionsOrCb ? , cb ? ) { const command = new GetMemberDetectorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by
     *       the account IDs.</p>
     */ public getMembers ( args , options ? ) ; public getMembers ( args , cb ) ; public getMembers ( args , options , cb ) ; public getMembers ( args , optionsOrCb ? , cb ? ) { const command = new GetMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.</p>
     */ public getThreatIntelSet ( args , options ? ) ; public getThreatIntelSet ( args , cb ) ; public getThreatIntelSet ( args , options , cb ) ; public getThreatIntelSet ( args , optionsOrCb ? , cb ? ) { const command = new GetThreatIntelSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a href="https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations">Understanding How Usage Costs are Calculated</a>.</p>
     */ public getUsageStatistics ( args , options ? ) ; public getUsageStatistics ( args , cb ) ; public getUsageStatistics ( args , options , cb ) ; public getUsageStatistics ( args , optionsOrCb ? , cb ? ) { const command = new GetUsageStatisticsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public inviteMembers ( args , options ? ) ; public inviteMembers ( args , cb ) ; public inviteMembers ( args , options , cb ) ; public inviteMembers ( args , optionsOrCb ? , cb ? ) { const command = new InviteMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists detectorIds of all the existing Amazon GuardDuty detector resources.</p>
     */ public listDetectors ( args , options ? ) ; public listDetectors ( args , cb ) ; public listDetectors ( args , options , cb ) ; public listDetectors ( args , optionsOrCb ? , cb ? ) { const command = new ListDetectorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a paginated list of the current filters.</p>
     */ public listFilters ( args , options ? ) ; public listFilters ( args , cb ) ; public listFilters ( args , options , cb ) ; public listFilters ( args , optionsOrCb ? , cb ? ) { const command = new ListFiltersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists Amazon GuardDuty findings for the specified detector ID.</p>
     */ public listFindings ( args , options ? ) ; public listFindings ( args , cb ) ; public listFindings ( args , options , cb ) ; public listFindings ( args , optionsOrCb ? , cb ? ) { const command = new ListFindingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all GuardDuty membership invitations that were sent to the current AWS
     *       account.</p>
     */ public listInvitations ( args , options ? ) ; public listInvitations ( args , cb ) ; public listInvitations ( args , options , cb ) ; public listInvitations ( args , optionsOrCb ? , cb ? ) { const command = new ListInvitationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listIPSets ( args , options ? ) ; public listIPSets ( args , cb ) ; public listIPSets ( args , options , cb ) ; public listIPSets ( args , optionsOrCb ? , cb ? ) { const command = new ListIPSetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists details about all member accounts for the current GuardDuty administrator account.</p>
     */ public listMembers ( args , options ? ) ; public listMembers ( args , cb ) ; public listMembers ( args , options , cb ) ; public listMembers ( args , optionsOrCb ? , cb ? ) { const command = new ListMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the accounts configured as GuardDuty delegated administrators.</p>
     */ public listOrganizationAdminAccounts ( args , options ? ) ; public listOrganizationAdminAccounts ( args , cb ) ; public listOrganizationAdminAccounts ( args , options , cb ) ; public listOrganizationAdminAccounts ( args , optionsOrCb ? , cb ? ) { const command = new ListOrganizationAdminAccountsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of publishing destinations associated with the specified
     *         <code>dectectorId</code>.</p>
     */ public listPublishingDestinations ( args , options ? ) ; public listPublishingDestinations ( args , cb ) ; public listPublishingDestinations ( args , options , cb ) ; public listPublishingDestinations ( args , optionsOrCb ? , cb ? ) { const command = new ListPublishingDestinationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listThreatIntelSets ( args , options ? ) ; public listThreatIntelSets ( args , cb ) ; public listThreatIntelSets ( args , options , cb ) ; public listThreatIntelSets ( args , optionsOrCb ? , cb ? ) { const command = new ListThreatIntelSetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Turns on GuardDuty monitoring of the specified member accounts. Use this operation to
     *       restart monitoring of accounts that you stopped monitoring with the
     *         <code>StopMonitoringMembers</code> operation.</p>
     */ public startMonitoringMembers ( args , options ? ) ; public startMonitoringMembers ( args , cb ) ; public startMonitoringMembers ( args , options , cb ) ; public startMonitoringMembers ( args , optionsOrCb ? , cb ? ) { const command = new StartMonitoringMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stops GuardDuty monitoring for the specified member accounts. Use the
     *         <code>StartMonitoringMembers</code> operation to restart monitoring for those
     *       accounts.</p>
     */ public stopMonitoringMembers ( args , options ? ) ; public stopMonitoringMembers ( args , cb ) ; public stopMonitoringMembers ( args , options , cb ) ; public stopMonitoringMembers ( args , optionsOrCb ? , cb ? ) { const command = new StopMonitoringMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds tags to a resource.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Unarchives GuardDuty findings specified by the <code>findingIds</code>.</p>
     */ public unarchiveFindings ( args , options ? ) ; public unarchiveFindings ( args , cb ) ; public unarchiveFindings ( args , options , cb ) ; public unarchiveFindings ( args , optionsOrCb ? , cb ? ) { const command = new UnarchiveFindingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes tags from a resource.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the Amazon GuardDuty detector specified by the detectorId.</p>
     */ public updateDetector ( args , options ? ) ; public updateDetector ( args , cb ) ; public updateDetector ( args , options , cb ) ; public updateDetector ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the filter specified by the filter name.</p>
     */ public updateFilter ( args , options ? ) ; public updateFilter ( args , cb ) ; public updateFilter ( args , options , cb ) ; public updateFilter ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFilterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Marks the specified GuardDuty findings as useful or not useful.</p>
     */ public updateFindingsFeedback ( args , options ? ) ; public updateFindingsFeedback ( args , cb ) ; public updateFindingsFeedback ( args , options , cb ) ; public updateFindingsFeedback ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFindingsFeedbackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the IPSet specified by the IPSet ID.</p>
     */ public updateIPSet ( args , options ? ) ; public updateIPSet ( args , cb ) ; public updateIPSet ( args , options , cb ) ; public updateIPSet ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIPSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Contains information on member accounts to be updated.</p>
     */ public updateMemberDetectors ( args , options ? ) ; public updateMemberDetectors ( args , cb ) ; public updateMemberDetectors ( args , options , cb ) ; public updateMemberDetectors ( args , optionsOrCb ? , cb ? ) { const command = new UpdateMemberDetectorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the delegated administrator account with the values provided.</p>
     */ public updateOrganizationConfiguration ( args , options ? ) ; public updateOrganizationConfiguration ( args , cb ) ; public updateOrganizationConfiguration ( args , options , cb ) ; public updateOrganizationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateOrganizationConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates information about the publishing destination specified by the
     *         <code>destinationId</code>.</p>
     */ public updatePublishingDestination ( args , options ? ) ; public updatePublishingDestination ( args , cb ) ; public updatePublishingDestination ( args , options , cb ) ; public updatePublishingDestination ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePublishingDestinationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the ThreatIntelSet specified by the ThreatIntelSet ID.</p>
     */ public updateThreatIntelSet ( args , options ? ) ; public updateThreatIntelSet ( args , cb ) ; public updateThreatIntelSet ( args , options , cb ) ; public updateThreatIntelSet ( args , optionsOrCb ? , cb ? ) { const command = new UpdateThreatIntelSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }