import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AuditManagerClient } from "./AuditManagerClient" ; import { AssociateAssessmentReportEvidenceFolderCommand , AssociateAssessmentReportEvidenceFolderCommandInput , AssociateAssessmentReportEvidenceFolderCommandOutput , } from "./commands/AssociateAssessmentReportEvidenceFolderCommand" ; import { BatchAssociateAssessmentReportEvidenceCommand , BatchAssociateAssessmentReportEvidenceCommandInput , BatchAssociateAssessmentReportEvidenceCommandOutput , } from "./commands/BatchAssociateAssessmentReportEvidenceCommand" ; import { BatchCreateDelegationByAssessmentCommand , BatchCreateDelegationByAssessmentCommandInput , BatchCreateDelegationByAssessmentCommandOutput , } from "./commands/BatchCreateDelegationByAssessmentCommand" ; import { BatchDeleteDelegationByAssessmentCommand , BatchDeleteDelegationByAssessmentCommandInput , BatchDeleteDelegationByAssessmentCommandOutput , } from "./commands/BatchDeleteDelegationByAssessmentCommand" ; import { BatchDisassociateAssessmentReportEvidenceCommand , BatchDisassociateAssessmentReportEvidenceCommandInput , BatchDisassociateAssessmentReportEvidenceCommandOutput , } from "./commands/BatchDisassociateAssessmentReportEvidenceCommand" ; import { BatchImportEvidenceToAssessmentControlCommand , BatchImportEvidenceToAssessmentControlCommandInput , BatchImportEvidenceToAssessmentControlCommandOutput , } from "./commands/BatchImportEvidenceToAssessmentControlCommand" ; import { CreateAssessmentCommand , CreateAssessmentCommandInput , CreateAssessmentCommandOutput , } from "./commands/CreateAssessmentCommand" ; import { CreateAssessmentFrameworkCommand , CreateAssessmentFrameworkCommandInput , CreateAssessmentFrameworkCommandOutput , } from "./commands/CreateAssessmentFrameworkCommand" ; import { CreateAssessmentReportCommand , CreateAssessmentReportCommandInput , CreateAssessmentReportCommandOutput , } from "./commands/CreateAssessmentReportCommand" ; import { CreateControlCommand , CreateControlCommandInput , CreateControlCommandOutput , } from "./commands/CreateControlCommand" ; import { DeleteAssessmentCommand , DeleteAssessmentCommandInput , DeleteAssessmentCommandOutput , } from "./commands/DeleteAssessmentCommand" ; import { DeleteAssessmentFrameworkCommand , DeleteAssessmentFrameworkCommandInput , DeleteAssessmentFrameworkCommandOutput , } from "./commands/DeleteAssessmentFrameworkCommand" ; import { DeleteAssessmentFrameworkShareCommand , DeleteAssessmentFrameworkShareCommandInput , DeleteAssessmentFrameworkShareCommandOutput , } from "./commands/DeleteAssessmentFrameworkShareCommand" ; import { DeleteAssessmentReportCommand , DeleteAssessmentReportCommandInput , DeleteAssessmentReportCommandOutput , } from "./commands/DeleteAssessmentReportCommand" ; import { DeleteControlCommand , DeleteControlCommandInput , DeleteControlCommandOutput , } from "./commands/DeleteControlCommand" ; import { DeregisterAccountCommand , DeregisterAccountCommandInput , DeregisterAccountCommandOutput , } from "./commands/DeregisterAccountCommand" ; import { DeregisterOrganizationAdminAccountCommand , DeregisterOrganizationAdminAccountCommandInput , DeregisterOrganizationAdminAccountCommandOutput , } from "./commands/DeregisterOrganizationAdminAccountCommand" ; import { DisassociateAssessmentReportEvidenceFolderCommand , DisassociateAssessmentReportEvidenceFolderCommandInput , DisassociateAssessmentReportEvidenceFolderCommandOutput , } from "./commands/DisassociateAssessmentReportEvidenceFolderCommand" ; import { GetAccountStatusCommand , GetAccountStatusCommandInput , GetAccountStatusCommandOutput , } from "./commands/GetAccountStatusCommand" ; import { GetAssessmentCommand , GetAssessmentCommandInput , GetAssessmentCommandOutput , } from "./commands/GetAssessmentCommand" ; import { GetAssessmentFrameworkCommand , GetAssessmentFrameworkCommandInput , GetAssessmentFrameworkCommandOutput , } from "./commands/GetAssessmentFrameworkCommand" ; import { GetAssessmentReportUrlCommand , GetAssessmentReportUrlCommandInput , GetAssessmentReportUrlCommandOutput , } from "./commands/GetAssessmentReportUrlCommand" ; import { GetChangeLogsCommand , GetChangeLogsCommandInput , GetChangeLogsCommandOutput , } from "./commands/GetChangeLogsCommand" ; import { GetControlCommand , GetControlCommandInput , GetControlCommandOutput } from "./commands/GetControlCommand" ; import { GetDelegationsCommand , GetDelegationsCommandInput , GetDelegationsCommandOutput , } from "./commands/GetDelegationsCommand" ; import { GetEvidenceByEvidenceFolderCommand , GetEvidenceByEvidenceFolderCommandInput , GetEvidenceByEvidenceFolderCommandOutput , } from "./commands/GetEvidenceByEvidenceFolderCommand" ; import { GetEvidenceCommand , GetEvidenceCommandInput , GetEvidenceCommandOutput } from "./commands/GetEvidenceCommand" ; import { GetEvidenceFolderCommand , GetEvidenceFolderCommandInput , GetEvidenceFolderCommandOutput , } from "./commands/GetEvidenceFolderCommand" ; import { GetEvidenceFoldersByAssessmentCommand , GetEvidenceFoldersByAssessmentCommandInput , GetEvidenceFoldersByAssessmentCommandOutput , } from "./commands/GetEvidenceFoldersByAssessmentCommand" ; import { GetEvidenceFoldersByAssessmentControlCommand , GetEvidenceFoldersByAssessmentControlCommandInput , GetEvidenceFoldersByAssessmentControlCommandOutput , } from "./commands/GetEvidenceFoldersByAssessmentControlCommand" ; import { GetInsightsByAssessmentCommand , GetInsightsByAssessmentCommandInput , GetInsightsByAssessmentCommandOutput , } from "./commands/GetInsightsByAssessmentCommand" ; import { GetInsightsCommand , GetInsightsCommandInput , GetInsightsCommandOutput } from "./commands/GetInsightsCommand" ; import { GetOrganizationAdminAccountCommand , GetOrganizationAdminAccountCommandInput , GetOrganizationAdminAccountCommandOutput , } from "./commands/GetOrganizationAdminAccountCommand" ; import { GetServicesInScopeCommand , GetServicesInScopeCommandInput , GetServicesInScopeCommandOutput , } from "./commands/GetServicesInScopeCommand" ; import { GetSettingsCommand , GetSettingsCommandInput , GetSettingsCommandOutput } from "./commands/GetSettingsCommand" ; import { ListAssessmentControlInsightsByControlDomainCommand , ListAssessmentControlInsightsByControlDomainCommandInput , ListAssessmentControlInsightsByControlDomainCommandOutput , } from "./commands/ListAssessmentControlInsightsByControlDomainCommand" ; import { ListAssessmentFrameworksCommand , ListAssessmentFrameworksCommandInput , ListAssessmentFrameworksCommandOutput , } from "./commands/ListAssessmentFrameworksCommand" ; import { ListAssessmentFrameworkShareRequestsCommand , ListAssessmentFrameworkShareRequestsCommandInput , ListAssessmentFrameworkShareRequestsCommandOutput , } from "./commands/ListAssessmentFrameworkShareRequestsCommand" ; import { ListAssessmentReportsCommand , ListAssessmentReportsCommandInput , ListAssessmentReportsCommandOutput , } from "./commands/ListAssessmentReportsCommand" ; import { ListAssessmentsCommand , ListAssessmentsCommandInput , ListAssessmentsCommandOutput , } from "./commands/ListAssessmentsCommand" ; import { ListControlDomainInsightsByAssessmentCommand , ListControlDomainInsightsByAssessmentCommandInput , ListControlDomainInsightsByAssessmentCommandOutput , } from "./commands/ListControlDomainInsightsByAssessmentCommand" ; import { ListControlDomainInsightsCommand , ListControlDomainInsightsCommandInput , ListControlDomainInsightsCommandOutput , } from "./commands/ListControlDomainInsightsCommand" ; import { ListControlInsightsByControlDomainCommand , ListControlInsightsByControlDomainCommandInput , ListControlInsightsByControlDomainCommandOutput , } from "./commands/ListControlInsightsByControlDomainCommand" ; import { ListControlsCommand , ListControlsCommandInput , ListControlsCommandOutput , } from "./commands/ListControlsCommand" ; import { ListKeywordsForDataSourceCommand , ListKeywordsForDataSourceCommandInput , ListKeywordsForDataSourceCommandOutput , } from "./commands/ListKeywordsForDataSourceCommand" ; import { ListNotificationsCommand , ListNotificationsCommandInput , ListNotificationsCommandOutput , } from "./commands/ListNotificationsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { RegisterAccountCommand , RegisterAccountCommandInput , RegisterAccountCommandOutput , } from "./commands/RegisterAccountCommand" ; import { RegisterOrganizationAdminAccountCommand , RegisterOrganizationAdminAccountCommandInput , RegisterOrganizationAdminAccountCommandOutput , } from "./commands/RegisterOrganizationAdminAccountCommand" ; import { StartAssessmentFrameworkShareCommand , StartAssessmentFrameworkShareCommandInput , StartAssessmentFrameworkShareCommandOutput , } from "./commands/StartAssessmentFrameworkShareCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAssessmentCommand , UpdateAssessmentCommandInput , UpdateAssessmentCommandOutput , } from "./commands/UpdateAssessmentCommand" ; import { UpdateAssessmentControlCommand , UpdateAssessmentControlCommandInput , UpdateAssessmentControlCommandOutput , } from "./commands/UpdateAssessmentControlCommand" ; import { UpdateAssessmentControlSetStatusCommand , UpdateAssessmentControlSetStatusCommandInput , UpdateAssessmentControlSetStatusCommandOutput , } from "./commands/UpdateAssessmentControlSetStatusCommand" ; import { UpdateAssessmentFrameworkCommand , UpdateAssessmentFrameworkCommandInput , UpdateAssessmentFrameworkCommandOutput , } from "./commands/UpdateAssessmentFrameworkCommand" ; import { UpdateAssessmentFrameworkShareCommand , UpdateAssessmentFrameworkShareCommandInput , UpdateAssessmentFrameworkShareCommandOutput , } from "./commands/UpdateAssessmentFrameworkShareCommand" ; import { UpdateAssessmentStatusCommand , UpdateAssessmentStatusCommandInput , UpdateAssessmentStatusCommandOutput , } from "./commands/UpdateAssessmentStatusCommand" ; import { UpdateControlCommand , UpdateControlCommandInput , UpdateControlCommandOutput , } from "./commands/UpdateControlCommand" ; import { UpdateSettingsCommand , UpdateSettingsCommandInput , UpdateSettingsCommandOutput , } from "./commands/UpdateSettingsCommand" ; import { ValidateAssessmentReportIntegrityCommand , ValidateAssessmentReportIntegrityCommandInput , ValidateAssessmentReportIntegrityCommandOutput , } from "./commands/ValidateAssessmentReportIntegrityCommand" ; /**
 * <p>Welcome to the Audit Manager API reference. This guide is for developers who
 *          need detailed information about the Audit Manager API operations, data types, and
 *          errors. </p>
 *          <p>Audit Manager is a service that provides automated evidence collection so that
 *          you can continually audit your Amazon Web Services usage. You can use it to assess the
 *          effectiveness of your controls, manage risk, and simplify compliance.</p>
 *          <p>Audit Manager provides prebuilt frameworks that structure and automate
 *          assessments for a given compliance standard. Frameworks include a prebuilt collection of
 *          controls with descriptions and testing procedures. These controls are grouped according to
 *          the requirements of the specified compliance standard or regulation. You can also customize
 *          frameworks and controls to support internal audits with specific requirements. </p>
 *          <p>Use the following links to get started with the Audit Manager API:</p>
 *          <ul>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>: An
 *                alphabetical list of all Audit Manager API operations.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data types</a>: An alphabetical list of all Audit Manager data
 *                types.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
 *                   parameters</a>: Parameters that all Query operations can use.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common errors</a>:
 *                Client and server errors that all operations can return.</p>
 *             </li>
 *          </ul>
 *          <p>If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
 *             Audit Manager User Guide</a>.</p>
 */ export class AuditManager extends AuditManagerClient { /**
     * <p> Associates an evidence folder to an assessment report in a Audit Manager
     *          assessment. </p>
     */ public associateAssessmentReportEvidenceFolder ( args , options ? ) ; public associateAssessmentReportEvidenceFolder ( args , cb ) ; public associateAssessmentReportEvidenceFolder ( args , options , cb ) ; public associateAssessmentReportEvidenceFolder ( args , optionsOrCb ? , cb ? ) { const command = new AssociateAssessmentReportEvidenceFolderCommand ( 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> Associates a list of evidence to an assessment report in an Audit Manager
     *          assessment. </p>
     */ public batchAssociateAssessmentReportEvidence ( args , options ? ) ; public batchAssociateAssessmentReportEvidence ( args , cb ) ; public batchAssociateAssessmentReportEvidence ( args , options , cb ) ; public batchAssociateAssessmentReportEvidence ( args , optionsOrCb ? , cb ? ) { const command = new BatchAssociateAssessmentReportEvidenceCommand ( 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 batch of delegations for an assessment in Audit Manager. </p>
     */ public batchCreateDelegationByAssessment ( args , options ? ) ; public batchCreateDelegationByAssessment ( args , cb ) ; public batchCreateDelegationByAssessment ( args , options , cb ) ; public batchCreateDelegationByAssessment ( args , optionsOrCb ? , cb ? ) { const command = new BatchCreateDelegationByAssessmentCommand ( 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 batch of delegations for an assessment in Audit Manager. </p>
     */ public batchDeleteDelegationByAssessment ( args , options ? ) ; public batchDeleteDelegationByAssessment ( args , cb ) ; public batchDeleteDelegationByAssessment ( args , options , cb ) ; public batchDeleteDelegationByAssessment ( args , optionsOrCb ? , cb ? ) { const command = new BatchDeleteDelegationByAssessmentCommand ( 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 a list of evidence from an assessment report in Audit Manager.
     *       </p>
     */ public batchDisassociateAssessmentReportEvidence ( args , options ? ) ; public batchDisassociateAssessmentReportEvidence ( args , cb ) ; public batchDisassociateAssessmentReportEvidence ( args , options , cb ) ; public batchDisassociateAssessmentReportEvidence ( args , optionsOrCb ? , cb ? ) { const command = new BatchDisassociateAssessmentReportEvidenceCommand ( 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> Uploads one or more pieces of evidence to a control in an Audit Manager
     *          assessment. </p>
     */ public batchImportEvidenceToAssessmentControl ( args , options ? ) ; public batchImportEvidenceToAssessmentControl ( args , cb ) ; public batchImportEvidenceToAssessmentControl ( args , options , cb ) ; public batchImportEvidenceToAssessmentControl ( args , optionsOrCb ? , cb ? ) { const command = new BatchImportEvidenceToAssessmentControlCommand ( 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 an assessment in Audit Manager. </p>
     */ public createAssessment ( args , options ? ) ; public createAssessment ( args , cb ) ; public createAssessment ( args , options , cb ) ; public createAssessment ( args , optionsOrCb ? , cb ? ) { const command = new CreateAssessmentCommand ( 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 framework in Audit Manager. </p>
     */ public createAssessmentFramework ( args , options ? ) ; public createAssessmentFramework ( args , cb ) ; public createAssessmentFramework ( args , options , cb ) ; public createAssessmentFramework ( args , optionsOrCb ? , cb ? ) { const command = new CreateAssessmentFrameworkCommand ( 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 an assessment report for the specified assessment. </p>
     */ public createAssessmentReport ( args , options ? ) ; public createAssessmentReport ( args , cb ) ; public createAssessmentReport ( args , options , cb ) ; public createAssessmentReport ( args , optionsOrCb ? , cb ? ) { const command = new CreateAssessmentReportCommand ( 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 custom control in Audit Manager. </p>
     */ public createControl ( args , options ? ) ; public createControl ( args , cb ) ; public createControl ( args , options , cb ) ; public createControl ( args , optionsOrCb ? , cb ? ) { const command = new CreateControlCommand ( 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 assessment in Audit Manager. </p>
     */ public deleteAssessment ( args , options ? ) ; public deleteAssessment ( args , cb ) ; public deleteAssessment ( args , options , cb ) ; public deleteAssessment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAssessmentCommand ( 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 framework in Audit Manager. </p>
     */ public deleteAssessmentFramework ( args , options ? ) ; public deleteAssessmentFramework ( args , cb ) ; public deleteAssessmentFramework ( args , options , cb ) ; public deleteAssessmentFramework ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAssessmentFrameworkCommand ( 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 share request for a custom framework in Audit Manager.
     *       </p>
     */ public deleteAssessmentFrameworkShare ( args , options ? ) ; public deleteAssessmentFrameworkShare ( args , cb ) ; public deleteAssessmentFrameworkShare ( args , options , cb ) ; public deleteAssessmentFrameworkShare ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAssessmentFrameworkShareCommand ( 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 assessment report from an assessment in Audit Manager. </p>
     */ public deleteAssessmentReport ( args , options ? ) ; public deleteAssessmentReport ( args , cb ) ; public deleteAssessmentReport ( args , options , cb ) ; public deleteAssessmentReport ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAssessmentReportCommand ( 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 control in Audit Manager. </p>
     */ public deleteControl ( args , options ? ) ; public deleteControl ( args , cb ) ; public deleteControl ( args , options , cb ) ; public deleteControl ( args , optionsOrCb ? , cb ? ) { const command = new DeleteControlCommand ( 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> Deregisters an account in Audit Manager. </p>
     */ public deregisterAccount ( args , options ? ) ; public deregisterAccount ( args , cb ) ; public deregisterAccount ( args , options , cb ) ; public deregisterAccount ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterAccountCommand ( 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 the specified member Amazon Web Services account as a delegated administrator for
     *          Audit Manager. </p>
     *          <important>
     *             <p>When you remove a delegated administrator from your Audit Manager settings, you
     *             continue to have access to the evidence that you previously collected under that
     *             account. This is also the case when you deregister a delegated administrator from
     *             Audit Manager. However, Audit Manager will stop collecting and attaching
     *             evidence to that delegated administrator account moving forward.</p>
     *          </important>
     */ public deregisterOrganizationAdminAccount ( args , options ? ) ; public deregisterOrganizationAdminAccount ( args , cb ) ; public deregisterOrganizationAdminAccount ( args , options , cb ) ; public deregisterOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterOrganizationAdminAccountCommand ( 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 an evidence folder from the specified assessment report in Audit Manager. </p>
     */ public disassociateAssessmentReportEvidenceFolder ( args , options ? ) ; public disassociateAssessmentReportEvidenceFolder ( args , cb ) ; public disassociateAssessmentReportEvidenceFolder ( args , options , cb ) ; public disassociateAssessmentReportEvidenceFolder ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateAssessmentReportEvidenceFolderCommand ( 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 registration status of an account in Audit Manager. </p>
     */ public getAccountStatus ( args , options ? ) ; public getAccountStatus ( args , cb ) ; public getAccountStatus ( args , options , cb ) ; public getAccountStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetAccountStatusCommand ( 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 an assessment from Audit Manager. </p>
     */ public getAssessment ( args , options ? ) ; public getAssessment ( args , cb ) ; public getAssessment ( args , options , cb ) ; public getAssessment ( args , optionsOrCb ? , cb ? ) { const command = new GetAssessmentCommand ( 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 framework from Audit Manager. </p>
     */ public getAssessmentFramework ( args , options ? ) ; public getAssessmentFramework ( args , cb ) ; public getAssessmentFramework ( args , options , cb ) ; public getAssessmentFramework ( args , optionsOrCb ? , cb ? ) { const command = new GetAssessmentFrameworkCommand ( 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 URL of an assessment report in Audit Manager. </p>
     */ public getAssessmentReportUrl ( args , options ? ) ; public getAssessmentReportUrl ( args , cb ) ; public getAssessmentReportUrl ( args , options , cb ) ; public getAssessmentReportUrl ( args , optionsOrCb ? , cb ? ) { const command = new GetAssessmentReportUrlCommand ( 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 changelogs from Audit Manager. </p>
     */ public getChangeLogs ( args , options ? ) ; public getChangeLogs ( args , cb ) ; public getChangeLogs ( args , options , cb ) ; public getChangeLogs ( args , optionsOrCb ? , cb ? ) { const command = new GetChangeLogsCommand ( 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 control from Audit Manager. </p>
     */ public getControl ( args , options ? ) ; public getControl ( args , cb ) ; public getControl ( args , options , cb ) ; public getControl ( args , optionsOrCb ? , cb ? ) { const command = new GetControlCommand ( 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 delegations from an audit owner to a delegate. </p>
     */ public getDelegations ( args , options ? ) ; public getDelegations ( args , cb ) ; public getDelegations ( args , options , cb ) ; public getDelegations ( args , optionsOrCb ? , cb ? ) { const command = new GetDelegationsCommand ( 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 evidence from Audit Manager. </p>
     */ public getEvidence ( args , options ? ) ; public getEvidence ( args , cb ) ; public getEvidence ( args , options , cb ) ; public getEvidence ( args , optionsOrCb ? , cb ? ) { const command = new GetEvidenceCommand ( 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 all evidence from a specified evidence folder in Audit Manager. </p>
     */ public getEvidenceByEvidenceFolder ( args , options ? ) ; public getEvidenceByEvidenceFolder ( args , cb ) ; public getEvidenceByEvidenceFolder ( args , options , cb ) ; public getEvidenceByEvidenceFolder ( args , optionsOrCb ? , cb ? ) { const command = new GetEvidenceByEvidenceFolderCommand ( 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 an evidence folder from the specified assessment in Audit Manager.
     *       </p>
     */ public getEvidenceFolder ( args , options ? ) ; public getEvidenceFolder ( args , cb ) ; public getEvidenceFolder ( args , options , cb ) ; public getEvidenceFolder ( args , optionsOrCb ? , cb ? ) { const command = new GetEvidenceFolderCommand ( 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 evidence folders from a specified assessment in Audit Manager.
     *       </p>
     */ public getEvidenceFoldersByAssessment ( args , options ? ) ; public getEvidenceFoldersByAssessment ( args , cb ) ; public getEvidenceFoldersByAssessment ( args , options , cb ) ; public getEvidenceFoldersByAssessment ( args , optionsOrCb ? , cb ? ) { const command = new GetEvidenceFoldersByAssessmentCommand ( 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 evidence folders that are associated with a specified control of an
     *          assessment in Audit Manager. </p>
     */ public getEvidenceFoldersByAssessmentControl ( args , options ? ) ; public getEvidenceFoldersByAssessmentControl ( args , cb ) ; public getEvidenceFoldersByAssessmentControl ( args , options , cb ) ; public getEvidenceFoldersByAssessmentControl ( args , optionsOrCb ? , cb ? ) { const command = new GetEvidenceFoldersByAssessmentControlCommand ( 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>Gets the latest analytics data for all your current active assessments. </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>Gets the latest analytics data for a specific active assessment. </p>
     */ public getInsightsByAssessment ( args , options ? ) ; public getInsightsByAssessment ( args , cb ) ; public getInsightsByAssessment ( args , options , cb ) ; public getInsightsByAssessment ( args , optionsOrCb ? , cb ? ) { const command = new GetInsightsByAssessmentCommand ( 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 name of the delegated Amazon Web Services administrator account for the
     *          organization. </p>
     */ public getOrganizationAdminAccount ( args , options ? ) ; public getOrganizationAdminAccount ( args , cb ) ; public getOrganizationAdminAccount ( args , options , cb ) ; public getOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new GetOrganizationAdminAccountCommand ( 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 in-scope Amazon Web Services services for the specified
     *          assessment. </p>
     */ public getServicesInScope ( args , options ? ) ; public getServicesInScope ( args , cb ) ; public getServicesInScope ( args , options , cb ) ; public getServicesInScope ( args , optionsOrCb ? , cb ? ) { const command = new GetServicesInScopeCommand ( 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 settings for the specified Amazon Web Services account. </p>
     */ public getSettings ( args , options ? ) ; public getSettings ( args , cb ) ; public getSettings ( args , options , cb ) ; public getSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetSettingsCommand ( 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 latest analytics data for controls within a specific control domain and a
     *          specific active assessment.</p>
     *          <note>
     *             <p>Control insights are listed only if the control belongs to the control domain and assessment
     *          that was specified. Moreover, the control must have collected evidence on the
     *          <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>. If neither
     *          of these conditions are met, no data is listed for that control. </p>
     *          </note>
     */ public listAssessmentControlInsightsByControlDomain ( args , options ? ) ; public listAssessmentControlInsightsByControlDomain ( args , cb ) ; public listAssessmentControlInsightsByControlDomain ( args , options , cb ) ; public listAssessmentControlInsightsByControlDomain ( args , optionsOrCb ? , cb ? ) { const command = new ListAssessmentControlInsightsByControlDomainCommand ( 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 frameworks that are available in the Audit Manager
     *          framework library. </p>
     */ public listAssessmentFrameworks ( args , options ? ) ; public listAssessmentFrameworks ( args , cb ) ; public listAssessmentFrameworks ( args , options , cb ) ; public listAssessmentFrameworks ( args , optionsOrCb ? , cb ? ) { const command = new ListAssessmentFrameworksCommand ( 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 sent or received share requests for custom frameworks in Audit Manager. </p>
     */ public listAssessmentFrameworkShareRequests ( args , options ? ) ; public listAssessmentFrameworkShareRequests ( args , cb ) ; public listAssessmentFrameworkShareRequests ( args , options , cb ) ; public listAssessmentFrameworkShareRequests ( args , optionsOrCb ? , cb ? ) { const command = new ListAssessmentFrameworkShareRequestsCommand ( 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 assessment reports created in Audit Manager. </p>
     */ public listAssessmentReports ( args , options ? ) ; public listAssessmentReports ( args , cb ) ; public listAssessmentReports ( args , options , cb ) ; public listAssessmentReports ( args , optionsOrCb ? , cb ? ) { const command = new ListAssessmentReportsCommand ( 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 current and past assessments from Audit Manager. </p>
     */ public listAssessments ( args , options ? ) ; public listAssessments ( args , cb ) ; public listAssessments ( args , options , cb ) ; public listAssessments ( args , optionsOrCb ? , cb ? ) { const command = new ListAssessmentsCommand ( 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 latest analytics data for control domains across all of your active
     *          assessments. </p>
     *          <note>
     *             <p>A control domain is listed only if at least one of the controls within that domain collected
     *          evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
     *          this condition isn’t met, no data is listed for that control domain.</p>
     *          </note>
     */ public listControlDomainInsights ( args , options ? ) ; public listControlDomainInsights ( args , cb ) ; public listControlDomainInsights ( args , options , cb ) ; public listControlDomainInsights ( args , optionsOrCb ? , cb ? ) { const command = new ListControlDomainInsightsCommand ( 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 analytics data for control domains within a specified active assessment.</p>
     *          <note>
     *             <p>A control domain is listed only if at least one of the controls within that domain collected
     *          evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>. If
     *          this condition isn’t met, no data is listed for that domain.</p>
     *          </note>
     */ public listControlDomainInsightsByAssessment ( args , options ? ) ; public listControlDomainInsightsByAssessment ( args , cb ) ; public listControlDomainInsightsByAssessment ( args , options , cb ) ; public listControlDomainInsightsByAssessment ( args , optionsOrCb ? , cb ? ) { const command = new ListControlDomainInsightsByAssessmentCommand ( 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 latest analytics data for controls within a specific control domain across all
     *          active assessments.</p>
     *          <note>
     *             <p>Control insights are listed only if the control belongs to the control domain that was
     *          specified and the control collected evidence on the <code>lastUpdated</code> date of
     *          <code>controlInsightsMetadata</code>. If neither of these conditions are met, no data
     *          is listed for that control. </p>
     *          </note>
     */ public listControlInsightsByControlDomain ( args , options ? ) ; public listControlInsightsByControlDomain ( args , cb ) ; public listControlInsightsByControlDomain ( args , options , cb ) ; public listControlInsightsByControlDomain ( args , optionsOrCb ? , cb ? ) { const command = new ListControlInsightsByControlDomainCommand ( 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 controls from Audit Manager. </p>
     */ public listControls ( args , options ? ) ; public listControls ( args , cb ) ; public listControls ( args , options , cb ) ; public listControls ( args , optionsOrCb ? , cb ? ) { const command = new ListControlsCommand ( 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 keywords that are pre-mapped to the specified control data source. </p>
     */ public listKeywordsForDataSource ( args , options ? ) ; public listKeywordsForDataSource ( args , cb ) ; public listKeywordsForDataSource ( args , options , cb ) ; public listKeywordsForDataSource ( args , optionsOrCb ? , cb ? ) { const command = new ListKeywordsForDataSourceCommand ( 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 all Audit Manager notifications. </p>
     */ public listNotifications ( args , options ? ) ; public listNotifications ( args , cb ) ; public listNotifications ( args , options , cb ) ; public listNotifications ( args , optionsOrCb ? , cb ? ) { const command = new ListNotificationsCommand ( 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 for the specified resource in Audit Manager. </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> Enables Audit Manager for the specified Amazon Web Services account. </p>
     */ public registerAccount ( args , options ? ) ; public registerAccount ( args , cb ) ; public registerAccount ( args , options , cb ) ; public registerAccount ( args , optionsOrCb ? , cb ? ) { const command = new RegisterAccountCommand ( 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 Amazon Web Services account within the organization as the delegated
     *          administrator for Audit Manager. </p>
     */ public registerOrganizationAdminAccount ( args , options ? ) ; public registerOrganizationAdminAccount ( args , cb ) ; public registerOrganizationAdminAccount ( args , options , cb ) ; public registerOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new RegisterOrganizationAdminAccountCommand ( 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 share request for a custom framework in Audit Manager. </p>
     *          <p>The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.</p>
     *          <important>
     *             <p>When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about to
     *             share a custom framework with another Amazon Web Services account. You may not share a
     *             custom framework that is derived from a standard framework if the standard framework is
     *             designated as not eligible for sharing by Amazon Web Services, unless you have obtained
     *             permission to do so from the owner of the standard framework. To learn more about which
     *             standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework sharing eligibility</a> in the <i>Audit Manager User
     *                Guide</i>.</p>
     *          </important>
     */ public startAssessmentFrameworkShare ( args , options ? ) ; public startAssessmentFrameworkShare ( args , cb ) ; public startAssessmentFrameworkShare ( args , options , cb ) ; public startAssessmentFrameworkShare ( args , optionsOrCb ? , cb ? ) { const command = new StartAssessmentFrameworkShareCommand ( 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> Tags the specified resource in Audit Manager. </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 a tag from a resource in Audit Manager. </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> Edits an Audit Manager assessment. </p>
     */ public updateAssessment ( args , options ? ) ; public updateAssessment ( args , cb ) ; public updateAssessment ( args , options , cb ) ; public updateAssessment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssessmentCommand ( 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 a control within an assessment in Audit Manager. </p>
     */ public updateAssessmentControl ( args , options ? ) ; public updateAssessmentControl ( args , cb ) ; public updateAssessmentControl ( args , options , cb ) ; public updateAssessmentControl ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssessmentControlCommand ( 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 status of a control set in an Audit Manager assessment. </p>
     */ public updateAssessmentControlSetStatus ( args , options ? ) ; public updateAssessmentControlSetStatus ( args , cb ) ; public updateAssessmentControlSetStatus ( args , options , cb ) ; public updateAssessmentControlSetStatus ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssessmentControlSetStatusCommand ( 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 a custom framework in Audit Manager. </p>
     */ public updateAssessmentFramework ( args , options ? ) ; public updateAssessmentFramework ( args , cb ) ; public updateAssessmentFramework ( args , options , cb ) ; public updateAssessmentFramework ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssessmentFrameworkCommand ( 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 a share request for a custom framework in Audit Manager. </p>
     */ public updateAssessmentFrameworkShare ( args , options ? ) ; public updateAssessmentFrameworkShare ( args , cb ) ; public updateAssessmentFrameworkShare ( args , options , cb ) ; public updateAssessmentFrameworkShare ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssessmentFrameworkShareCommand ( 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 status of an assessment in Audit Manager. </p>
     */ public updateAssessmentStatus ( args , options ? ) ; public updateAssessmentStatus ( args , cb ) ; public updateAssessmentStatus ( args , options , cb ) ; public updateAssessmentStatus ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssessmentStatusCommand ( 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 a custom control in Audit Manager. </p>
     */ public updateControl ( args , options ? ) ; public updateControl ( args , cb ) ; public updateControl ( args , options , cb ) ; public updateControl ( args , optionsOrCb ? , cb ? ) { const command = new UpdateControlCommand ( 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 Audit Manager settings for the current user account. </p>
     */ public updateSettings ( args , options ? ) ; public updateSettings ( args , cb ) ; public updateSettings ( args , options , cb ) ; public updateSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSettingsCommand ( 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> Validates the integrity of an assessment report in Audit Manager. </p>
     */ public validateAssessmentReportIntegrity ( args , options ? ) ; public validateAssessmentReportIntegrity ( args , cb ) ; public validateAssessmentReportIntegrity ( args , options , cb ) ; public validateAssessmentReportIntegrity ( args , optionsOrCb ? , cb ? ) { const command = new ValidateAssessmentReportIntegrityCommand ( 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 ) ; } } }