UNPKG

prowler-sdk-poc

Version:
1,027 lines (1,026 loc) 95.8 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class AuditManager extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: AuditManager.Types.ClientConfiguration) config: Config & AuditManager.Types.ClientConfiguration; /** * Associates an evidence folder to the specified assessment report in Audit Manager. */ associateAssessmentReportEvidenceFolder(params: AuditManager.Types.AssociateAssessmentReportEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse, AWSError>; /** * Associates an evidence folder to the specified assessment report in Audit Manager. */ associateAssessmentReportEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse, AWSError>; /** * Associates a list of evidence to an assessment report in an Audit Manager assessment. */ batchAssociateAssessmentReportEvidence(params: AuditManager.Types.BatchAssociateAssessmentReportEvidenceRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse, AWSError>; /** * Associates a list of evidence to an assessment report in an Audit Manager assessment. */ batchAssociateAssessmentReportEvidence(callback?: (err: AWSError, data: AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse, AWSError>; /** * Create a batch of delegations for a specified assessment in Audit Manager. */ batchCreateDelegationByAssessment(params: AuditManager.Types.BatchCreateDelegationByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchCreateDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchCreateDelegationByAssessmentResponse, AWSError>; /** * Create a batch of delegations for a specified assessment in Audit Manager. */ batchCreateDelegationByAssessment(callback?: (err: AWSError, data: AuditManager.Types.BatchCreateDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchCreateDelegationByAssessmentResponse, AWSError>; /** * Deletes the delegations in the specified Audit Manager assessment. */ batchDeleteDelegationByAssessment(params: AuditManager.Types.BatchDeleteDelegationByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchDeleteDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchDeleteDelegationByAssessmentResponse, AWSError>; /** * Deletes the delegations in the specified Audit Manager assessment. */ batchDeleteDelegationByAssessment(callback?: (err: AWSError, data: AuditManager.Types.BatchDeleteDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchDeleteDelegationByAssessmentResponse, AWSError>; /** * Disassociates a list of evidence from the specified assessment report in Audit Manager. */ batchDisassociateAssessmentReportEvidence(params: AuditManager.Types.BatchDisassociateAssessmentReportEvidenceRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse, AWSError>; /** * Disassociates a list of evidence from the specified assessment report in Audit Manager. */ batchDisassociateAssessmentReportEvidence(callback?: (err: AWSError, data: AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse, AWSError>; /** * Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager. */ batchImportEvidenceToAssessmentControl(params: AuditManager.Types.BatchImportEvidenceToAssessmentControlRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse) => void): Request<AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse, AWSError>; /** * Uploads one or more pieces of evidence to the specified control in the assessment in Audit Manager. */ batchImportEvidenceToAssessmentControl(callback?: (err: AWSError, data: AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse) => void): Request<AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse, AWSError>; /** * Creates an assessment in Audit Manager. */ createAssessment(params: AuditManager.Types.CreateAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentResponse) => void): Request<AuditManager.Types.CreateAssessmentResponse, AWSError>; /** * Creates an assessment in Audit Manager. */ createAssessment(callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentResponse) => void): Request<AuditManager.Types.CreateAssessmentResponse, AWSError>; /** * Creates a custom framework in Audit Manager. */ createAssessmentFramework(params: AuditManager.Types.CreateAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.CreateAssessmentFrameworkResponse, AWSError>; /** * Creates a custom framework in Audit Manager. */ createAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.CreateAssessmentFrameworkResponse, AWSError>; /** * Creates an assessment report for the specified assessment. */ createAssessmentReport(params: AuditManager.Types.CreateAssessmentReportRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentReportResponse) => void): Request<AuditManager.Types.CreateAssessmentReportResponse, AWSError>; /** * Creates an assessment report for the specified assessment. */ createAssessmentReport(callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentReportResponse) => void): Request<AuditManager.Types.CreateAssessmentReportResponse, AWSError>; /** * Creates a new custom control in Audit Manager. */ createControl(params: AuditManager.Types.CreateControlRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateControlResponse) => void): Request<AuditManager.Types.CreateControlResponse, AWSError>; /** * Creates a new custom control in Audit Manager. */ createControl(callback?: (err: AWSError, data: AuditManager.Types.CreateControlResponse) => void): Request<AuditManager.Types.CreateControlResponse, AWSError>; /** * Deletes an assessment in Audit Manager. */ deleteAssessment(params: AuditManager.Types.DeleteAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentResponse) => void): Request<AuditManager.Types.DeleteAssessmentResponse, AWSError>; /** * Deletes an assessment in Audit Manager. */ deleteAssessment(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentResponse) => void): Request<AuditManager.Types.DeleteAssessmentResponse, AWSError>; /** * Deletes a custom framework in Audit Manager. */ deleteAssessmentFramework(params: AuditManager.Types.DeleteAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentFrameworkResponse) => void): Request<AuditManager.Types.DeleteAssessmentFrameworkResponse, AWSError>; /** * Deletes a custom framework in Audit Manager. */ deleteAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentFrameworkResponse) => void): Request<AuditManager.Types.DeleteAssessmentFrameworkResponse, AWSError>; /** * Deletes an assessment report from an assessment in Audit Manager. */ deleteAssessmentReport(params: AuditManager.Types.DeleteAssessmentReportRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentReportResponse) => void): Request<AuditManager.Types.DeleteAssessmentReportResponse, AWSError>; /** * Deletes an assessment report from an assessment in Audit Manager. */ deleteAssessmentReport(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentReportResponse) => void): Request<AuditManager.Types.DeleteAssessmentReportResponse, AWSError>; /** * Deletes a custom control in Audit Manager. */ deleteControl(params: AuditManager.Types.DeleteControlRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteControlResponse) => void): Request<AuditManager.Types.DeleteControlResponse, AWSError>; /** * Deletes a custom control in Audit Manager. */ deleteControl(callback?: (err: AWSError, data: AuditManager.Types.DeleteControlResponse) => void): Request<AuditManager.Types.DeleteControlResponse, AWSError>; /** * Deregisters an account in Audit Manager. */ deregisterAccount(params: AuditManager.Types.DeregisterAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.DeregisterAccountResponse) => void): Request<AuditManager.Types.DeregisterAccountResponse, AWSError>; /** * Deregisters an account in Audit Manager. */ deregisterAccount(callback?: (err: AWSError, data: AuditManager.Types.DeregisterAccountResponse) => void): Request<AuditManager.Types.DeregisterAccountResponse, AWSError>; /** * Removes the specified member Amazon Web Services account as a delegated administrator for Audit Manager. When you remove a delegated administrator from your Audit Manager settings, or when you deregister a delegated administrator from Organizations, you continue to have access to the evidence that you previously collected under that account. However, Audit Manager will stop collecting and attaching evidence to that delegated administrator account moving forward. */ deregisterOrganizationAdminAccount(params: AuditManager.Types.DeregisterOrganizationAdminAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.DeregisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.DeregisterOrganizationAdminAccountResponse, AWSError>; /** * Removes the specified member Amazon Web Services account as a delegated administrator for Audit Manager. When you remove a delegated administrator from your Audit Manager settings, or when you deregister a delegated administrator from Organizations, you continue to have access to the evidence that you previously collected under that account. However, Audit Manager will stop collecting and attaching evidence to that delegated administrator account moving forward. */ deregisterOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.DeregisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.DeregisterOrganizationAdminAccountResponse, AWSError>; /** * Disassociates an evidence folder from the specified assessment report in Audit Manager. */ disassociateAssessmentReportEvidenceFolder(params: AuditManager.Types.DisassociateAssessmentReportEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse, AWSError>; /** * Disassociates an evidence folder from the specified assessment report in Audit Manager. */ disassociateAssessmentReportEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse, AWSError>; /** * Returns the registration status of an account in Audit Manager. */ getAccountStatus(params: AuditManager.Types.GetAccountStatusRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAccountStatusResponse) => void): Request<AuditManager.Types.GetAccountStatusResponse, AWSError>; /** * Returns the registration status of an account in Audit Manager. */ getAccountStatus(callback?: (err: AWSError, data: AuditManager.Types.GetAccountStatusResponse) => void): Request<AuditManager.Types.GetAccountStatusResponse, AWSError>; /** * Returns an assessment from Audit Manager. */ getAssessment(params: AuditManager.Types.GetAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentResponse) => void): Request<AuditManager.Types.GetAssessmentResponse, AWSError>; /** * Returns an assessment from Audit Manager. */ getAssessment(callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentResponse) => void): Request<AuditManager.Types.GetAssessmentResponse, AWSError>; /** * Returns a framework from Audit Manager. */ getAssessmentFramework(params: AuditManager.Types.GetAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentFrameworkResponse) => void): Request<AuditManager.Types.GetAssessmentFrameworkResponse, AWSError>; /** * Returns a framework from Audit Manager. */ getAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentFrameworkResponse) => void): Request<AuditManager.Types.GetAssessmentFrameworkResponse, AWSError>; /** * Returns the URL of a specified assessment report in Audit Manager. */ getAssessmentReportUrl(params: AuditManager.Types.GetAssessmentReportUrlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentReportUrlResponse) => void): Request<AuditManager.Types.GetAssessmentReportUrlResponse, AWSError>; /** * Returns the URL of a specified assessment report in Audit Manager. */ getAssessmentReportUrl(callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentReportUrlResponse) => void): Request<AuditManager.Types.GetAssessmentReportUrlResponse, AWSError>; /** * Returns a list of changelogs from Audit Manager. */ getChangeLogs(params: AuditManager.Types.GetChangeLogsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetChangeLogsResponse) => void): Request<AuditManager.Types.GetChangeLogsResponse, AWSError>; /** * Returns a list of changelogs from Audit Manager. */ getChangeLogs(callback?: (err: AWSError, data: AuditManager.Types.GetChangeLogsResponse) => void): Request<AuditManager.Types.GetChangeLogsResponse, AWSError>; /** * Returns a control from Audit Manager. */ getControl(params: AuditManager.Types.GetControlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetControlResponse) => void): Request<AuditManager.Types.GetControlResponse, AWSError>; /** * Returns a control from Audit Manager. */ getControl(callback?: (err: AWSError, data: AuditManager.Types.GetControlResponse) => void): Request<AuditManager.Types.GetControlResponse, AWSError>; /** * Returns a list of delegations from an audit owner to a delegate. */ getDelegations(params: AuditManager.Types.GetDelegationsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetDelegationsResponse) => void): Request<AuditManager.Types.GetDelegationsResponse, AWSError>; /** * Returns a list of delegations from an audit owner to a delegate. */ getDelegations(callback?: (err: AWSError, data: AuditManager.Types.GetDelegationsResponse) => void): Request<AuditManager.Types.GetDelegationsResponse, AWSError>; /** * Returns evidence from Audit Manager. */ getEvidence(params: AuditManager.Types.GetEvidenceRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceResponse) => void): Request<AuditManager.Types.GetEvidenceResponse, AWSError>; /** * Returns evidence from Audit Manager. */ getEvidence(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceResponse) => void): Request<AuditManager.Types.GetEvidenceResponse, AWSError>; /** * Returns all evidence from a specified evidence folder in Audit Manager. */ getEvidenceByEvidenceFolder(params: AuditManager.Types.GetEvidenceByEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceByEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceByEvidenceFolderResponse, AWSError>; /** * Returns all evidence from a specified evidence folder in Audit Manager. */ getEvidenceByEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceByEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceByEvidenceFolderResponse, AWSError>; /** * Returns an evidence folder from the specified assessment in Audit Manager. */ getEvidenceFolder(params: AuditManager.Types.GetEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceFolderResponse, AWSError>; /** * Returns an evidence folder from the specified assessment in Audit Manager. */ getEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceFolderResponse, AWSError>; /** * Returns the evidence folders from a specified assessment in Audit Manager. */ getEvidenceFoldersByAssessment(params: AuditManager.Types.GetEvidenceFoldersByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentResponse, AWSError>; /** * Returns the evidence folders from a specified assessment in Audit Manager. */ getEvidenceFoldersByAssessment(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentResponse, AWSError>; /** * Returns a list of evidence folders associated with a specified control of an assessment in Audit Manager. */ getEvidenceFoldersByAssessmentControl(params: AuditManager.Types.GetEvidenceFoldersByAssessmentControlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse, AWSError>; /** * Returns a list of evidence folders associated with a specified control of an assessment in Audit Manager. */ getEvidenceFoldersByAssessmentControl(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse, AWSError>; /** * Returns the name of the delegated Amazon Web Services administrator account for the organization. */ getOrganizationAdminAccount(params: AuditManager.Types.GetOrganizationAdminAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.GetOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.GetOrganizationAdminAccountResponse, AWSError>; /** * Returns the name of the delegated Amazon Web Services administrator account for the organization. */ getOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.GetOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.GetOrganizationAdminAccountResponse, AWSError>; /** * Returns a list of the in-scope Amazon Web Services services for the specified assessment. */ getServicesInScope(params: AuditManager.Types.GetServicesInScopeRequest, callback?: (err: AWSError, data: AuditManager.Types.GetServicesInScopeResponse) => void): Request<AuditManager.Types.GetServicesInScopeResponse, AWSError>; /** * Returns a list of the in-scope Amazon Web Services services for the specified assessment. */ getServicesInScope(callback?: (err: AWSError, data: AuditManager.Types.GetServicesInScopeResponse) => void): Request<AuditManager.Types.GetServicesInScopeResponse, AWSError>; /** * Returns the settings for the specified Amazon Web Services account. */ getSettings(params: AuditManager.Types.GetSettingsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetSettingsResponse) => void): Request<AuditManager.Types.GetSettingsResponse, AWSError>; /** * Returns the settings for the specified Amazon Web Services account. */ getSettings(callback?: (err: AWSError, data: AuditManager.Types.GetSettingsResponse) => void): Request<AuditManager.Types.GetSettingsResponse, AWSError>; /** * Returns a list of the frameworks available in the Audit Manager framework library. */ listAssessmentFrameworks(params: AuditManager.Types.ListAssessmentFrameworksRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentFrameworksResponse) => void): Request<AuditManager.Types.ListAssessmentFrameworksResponse, AWSError>; /** * Returns a list of the frameworks available in the Audit Manager framework library. */ listAssessmentFrameworks(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentFrameworksResponse) => void): Request<AuditManager.Types.ListAssessmentFrameworksResponse, AWSError>; /** * Returns a list of assessment reports created in Audit Manager. */ listAssessmentReports(params: AuditManager.Types.ListAssessmentReportsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentReportsResponse) => void): Request<AuditManager.Types.ListAssessmentReportsResponse, AWSError>; /** * Returns a list of assessment reports created in Audit Manager. */ listAssessmentReports(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentReportsResponse) => void): Request<AuditManager.Types.ListAssessmentReportsResponse, AWSError>; /** * Returns a list of current and past assessments from Audit Manager. */ listAssessments(params: AuditManager.Types.ListAssessmentsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentsResponse) => void): Request<AuditManager.Types.ListAssessmentsResponse, AWSError>; /** * Returns a list of current and past assessments from Audit Manager. */ listAssessments(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentsResponse) => void): Request<AuditManager.Types.ListAssessmentsResponse, AWSError>; /** * Returns a list of controls from Audit Manager. */ listControls(params: AuditManager.Types.ListControlsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlsResponse) => void): Request<AuditManager.Types.ListControlsResponse, AWSError>; /** * Returns a list of controls from Audit Manager. */ listControls(callback?: (err: AWSError, data: AuditManager.Types.ListControlsResponse) => void): Request<AuditManager.Types.ListControlsResponse, AWSError>; /** * Returns a list of keywords that pre-mapped to the specified control data source. */ listKeywordsForDataSource(params: AuditManager.Types.ListKeywordsForDataSourceRequest, callback?: (err: AWSError, data: AuditManager.Types.ListKeywordsForDataSourceResponse) => void): Request<AuditManager.Types.ListKeywordsForDataSourceResponse, AWSError>; /** * Returns a list of keywords that pre-mapped to the specified control data source. */ listKeywordsForDataSource(callback?: (err: AWSError, data: AuditManager.Types.ListKeywordsForDataSourceResponse) => void): Request<AuditManager.Types.ListKeywordsForDataSourceResponse, AWSError>; /** * Returns a list of all Audit Manager notifications. */ listNotifications(params: AuditManager.Types.ListNotificationsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListNotificationsResponse) => void): Request<AuditManager.Types.ListNotificationsResponse, AWSError>; /** * Returns a list of all Audit Manager notifications. */ listNotifications(callback?: (err: AWSError, data: AuditManager.Types.ListNotificationsResponse) => void): Request<AuditManager.Types.ListNotificationsResponse, AWSError>; /** * Returns a list of tags for the specified resource in Audit Manager. */ listTagsForResource(params: AuditManager.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AuditManager.Types.ListTagsForResourceResponse) => void): Request<AuditManager.Types.ListTagsForResourceResponse, AWSError>; /** * Returns a list of tags for the specified resource in Audit Manager. */ listTagsForResource(callback?: (err: AWSError, data: AuditManager.Types.ListTagsForResourceResponse) => void): Request<AuditManager.Types.ListTagsForResourceResponse, AWSError>; /** * Enables Audit Manager for the specified Amazon Web Services account. */ registerAccount(params: AuditManager.Types.RegisterAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.RegisterAccountResponse) => void): Request<AuditManager.Types.RegisterAccountResponse, AWSError>; /** * Enables Audit Manager for the specified Amazon Web Services account. */ registerAccount(callback?: (err: AWSError, data: AuditManager.Types.RegisterAccountResponse) => void): Request<AuditManager.Types.RegisterAccountResponse, AWSError>; /** * Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager. */ registerOrganizationAdminAccount(params: AuditManager.Types.RegisterOrganizationAdminAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.RegisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.RegisterOrganizationAdminAccountResponse, AWSError>; /** * Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager. */ registerOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.RegisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.RegisterOrganizationAdminAccountResponse, AWSError>; /** * Tags the specified resource in Audit Manager. */ tagResource(params: AuditManager.Types.TagResourceRequest, callback?: (err: AWSError, data: AuditManager.Types.TagResourceResponse) => void): Request<AuditManager.Types.TagResourceResponse, AWSError>; /** * Tags the specified resource in Audit Manager. */ tagResource(callback?: (err: AWSError, data: AuditManager.Types.TagResourceResponse) => void): Request<AuditManager.Types.TagResourceResponse, AWSError>; /** * Removes a tag from a resource in Audit Manager. */ untagResource(params: AuditManager.Types.UntagResourceRequest, callback?: (err: AWSError, data: AuditManager.Types.UntagResourceResponse) => void): Request<AuditManager.Types.UntagResourceResponse, AWSError>; /** * Removes a tag from a resource in Audit Manager. */ untagResource(callback?: (err: AWSError, data: AuditManager.Types.UntagResourceResponse) => void): Request<AuditManager.Types.UntagResourceResponse, AWSError>; /** * Edits an Audit Manager assessment. */ updateAssessment(params: AuditManager.Types.UpdateAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentResponse) => void): Request<AuditManager.Types.UpdateAssessmentResponse, AWSError>; /** * Edits an Audit Manager assessment. */ updateAssessment(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentResponse) => void): Request<AuditManager.Types.UpdateAssessmentResponse, AWSError>; /** * Updates a control within an assessment in Audit Manager. */ updateAssessmentControl(params: AuditManager.Types.UpdateAssessmentControlRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlResponse, AWSError>; /** * Updates a control within an assessment in Audit Manager. */ updateAssessmentControl(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlResponse, AWSError>; /** * Updates the status of a control set in an Audit Manager assessment. */ updateAssessmentControlSetStatus(params: AuditManager.Types.UpdateAssessmentControlSetStatusRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlSetStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlSetStatusResponse, AWSError>; /** * Updates the status of a control set in an Audit Manager assessment. */ updateAssessmentControlSetStatus(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlSetStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlSetStatusResponse, AWSError>; /** * Updates a custom framework in Audit Manager. */ updateAssessmentFramework(params: AuditManager.Types.UpdateAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.UpdateAssessmentFrameworkResponse, AWSError>; /** * Updates a custom framework in Audit Manager. */ updateAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.UpdateAssessmentFrameworkResponse, AWSError>; /** * Updates the status of an assessment in Audit Manager. */ updateAssessmentStatus(params: AuditManager.Types.UpdateAssessmentStatusRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentStatusResponse, AWSError>; /** * Updates the status of an assessment in Audit Manager. */ updateAssessmentStatus(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentStatusResponse, AWSError>; /** * Updates a custom control in Audit Manager. */ updateControl(params: AuditManager.Types.UpdateControlRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateControlResponse) => void): Request<AuditManager.Types.UpdateControlResponse, AWSError>; /** * Updates a custom control in Audit Manager. */ updateControl(callback?: (err: AWSError, data: AuditManager.Types.UpdateControlResponse) => void): Request<AuditManager.Types.UpdateControlResponse, AWSError>; /** * Updates Audit Manager settings for the current user account. */ updateSettings(params: AuditManager.Types.UpdateSettingsRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateSettingsResponse) => void): Request<AuditManager.Types.UpdateSettingsResponse, AWSError>; /** * Updates Audit Manager settings for the current user account. */ updateSettings(callback?: (err: AWSError, data: AuditManager.Types.UpdateSettingsResponse) => void): Request<AuditManager.Types.UpdateSettingsResponse, AWSError>; /** * Validates the integrity of an assessment report in Audit Manager. */ validateAssessmentReportIntegrity(params: AuditManager.Types.ValidateAssessmentReportIntegrityRequest, callback?: (err: AWSError, data: AuditManager.Types.ValidateAssessmentReportIntegrityResponse) => void): Request<AuditManager.Types.ValidateAssessmentReportIntegrityResponse, AWSError>; /** * Validates the integrity of an assessment report in Audit Manager. */ validateAssessmentReportIntegrity(callback?: (err: AWSError, data: AuditManager.Types.ValidateAssessmentReportIntegrityResponse) => void): Request<AuditManager.Types.ValidateAssessmentReportIntegrityResponse, AWSError>; } declare namespace AuditManager { export interface AWSAccount { /** * The identifier for the specified Amazon Web Services account. */ id?: AccountId; /** * The email address associated with the specified Amazon Web Services account. */ emailAddress?: EmailAddress; /** * The name of the specified Amazon Web Services account. */ name?: AccountName; } export type AWSAccounts = AWSAccount[]; export interface AWSService { /** * The name of the Amazon Web Service. */ serviceName?: AWSServiceName; } export type AWSServiceName = string; export type AWSServices = AWSService[]; export type AccountId = string; export type AccountName = string; export type AccountStatus = "ACTIVE"|"INACTIVE"|"PENDING_ACTIVATION"|string; export type ActionEnum = "CREATE"|"UPDATE_METADATA"|"ACTIVE"|"INACTIVE"|"DELETE"|"UNDER_REVIEW"|"REVIEWED"|"IMPORT_EVIDENCE"|string; export type ActionPlanInstructions = string; export type ActionPlanTitle = string; export interface Assessment { /** * The Amazon Resource Name (ARN) of the assessment. */ arn?: AuditManagerArn; /** * The Amazon Web Services account associated with the assessment. */ awsAccount?: AWSAccount; /** * The metadata for the specified assessment. */ metadata?: AssessmentMetadata; /** * The framework from which the assessment was created. */ framework?: AssessmentFramework; /** * The tags associated with the assessment. */ tags?: TagMap; } export interface AssessmentControl { /** * The identifier for the specified control. */ id?: UUID; /** * The name of the specified control. */ name?: ControlName; /** * The description of the specified control. */ description?: ControlDescription; /** * The status of the specified control. */ status?: ControlStatus; /** * The response of the specified control. */ response?: ControlResponse; /** * The list of comments attached to the specified control. */ comments?: ControlComments; /** * The list of data sources for the specified evidence. */ evidenceSources?: EvidenceSources; /** * The amount of evidence generated for the control. */ evidenceCount?: Integer; /** * The amount of evidence in the assessment report. */ assessmentReportEvidenceCount?: Integer; } export interface AssessmentControlSet { /** * The identifier of the control set in the assessment. This is the control set name in a plain string format. */ id?: ControlSetId; /** * The description for the control set. */ description?: NonEmptyString; /** * Specifies the current status of the control set. */ status?: ControlSetStatus; /** * The roles associated with the control set. */ roles?: Roles; /** * The list of controls contained with the control set. */ controls?: AssessmentControls; /** * The delegations associated with the control set. */ delegations?: Delegations; /** * The total number of evidence objects retrieved automatically for the control set. */ systemEvidenceCount?: Integer; /** * The total number of evidence objects uploaded manually to the control set. */ manualEvidenceCount?: Integer; } export type AssessmentControlSets = AssessmentControlSet[]; export type AssessmentControls = AssessmentControl[]; export type AssessmentDescription = string; export interface AssessmentEvidenceFolder { /** * The name of the specified evidence folder. */ name?: AssessmentEvidenceFolderName; /** * The date when the first evidence was added to the evidence folder. */ date?: Timestamp; /** * The identifier for the specified assessment. */ assessmentId?: UUID; /** * The identifier for the control set. */ controlSetId?: ControlSetId; /** * The unique identifier for the specified control. */ controlId?: UUID; /** * The identifier for the folder in which evidence is stored. */ id?: UUID; /** * The Amazon Web Service from which the evidence was collected. */ dataSource?: String; /** * The name of the user who created the evidence folder. */ author?: String; /** * The total amount of evidence in the evidence folder. */ totalEvidence?: Integer; /** * The total count of evidence included in the assessment report. */ assessmentReportSelectionCount?: Integer; /** * The name of the control. */ controlName?: ControlName; /** * The amount of evidence included in the evidence folder. */ evidenceResourcesIncludedCount?: Integer; /** * The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM. */ evidenceByTypeConfigurationDataCount?: Integer; /** * The number of evidence that falls under the manual category. This evidence is imported manually. */ evidenceByTypeManualCount?: Integer; /** * The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub. */ evidenceByTypeComplianceCheckCount?: Integer; /** * The total number of issues that were reported directly from Security Hub, Config, or both. */ evidenceByTypeComplianceCheckIssuesCount?: Integer; /** * The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs. */ evidenceByTypeUserActivityCount?: Integer; /** * The total number of Amazon Web Services resources assessed to generate the evidence. */ evidenceAwsServiceSourceCount?: Integer; } export type AssessmentEvidenceFolderName = string; export type AssessmentEvidenceFolders = AssessmentEvidenceFolder[]; export interface AssessmentFramework { /** * The unique identifier for the framework. */ id?: UUID; /** * The Amazon Resource Name (ARN) of the specified framework. */ arn?: AuditManagerArn; metadata?: FrameworkMetadata; /** * The control sets associated with the framework. */ controlSets?: AssessmentControlSets; } export type AssessmentFrameworkDescription = string; export interface AssessmentFrameworkMetadata { /** * The Amazon Resource Name (ARN) of the framework. */ arn?: AuditManagerArn; /** * The unique identified for the specified framework. */ id?: UUID; /** * The framework type, such as standard or custom. */ type?: FrameworkType; /** * The name of the specified framework. */ name?: FrameworkName; /** * The description of the specified framework. */ description?: FrameworkDescription; /** * The logo associated with the framework. */ logo?: Filename; /** * The compliance type that the new custom framework supports, such as CIS or HIPAA. */ complianceType?: ComplianceType; /** * The number of controls associated with the specified framework. */ controlsCount?: ControlsCount; /** * The number of control sets associated with the specified framework. */ controlSetsCount?: ControlSetsCount; /** * Specifies when the framework was created. */ createdAt?: Timestamp; /** * Specifies when the framework was most recently updated. */ lastUpdatedAt?: Timestamp; } export interface AssessmentMetadata { /** * The name of the assessment. */ name?: AssessmentName; /** * The unique identifier for the assessment. */ id?: UUID; /** * The description of the assessment. */ description?: AssessmentDescription; /** * The name of a compliance standard related to the assessment, such as PCI-DSS. */ complianceType?: ComplianceType; /** * The overall status of the assessment. */ status?: AssessmentStatus; /** * The destination in which evidence reports are stored for the specified assessment. */ assessmentReportsDestination?: AssessmentReportsDestination; /** * The wrapper of Amazon Web Services accounts and services in scope for the assessment. */ scope?: Scope; /** * The roles associated with the assessment. */ roles?: Roles; /** * The delegations associated with the assessment. */ delegations?: Delegations; /** * Specifies when the assessment was created. */ creationTime?: Timestamp; /** * The time of the most recent update. */ lastUpdated?: Timestamp; } export interface AssessmentMetadataItem { /** * The name of the assessment. */ name?: AssessmentName; /** * The unique identifier for the assessment. */ id?: UUID; /** * The name of the compliance standard related to the assessment, such as PCI-DSS. */ complianceType?: ComplianceType; /** * The current status of the assessment. */ status?: AssessmentStatus; /** * The roles associated with the assessment. */ roles?: Roles; /** * The delegations associated with the assessment. */ delegations?: Delegations; /** * Specifies when the assessment was created. */ creationTime?: Timestamp; /** * The time of the most recent update. */ lastUpdated?: Timestamp; } export type AssessmentName = string; export interface AssessmentReport { /** * The unique identifier for the specified assessment report. */ id?: UUID; /** * The name given to the assessment report. */ name?: AssessmentReportName; /** * The description of the specified assessment report. */ description?: AssessmentReportDescription; /** * The identifier for the specified Amazon Web Services account. */ awsAccountId?: AccountId; /** * The identifier for the specified assessment. */ assessmentId?: UUID; /** * The name of the associated assessment. */ assessmentName?: AssessmentName; /** * The name of the user who created the assessment report. */ author?: Username; /** * The current status of the specified assessment report. */ status?: AssessmentReportStatus; /** * Specifies when the assessment report was created. */ creationTime?: Timestamp; } export type AssessmentReportDescription = string; export type AssessmentReportDestinationType = "S3"|string; export interface AssessmentReportEvidenceError { /** * The identifier for the evidence. */ evidenceId?: UUID; /** * The error code returned by the AssessmentReportEvidence API. */ errorCode?: ErrorCode; /** * The error message returned by the AssessmentReportEvidence API. */ errorMessage?: ErrorMessage; } export type AssessmentReportEvidenceErrors = AssessmentReportEvidenceError[]; export interface AssessmentReportMetadata { /** * The unique identifier for the assessment report. */ id?: UUID; /** * The name of the assessment report. */ name?: AssessmentReportName; /** * The description of the specified assessment report. */ description?: AssessmentReportDescription; /** * The unique identifier for the associated assessment. */ assessmentId?: UUID; /** * The name of the associated assessment. */ assessmentName?: AssessmentName; /** * The name of the user who created the assessment report. */ author?: Username; /** * The current status of the assessment report. */ status?: AssessmentReportStatus; /** * Specifies when the assessment report was created. */ creationTime?: Timestamp; } export type AssessmentReportName = string; export type AssessmentReportStatus = "COMPLETE"|"IN_PROGRESS"|"FAILED"|string; export interface AssessmentReportsDestination { /** * The destination type, such as Amazon S3. */ destinationType?: AssessmentReportDestinationType; /** * The destination of the assessment report. */ destination?: S3Url; } export type AssessmentReportsMetadata = AssessmentReportMetadata[]; export type AssessmentStatus = "ACTIVE"|"INACTIVE"|string; export interface AssociateAssessmentReportEvidenceFolderRequest { /** * The identifier for the specified assessment. */ assessmentId: UUID; /** * The identifier for the folder in which evidence is stored. */ evidenceFolderId: UUID; } export interface AssociateAssessmentReportEvidenceFolderResponse { } export type AuditManagerArn = string; export interface BatchAssociateAssessmentReportEvidenceRequest { /** * The unique identifier for the specified assessment. */ assessmentId: UUID; /** * The identifier for the folder in which the evidence is stored. */ evidenceFolderId: UUID; /** * The list of evidence identifiers. */ evidenceIds: EvidenceIds; } export interface BatchAssociateAssessmentReportEvidenceResponse { /** * The identifier for the evidence. */ evidenceIds?: EvidenceIds; /** * A list of errors returned by the BatchAssociateAssessmentReportEvidence API. */ errors?: AssessmentReportEvidenceErrors; } export interface BatchCreateDelegationByAssessmentError { /** * The API request to batch create delegations in Audit Manager. */ createDelegationRequest?: CreateDelegationRequest; /** * The error code returned by the BatchCreateDelegationByAssessment API. */ errorCode?: ErrorCode; /** * The error message returned by the BatchCreateDelegationByAssessment API. */ errorMessage?: ErrorMessage; } export type BatchCreateDelegationByAssessmentErrors = BatchCreateDelegationByAssessmentError[]; export interface BatchCreateDelegationByAssessmentRequest { /** * The API request to batch create delegations in Audit Manager. */ createDelegationRequests: CreateDelegationRequests; /** * The identifier for the specified assessment. */ assessmentId: UUID; } export interface BatchCreateDelegationByAssessmentResponse { /** * The delegations associated with the assessment. */ delegations?: Delegations; /** * A list of errors returned by the BatchCreateDelegationByAssessment API. */ errors?: BatchCreateDelegationByAssessmentErrors; } export interface BatchDeleteDelegationByAssessmentError { /** * The identifier for the specified delegation. */ delegationId?: UUID; /** * The error code returned by the BatchDeleteDelegationByAssessment API. */ errorCode?: ErrorCode; /** * The error message returned by the BatchDeleteDelegationByAssessment API. */ errorMessage?: ErrorMessage; } export type BatchDeleteDelegationByAssessmentErrors = BatchDeleteDelegationByAssessmentError[]; export interface BatchDeleteDelegationByAssessmentRequest { /** * The identifiers for the specified delegations. */ delegationIds: DelegationIds; /** * The identifier for the specified assessment. */ assessmentId: UUID; } export interface BatchDeleteDelegationByAssessmentResponse { /** * A list of errors returned by the BatchDeleteDelegationByAssessment API. */ errors?: BatchDeleteDelegationByAssessmentErrors; } export interface BatchDisassociateAssessmentReportEvidenceRequest { /** * The identifier for the specified assessment. */ assessmentId: UUID; /** * The identifier for the folder in which evidence is stored. */ evidenceFolderId: UUID; /** * The list of evidence identifiers. */ evidenceIds: EvidenceIds; } export interface BatchDisassociateAssessmentReportEvidenceResponse { /** * The identifier for the evidence. */ evidenceIds?: EvidenceIds; /** * A list of errors returned by the BatchDisassociateAssessmentReportEvidence API. */ errors?: AssessmentReportEvidenceErrors; } export interface BatchImportEvidenceToAssessmentControlError { /** * Manual evidence that cannot be collected automatically by Audit Manager. */ manualEvidence?: ManualEvidence; /** * The error code returned by the BatchImportEvidenceToAssessmentControl API. */ errorCode?: ErrorCode; /** * The error message returned by the BatchImportEvidenceToAssessmentControl API. */ errorMessage?: ErrorMessage; } export type BatchImportEvidenceToAssessmentControlErrors = BatchImportEvidenceToAssessmentControlError[]; export interface BatchImportEvidenceToAssessmentControlRequest { /** * The identifier for the specified assessment. */ assessmentId: UUID; /** * The identifier for the specified control set. */ controlSetId: ControlSetId; /** * The identifier for the specified control. */ controlId: UUID;