import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptAdministratorInvitationCommand , AcceptAdministratorInvitationCommandInput , AcceptAdministratorInvitationCommandOutput , } from "./commands/AcceptAdministratorInvitationCommand" ; import { AcceptInvitationCommand , AcceptInvitationCommandInput , AcceptInvitationCommandOutput , } from "./commands/AcceptInvitationCommand" ; import { BatchDisableStandardsCommand , BatchDisableStandardsCommandInput , BatchDisableStandardsCommandOutput , } from "./commands/BatchDisableStandardsCommand" ; import { BatchEnableStandardsCommand , BatchEnableStandardsCommandInput , BatchEnableStandardsCommandOutput , } from "./commands/BatchEnableStandardsCommand" ; import { BatchImportFindingsCommand , BatchImportFindingsCommandInput , BatchImportFindingsCommandOutput , } from "./commands/BatchImportFindingsCommand" ; import { BatchUpdateFindingsCommand , BatchUpdateFindingsCommandInput , BatchUpdateFindingsCommandOutput , } from "./commands/BatchUpdateFindingsCommand" ; import { CreateActionTargetCommand , CreateActionTargetCommandInput , CreateActionTargetCommandOutput , } from "./commands/CreateActionTargetCommand" ; import { CreateFindingAggregatorCommand , CreateFindingAggregatorCommandInput , CreateFindingAggregatorCommandOutput , } from "./commands/CreateFindingAggregatorCommand" ; import { CreateInsightCommand , CreateInsightCommandInput , CreateInsightCommandOutput , } from "./commands/CreateInsightCommand" ; import { CreateMembersCommand , CreateMembersCommandInput , CreateMembersCommandOutput , } from "./commands/CreateMembersCommand" ; import { DeclineInvitationsCommand , DeclineInvitationsCommandInput , DeclineInvitationsCommandOutput , } from "./commands/DeclineInvitationsCommand" ; import { DeleteActionTargetCommand , DeleteActionTargetCommandInput , DeleteActionTargetCommandOutput , } from "./commands/DeleteActionTargetCommand" ; import { DeleteFindingAggregatorCommand , DeleteFindingAggregatorCommandInput , DeleteFindingAggregatorCommandOutput , } from "./commands/DeleteFindingAggregatorCommand" ; import { DeleteInsightCommand , DeleteInsightCommandInput , DeleteInsightCommandOutput , } from "./commands/DeleteInsightCommand" ; import { DeleteInvitationsCommand , DeleteInvitationsCommandInput , DeleteInvitationsCommandOutput , } from "./commands/DeleteInvitationsCommand" ; import { DeleteMembersCommand , DeleteMembersCommandInput , DeleteMembersCommandOutput , } from "./commands/DeleteMembersCommand" ; import { DescribeActionTargetsCommand , DescribeActionTargetsCommandInput , DescribeActionTargetsCommandOutput , } from "./commands/DescribeActionTargetsCommand" ; import { DescribeHubCommand , DescribeHubCommandInput , DescribeHubCommandOutput } from "./commands/DescribeHubCommand" ; import { DescribeOrganizationConfigurationCommand , DescribeOrganizationConfigurationCommandInput , DescribeOrganizationConfigurationCommandOutput , } from "./commands/DescribeOrganizationConfigurationCommand" ; import { DescribeProductsCommand , DescribeProductsCommandInput , DescribeProductsCommandOutput , } from "./commands/DescribeProductsCommand" ; import { DescribeStandardsCommand , DescribeStandardsCommandInput , DescribeStandardsCommandOutput , } from "./commands/DescribeStandardsCommand" ; import { DescribeStandardsControlsCommand , DescribeStandardsControlsCommandInput , DescribeStandardsControlsCommandOutput , } from "./commands/DescribeStandardsControlsCommand" ; import { DisableImportFindingsForProductCommand , DisableImportFindingsForProductCommandInput , DisableImportFindingsForProductCommandOutput , } from "./commands/DisableImportFindingsForProductCommand" ; import { DisableOrganizationAdminAccountCommand , DisableOrganizationAdminAccountCommandInput , DisableOrganizationAdminAccountCommandOutput , } from "./commands/DisableOrganizationAdminAccountCommand" ; import { DisableSecurityHubCommand , DisableSecurityHubCommandInput , DisableSecurityHubCommandOutput , } from "./commands/DisableSecurityHubCommand" ; import { DisassociateFromAdministratorAccountCommand , DisassociateFromAdministratorAccountCommandInput , DisassociateFromAdministratorAccountCommandOutput , } from "./commands/DisassociateFromAdministratorAccountCommand" ; import { DisassociateFromMasterAccountCommand , DisassociateFromMasterAccountCommandInput , DisassociateFromMasterAccountCommandOutput , } from "./commands/DisassociateFromMasterAccountCommand" ; import { DisassociateMembersCommand , DisassociateMembersCommandInput , DisassociateMembersCommandOutput , } from "./commands/DisassociateMembersCommand" ; import { EnableImportFindingsForProductCommand , EnableImportFindingsForProductCommandInput , EnableImportFindingsForProductCommandOutput , } from "./commands/EnableImportFindingsForProductCommand" ; import { EnableOrganizationAdminAccountCommand , EnableOrganizationAdminAccountCommandInput , EnableOrganizationAdminAccountCommandOutput , } from "./commands/EnableOrganizationAdminAccountCommand" ; import { EnableSecurityHubCommand , EnableSecurityHubCommandInput , EnableSecurityHubCommandOutput , } from "./commands/EnableSecurityHubCommand" ; import { GetAdministratorAccountCommand , GetAdministratorAccountCommandInput , GetAdministratorAccountCommandOutput , } from "./commands/GetAdministratorAccountCommand" ; import { GetEnabledStandardsCommand , GetEnabledStandardsCommandInput , GetEnabledStandardsCommandOutput , } from "./commands/GetEnabledStandardsCommand" ; import { GetFindingAggregatorCommand , GetFindingAggregatorCommandInput , GetFindingAggregatorCommandOutput , } from "./commands/GetFindingAggregatorCommand" ; import { GetFindingsCommand , GetFindingsCommandInput , GetFindingsCommandOutput } from "./commands/GetFindingsCommand" ; import { GetInsightResultsCommand , GetInsightResultsCommandInput , GetInsightResultsCommandOutput , } from "./commands/GetInsightResultsCommand" ; import { GetInsightsCommand , GetInsightsCommandInput , GetInsightsCommandOutput } from "./commands/GetInsightsCommand" ; import { GetInvitationsCountCommand , GetInvitationsCountCommandInput , GetInvitationsCountCommandOutput , } from "./commands/GetInvitationsCountCommand" ; import { GetMasterAccountCommand , GetMasterAccountCommandInput , GetMasterAccountCommandOutput , } from "./commands/GetMasterAccountCommand" ; import { GetMembersCommand , GetMembersCommandInput , GetMembersCommandOutput } from "./commands/GetMembersCommand" ; import { InviteMembersCommand , InviteMembersCommandInput , InviteMembersCommandOutput , } from "./commands/InviteMembersCommand" ; import { ListEnabledProductsForImportCommand , ListEnabledProductsForImportCommandInput , ListEnabledProductsForImportCommandOutput , } from "./commands/ListEnabledProductsForImportCommand" ; import { ListFindingAggregatorsCommand , ListFindingAggregatorsCommandInput , ListFindingAggregatorsCommandOutput , } from "./commands/ListFindingAggregatorsCommand" ; import { ListInvitationsCommand , ListInvitationsCommandInput , ListInvitationsCommandOutput , } from "./commands/ListInvitationsCommand" ; import { ListMembersCommand , ListMembersCommandInput , ListMembersCommandOutput } from "./commands/ListMembersCommand" ; import { ListOrganizationAdminAccountsCommand , ListOrganizationAdminAccountsCommandInput , ListOrganizationAdminAccountsCommandOutput , } from "./commands/ListOrganizationAdminAccountsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateActionTargetCommand , UpdateActionTargetCommandInput , UpdateActionTargetCommandOutput , } from "./commands/UpdateActionTargetCommand" ; import { UpdateFindingAggregatorCommand , UpdateFindingAggregatorCommandInput , UpdateFindingAggregatorCommandOutput , } from "./commands/UpdateFindingAggregatorCommand" ; import { UpdateFindingsCommand , UpdateFindingsCommandInput , UpdateFindingsCommandOutput , } from "./commands/UpdateFindingsCommand" ; import { UpdateInsightCommand , UpdateInsightCommandInput , UpdateInsightCommandOutput , } from "./commands/UpdateInsightCommand" ; import { UpdateOrganizationConfigurationCommand , UpdateOrganizationConfigurationCommandInput , UpdateOrganizationConfigurationCommandOutput , } from "./commands/UpdateOrganizationConfigurationCommand" ; import { UpdateSecurityHubConfigurationCommand , UpdateSecurityHubConfigurationCommandInput , UpdateSecurityHubConfigurationCommandOutput , } from "./commands/UpdateSecurityHubConfigurationCommand" ; import { UpdateStandardsControlCommand , UpdateStandardsControlCommandInput , UpdateStandardsControlCommandOutput , } from "./commands/UpdateStandardsControlCommand" ; import { SecurityHubClient } from "./SecurityHubClient" ; /**
 * <p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status
 *          of your environment based on controls from supported security standards. Security Hub collects
 *          security data from Amazon Web Services accounts, services, and integrated third-party products and helps
 *          you analyze security trends in your environment to identify the highest priority security
 *          issues. For more information about Security Hub, see the <i>Security Hub<a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">User
 *                Guide</a>
 *             </i>.</p>
 *          <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services
 *          Region that is currently active or in the specific Amazon Web Services Region that you specify in your
 *          request. Any configuration or settings change that results from the operation is applied
 *          only to that Region. To make the same change in other Regions, execute the same command for
 *          each Region to apply the change to.</p>
 *          <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of
 *          the member account with the administrator account is created only in the <code>us-west-2</code>
 *          Region. Security Hub must be enabled for the member account in the same Region that the invitation
 *          was sent from.</p>
 *          <p>The following throttling limits apply to using Security Hub API operations.</p>
 *          <ul>
 *             <li>
 *                <p>
 *                   <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1
 *                request per second, <code>BurstLimit</code> of 1 request per second.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second.
 *                   <code>BurstLimit</code> of 6 requests per second.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per
 *                second. <code>BurstLimit</code> of 5 requests per second.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <code>UpdateStandardsControl</code> - <code>RateLimit</code> of
 *                1 request per second, <code>BurstLimit</code> of 5 requests per second.</p>
 *             </li>
 *             <li>
 *                <p>All other operations - <code>RateLimit</code> of 10 requests per second.
 *                   <code>BurstLimit</code> of 30 requests per second.</p>
 *             </li>
 *          </ul>
 */ export class SecurityHub extends SecurityHubClient { /**
     * <p>Accepts the invitation to be a member account and be monitored by the Security Hub administrator
     *          account that the invitation was sent from.</p>
     *          <p>This operation is only used by member accounts that are not added through
     *          Organizations.</p>
     *          <p>When the member account accepts the invitation, permission is granted to the administrator
     *          account to view findings generated in the member account.</p>
     */ public acceptAdministratorInvitation ( args , options ? ) ; public acceptAdministratorInvitation ( args , cb ) ; public acceptAdministratorInvitation ( args , options , cb ) ; public acceptAdministratorInvitation ( args , optionsOrCb ? , cb ? ) { const command = new AcceptAdministratorInvitationCommand ( 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 ) ; } } deprecated 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>Disables the standards specified by the provided
     *          <code>StandardsSubscriptionArns</code>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a> section of the <i>Security Hub User
     *          Guide</i>.</p>
     */ public batchDisableStandards ( args , options ? ) ; public batchDisableStandards ( args , cb ) ; public batchDisableStandards ( args , options , cb ) ; public batchDisableStandards ( args , optionsOrCb ? , cb ? ) { const command = new BatchDisableStandardsCommand ( 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 the standards specified by the provided <code>StandardsArn</code>. To obtain the
     *          ARN for a standard, use the <code>DescribeStandards</code>
     *          operation.</p>
     *          <p>For more information, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security Standards</a>
     *          section of the <i>Security Hub User Guide</i>.</p>
     */ public batchEnableStandards ( args , options ? ) ; public batchEnableStandards ( args , cb ) ; public batchEnableStandards ( args , options , cb ) ; public batchEnableStandards ( args , optionsOrCb ? , cb ? ) { const command = new BatchEnableStandardsCommand ( 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>Imports security findings generated by a finding provider into Security Hub.
     *          This action is requested by the finding provider to import its findings into
     *          Security Hub.</p>
     *          <p>
     *             <code>BatchImportFindings</code> must be called by one of the following:</p>
     *          <ul>
     *             <li>
     *                <p>The account that is associated with the findings. The identifier of the associated
     *                account is the value of the <code>AwsAccountId</code> attribute for the finding.</p>
     *             </li>
     *             <li>
     *                <p>An account that is allow-listed for an official Security Hub partner integration.</p>
     *             </li>
     *          </ul>
     *          <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding
     *          larger than 240 Kb.</p>
     *          <p>After a finding is created, <code>BatchImportFindings</code> cannot be used to update
     *          the following finding fields and objects, which Security Hub customers use to manage their
     *          investigation workflow.</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>Note</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UserDefinedFields</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>VerificationState</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Workflow</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>Finding providers also should not use <code>BatchImportFindings</code> to update the following attributes.</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>Confidence</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Criticality</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RelatedFindings</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Severity</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Types</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>Instead, finding providers use <code>FindingProviderFields</code> to provide values for these attributes.</p>
     */ public batchImportFindings ( args , options ? ) ; public batchImportFindings ( args , cb ) ; public batchImportFindings ( args , options , cb ) ; public batchImportFindings ( args , optionsOrCb ? , cb ? ) { const command = new BatchImportFindingsCommand ( 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>Used by Security Hub customers to update information about their investigation into a finding.
     *          Requested by administrator accounts or member accounts. Administrator accounts can update findings for
     *          their account and their member accounts. Member accounts can update findings for their
     *          account.</p>
     *          <p>Updates from <code>BatchUpdateFindings</code> do not affect the value of
     *             <code>UpdatedAt</code> for a finding.</p>
     *          <p>Administrator and member accounts can use <code>BatchUpdateFindings</code> to update the
     *          following finding fields and objects.</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>Confidence</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Criticality</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Note</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RelatedFindings</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Severity</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Types</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UserDefinedFields</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>VerificationState</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Workflow</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>You can configure IAM policies to restrict access to fields and field values. For
     *          example, you might not want member accounts to be able to suppress findings or change the
     *          finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring access to BatchUpdateFindings</a> in the
     *          <i>Security Hub User Guide</i>.</p>
     */ public batchUpdateFindings ( args , options ? ) ; public batchUpdateFindings ( args , cb ) ; public batchUpdateFindings ( args , options , cb ) ; public batchUpdateFindings ( args , optionsOrCb ? , cb ? ) { const command = new BatchUpdateFindingsCommand ( 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 custom action target in Security Hub.</p>
     *          <p>You can use custom actions on findings and insights in Security Hub to trigger target actions
     *          in Amazon CloudWatch Events.</p>
     */ public createActionTarget ( args , options ? ) ; public createActionTarget ( args , cb ) ; public createActionTarget ( args , options , cb ) ; public createActionTarget ( args , optionsOrCb ? , cb ? ) { const command = new CreateActionTargetCommand ( 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>Used to enable finding aggregation. Must be called from the aggregation Region.</p>
     *          <p>For more details about cross-Region replication, see <a href="securityhub/latest/userguide/finding-aggregation.html">Configuring finding aggregation</a> in the <i>Security Hub User Guide</i>.
     *       </p>
     */ public createFindingAggregator ( args , options ? ) ; public createFindingAggregator ( args , cb ) ; public createFindingAggregator ( args , options , cb ) ; public createFindingAggregator ( args , optionsOrCb ? , cb ? ) { const command = new CreateFindingAggregatorCommand ( 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 custom insight in Security Hub. An insight is a consolidation of findings that relate
     *          to a security issue that requires attention or remediation.</p>
     *          <p>To group the related findings in the insight, use the
     *          <code>GroupByAttribute</code>.</p>
     */ public createInsight ( args , options ? ) ; public createInsight ( args , cb ) ; public createInsight ( args , options , cb ) ; public createInsight ( args , optionsOrCb ? , cb ? ) { const command = new CreateInsightCommand ( 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 member association in Security Hub between the specified accounts and the account
     *          used to make the request, which is the administrator account. If you are integrated with
     *          Organizations, then the administrator account is designated by the organization management account.</p>
     *          <p>
     *             <code>CreateMembers</code> is always used to add accounts that are not organization
     *          members.</p>
     *          <p>For accounts that are managed using Organizations, <code>CreateMembers</code> is only used
     *          in the following cases:</p>
     *          <ul>
     *             <li>
     *                <p>Security Hub is not configured to automatically add new organization accounts.</p>
     *             </li>
     *             <li>
     *                <p>The account was disassociated or deleted in Security Hub.</p>
     *             </li>
     *          </ul>
     *          <p>This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you
     *          can use the <code>EnableSecurityHub</code> operation.</p>
     *          <p>For accounts that are not organization members, you create the account association and
     *          then send an invitation to the member account. To send the invitation, you use the
     *                <code>InviteMembers</code> operation. If the account owner accepts
     *          the invitation, the account becomes a member account in Security Hub.</p>
     *          <p>Accounts that are managed using Organizations do not receive an invitation. They
     *          automatically become a member account in Security Hub.</p>
     *          <ul>
     *             <li>
     *                <p>If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.</p>
     *             </li>
     *             <li>
     *                <p>For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.</p>
     *             </li>
     *          </ul>
     *          <p>A permissions policy is added that permits the administrator account to view the findings
     *          generated in the member account.</p>
     *          <p>To remove the association between the administrator and member accounts, use the <code>DisassociateFromMasterAccount</code> or <code>DisassociateMembers</code> operation.</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>Declines invitations to become a member account.</p>
     *          <p>This operation is only used by accounts that are not part of an organization.
     *          Organization accounts do not receive invitations.</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 a custom action target from Security Hub.</p>
     *          <p>Deleting a custom action target does not affect any findings or insights that were
     *          already sent to Amazon CloudWatch Events using the custom action.</p>
     */ public deleteActionTarget ( args , options ? ) ; public deleteActionTarget ( args , cb ) ; public deleteActionTarget ( args , options , cb ) ; public deleteActionTarget ( args , optionsOrCb ? , cb ? ) { const command = new DeleteActionTargetCommand ( 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 a finding aggregator. When you delete the finding aggregator, you stop finding aggregation.</p>
     *          <p>When you stop finding aggregation, findings that were already aggregated to the aggregation Region are still visible from the aggregation Region. New findings and finding updates are not aggregated.
     *       </p>
     */ public deleteFindingAggregator ( args , options ? ) ; public deleteFindingAggregator ( args , cb ) ; public deleteFindingAggregator ( args , options , cb ) ; public deleteFindingAggregator ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFindingAggregatorCommand ( 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 insight specified by the <code>InsightArn</code>.</p>
     */ public deleteInsight ( args , options ? ) ; public deleteInsight ( args , cb ) ; public deleteInsight ( args , options , cb ) ; public deleteInsight ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInsightCommand ( 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 received by the Amazon Web Services account to become a member account.</p>
     *          <p>This operation is only used by accounts that are not part of an organization.
     *          Organization accounts do not receive invitations.</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 specified member accounts from Security Hub.</p>
     *          <p>Can be used to delete member accounts that belong to an organization as well as member
     *          accounts that were invited manually.</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>Returns a list of the custom action targets in Security Hub in your account.</p>
     */ public describeActionTargets ( args , options ? ) ; public describeActionTargets ( args , cb ) ; public describeActionTargets ( args , options , cb ) ; public describeActionTargets ( args , optionsOrCb ? , cb ? ) { const command = new DescribeActionTargetsCommand ( 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 details about the Hub resource in your account, including the
     *          <code>HubArn</code> and the time when you enabled Security Hub.</p>
     */ public describeHub ( args , options ? ) ; public describeHub ( args , cb ) ; public describeHub ( args , options , cb ) ; public describeHub ( args , optionsOrCb ? , cb ? ) { const command = new DescribeHubCommand ( 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 Organizations configuration for Security Hub. Can only be
     *          called from a Security Hub administrator account.</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 product integrations in Security Hub.</p>
     *          <p>You can optionally provide an integration ARN. If you provide an integration ARN, then
     *          the results only include that integration.</p>
     *          <p>If you do not provide an integration ARN, then the results include all of the available
     *          product integrations. </p>
     */ public describeProducts ( args , options ? ) ; public describeProducts ( args , cb ) ; public describeProducts ( args , options , cb ) ; public describeProducts ( args , optionsOrCb ? , cb ? ) { const command = new DescribeProductsCommand ( 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 the available standards in Security Hub.</p>
     *          <p>For each standard, the results include the standard ARN, the name, and a description. </p>
     */ public describeStandards ( args , options ? ) ; public describeStandards ( args , cb ) ; public describeStandards ( args , options , cb ) ; public describeStandards ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStandardsCommand ( 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 security standards controls.</p>
     *          <p>For each control, the results include information about whether it is currently enabled,
     *          the severity, and a link to remediation information.</p>
     */ public describeStandardsControls ( args , options ? ) ; public describeStandardsControls ( args , cb ) ; public describeStandardsControls ( args , options , cb ) ; public describeStandardsControls ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStandardsControlsCommand ( 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 the integration of the specified product with Security Hub. After the integration is
     *          disabled, findings from that product are no longer sent to Security Hub.</p>
     */ public disableImportFindingsForProduct ( args , options ? ) ; public disableImportFindingsForProduct ( args , cb ) ; public disableImportFindingsForProduct ( args , options , cb ) ; public disableImportFindingsForProduct ( args , optionsOrCb ? , cb ? ) { const command = new DisableImportFindingsForProductCommand ( 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 a Security Hub administrator account. Can only be called by the organization
     *          management account.</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>Disables Security Hub in your account only in the current Region. To disable Security Hub in all
     *          Regions, you must submit one request per Region where you have enabled Security Hub.</p>
     *          <p>When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated
     *          member accounts.</p>
     *          <p>When you disable Security Hub, your existing findings and insights and any Security Hub configuration
     *          settings are deleted after 90 days and cannot be recovered. Any standards that were enabled
     *          are disabled, and your administrator and member account associations are removed.</p>
     *          <p>If you want to save your existing findings, you must export them before you disable
     *          Security Hub.</p>
     */ public disableSecurityHub ( args , options ? ) ; public disableSecurityHub ( args , cb ) ; public disableSecurityHub ( args , options , cb ) ; public disableSecurityHub ( args , optionsOrCb ? , cb ? ) { const command = new DisableSecurityHubCommand ( 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 Security Hub member account from the associated administrator
     *          account.</p>
     *          <p>This operation is only used by accounts that are not part of an organization. For
     *          organization accounts, only the administrator account can
     *          disassociate a member account.</p>
     */ public disassociateFromAdministratorAccount ( args , options ? ) ; public disassociateFromAdministratorAccount ( args , cb ) ; public disassociateFromAdministratorAccount ( args , options , cb ) ; public disassociateFromAdministratorAccount ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateFromAdministratorAccountCommand ( 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 ) ; } } deprecated 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 the specified member accounts from the associated administrator account.</p>
     *          <p>Can be used to disassociate both accounts that are managed using Organizations and accounts that
     *          were invited manually.</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 the integration of a partner product with Security Hub. Integrated products send
     *          findings to Security Hub.</p>
     *          <p>When you enable a product integration, a permissions policy that grants permission for
     *          the product to send findings to Security Hub is applied.</p>
     */ public enableImportFindingsForProduct ( args , options ? ) ; public enableImportFindingsForProduct ( args , cb ) ; public enableImportFindingsForProduct ( args , options , cb ) ; public enableImportFindingsForProduct ( args , optionsOrCb ? , cb ? ) { const command = new EnableImportFindingsForProductCommand ( 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>Designates the Security Hub administrator account for an organization. Can only be called by
     *          the organization management account.</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>Enables Security Hub for your account in the current Region or the Region you specify in the
     *          request.</p>
     *          <p>When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings
     *          from other services that are integrated with Security Hub.</p>
     *          <p>When you use the <code>EnableSecurityHub</code> operation to enable Security Hub, you also
     *          automatically enable the following standards.</p>
     *          <ul>
     *             <li>
     *                <p>CIS Amazon Web Services Foundations</p>
     *             </li>
     *             <li>
     *                <p>Amazon Web Services Foundational Security Best Practices</p>
     *             </li>
     *          </ul>
     *          <p>You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard. </p>
     *          <p>To not enable the automatically enabled standards, set
     *             <code>EnableDefaultStandards</code> to <code>false</code>.</p>
     *          <p>After you enable Security Hub, to enable a standard, use the <code>BatchEnableStandards</code> operation. To disable a standard, use the
     *                <code>BatchDisableStandards</code> operation.</p>
     *          <p>To learn more, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html">setup information</a> in the <i>Security Hub User Guide</i>.</p>
     */ public enableSecurityHub ( args , options ? ) ; public enableSecurityHub ( args , cb ) ; public enableSecurityHub ( args , options , cb ) ; public enableSecurityHub ( args , optionsOrCb ? , cb ? ) { const command = new EnableSecurityHubCommand ( 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 Security Hub administrator account for the current member account.</p>
     *          <p>Can be used by both member accounts that are managed using Organizations and accounts that were
     *          invited manually.</p>
     */ public getAdministratorAccount ( args , options ? ) ; public getAdministratorAccount ( args , cb ) ; public getAdministratorAccount ( args , options , cb ) ; public getAdministratorAccount ( args , optionsOrCb ? , cb ? ) { const command = new GetAdministratorAccountCommand ( 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 the standards that are currently enabled.</p>
     */ public getEnabledStandards ( args , options ? ) ; public getEnabledStandards ( args , cb ) ; public getEnabledStandards ( args , options , cb ) ; public getEnabledStandards ( args , optionsOrCb ? , cb ? ) { const command = new GetEnabledStandardsCommand ( 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 current finding aggregation configuration.</p>
     */ public getFindingAggregator ( args , options ? ) ; public getFindingAggregator ( args , cb ) ; public getFindingAggregator ( args , options , cb ) ; public getFindingAggregator ( args , optionsOrCb ? , cb ? ) { const command = new GetFindingAggregatorCommand ( 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 findings that match the specified criteria.</p>
     *          <p>If finding aggregation is enabled, then when you call <code>GetFindings</code> from the aggregation Region, the results include all of the matching findings from both the aggregation Region and the linked Regions.</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 the results of the Security Hub insight specified by the insight ARN.</p>
     */ public getInsightResults ( args , options ? ) ; public getInsightResults ( args , cb ) ; public getInsightResults ( args , options , cb ) ; public getInsightResults ( args , optionsOrCb ? , cb ? ) { const command = new GetInsightResultsCommand ( 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 and describes insights for the specified insight ARNs.</p>
     */ public getInsights ( args , options ? ) ; public getInsights ( args , cb ) ; public getInsights ( args , options , cb ) ; public getInsights ( args , optionsOrCb ? , cb ? ) { const command = new GetInsightsCommand ( 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 Security Hub membership invitations that were sent to the
     *          current member account, not including 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 ) ; } } deprecated 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>Returns the details for the Security Hub member accounts for the specified account IDs.</p>
     *          <p>An administrator account can be either the delegated Security Hub administrator account for an
     *          organization or an administrator account that enabled Security Hub manually.</p>
     *          <p>The results include both member accounts that are managed using Organizations and accounts that
     *          were invited manually.</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>Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that
     *          the invitation is sent from.</p>
     *          <p>This operation is only used to invite accounts that do not belong to an organization.
     *          Organization accounts do not receive invitations.</p>
     *          <p>Before you can use this action to invite a member, you must first use the <code>CreateMembers</code> action to create the member account in Security Hub.</p>
     *          <p>When the account owner enables Security Hub and accepts the invitation to become a member
     *          account, the administrator account can view the findings generated from the member 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 all findings-generating solutions (products) that you are subscribed to receive
     *          findings from in Security Hub.</p>
     */ public listEnabledProductsForImport ( args , options ? ) ; public listEnabledProductsForImport ( args , cb ) ; public listEnabledProductsForImport ( args , options , cb ) ; public listEnabledProductsForImport ( args , optionsOrCb ? , cb ? ) { const command = new ListEnabledProductsForImportCommand ( 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>If finding aggregation is enabled, then <code>ListFindingAggregators</code> returns the ARN of the finding aggregator. You can run this operation from any Region.</p>
     */ public listFindingAggregators ( args , options ? ) ; public listFindingAggregators ( args , cb ) ; public listFindingAggregators ( args , options , cb ) ; public listFindingAggregators ( args , optionsOrCb ? , cb ? ) { const command = new ListFindingAggregatorsCommand ( 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 Security Hub membership invitations that were sent to the current Amazon Web Services account.</p>
     *          <p>This operation is only used by accounts that are managed by invitation.
     *          Accounts that are managed using the integration with Organizations do not receive invitations.</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 details about all member accounts for the current Security Hub administrator
     *          account.</p>
     *          <p>The results include both member accounts that belong to an organization and member
     *          accounts that were invited manually.</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 Security Hub administrator accounts. Can only be called by the organization
     *          management account.</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 tags associated with a 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>Adds one or more 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>Removes one or more 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 name and description of a custom action target in Security Hub.</p>
     */ public updateActionTarget ( args , options ? ) ; public updateActionTarget ( args , cb ) ; public updateActionTarget ( args , options , cb ) ; public updateActionTarget ( args , optionsOrCb ? , cb ? ) { const command = new UpdateActionTargetCommand ( 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 finding aggregation configuration. Used to update the Region linking mode and the list of included or excluded Regions. You cannot use <code>UpdateFindingAggregator</code> to change the aggregation Region.</p>
     *          <p>You must run <code>UpdateFindingAggregator</code> from the current aggregation Region.
     *       </p>
     */ public updateFindingAggregator ( args , options ? ) ; public updateFindingAggregator ( args , cb ) ; public updateFindingAggregator ( args , options , cb ) ; public updateFindingAggregator ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFindingAggregatorCommand ( 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>
     *             <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, use
     *             <code>BatchUpdateFindings</code>.</p>
     *          <p>Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated
     *          findings that the filter attributes specify. Any member account that can view the finding
     *          also sees the update to the finding.</p>
     */ public updateFindings ( args , options ? ) ; public updateFindings ( args , cb ) ; public updateFindings ( args , options , cb ) ; public updateFindings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFindingsCommand ( 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 Security Hub insight identified by the specified insight ARN.</p>
     */ public updateInsight ( args , options ? ) ; public updateInsight ( args , cb ) ; public updateInsight ( args , options , cb ) ; public updateInsight ( args , optionsOrCb ? , cb ? ) { const command = new UpdateInsightCommand ( 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>Used to update the configuration related to Organizations. Can only be called from a
     *          Security Hub administrator account.</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 configuration options for Security Hub.</p>
     */ public updateSecurityHubConfiguration ( args , options ? ) ; public updateSecurityHubConfiguration ( args , cb ) ; public updateSecurityHubConfiguration ( args , options , cb ) ; public updateSecurityHubConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSecurityHubConfigurationCommand ( 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>Used to control whether an individual security standard control is enabled or
     *          disabled.</p>
     */ public updateStandardsControl ( args , options ? ) ; public updateStandardsControl ( args , cb ) ; public updateStandardsControl ( args , options , cb ) ; public updateStandardsControl ( args , optionsOrCb ? , cb ? ) { const command = new UpdateStandardsControlCommand ( 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 ) ; } } }