Interface AuditManagerClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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.
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.
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.
Use the following links to get started with the Audit Manager API:
-
Actions: An alphabetical list of all Audit Manager API operations.
-
Data types: An alphabetical list of all Audit Manager data types.
-
Common parameters: Parameters that all operations can use.
-
Common errors: Client and server errors that all operations can return.
If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateAssessmentReportEvidenceFolder
(Consumer<AssociateAssessmentReportEvidenceFolderRequest.Builder> associateAssessmentReportEvidenceFolderRequest) Associates an evidence folder to an assessment report in an Audit Manager assessment.associateAssessmentReportEvidenceFolder
(AssociateAssessmentReportEvidenceFolderRequest associateAssessmentReportEvidenceFolderRequest) Associates an evidence folder to an assessment report in an Audit Manager assessment.batchAssociateAssessmentReportEvidence
(Consumer<BatchAssociateAssessmentReportEvidenceRequest.Builder> batchAssociateAssessmentReportEvidenceRequest) Associates a list of evidence to an assessment report in an Audit Manager assessment.batchAssociateAssessmentReportEvidence
(BatchAssociateAssessmentReportEvidenceRequest batchAssociateAssessmentReportEvidenceRequest) Associates a list of evidence to an assessment report in an Audit Manager assessment.batchCreateDelegationByAssessment
(Consumer<BatchCreateDelegationByAssessmentRequest.Builder> batchCreateDelegationByAssessmentRequest) Creates a batch of delegations for an assessment in Audit Manager.batchCreateDelegationByAssessment
(BatchCreateDelegationByAssessmentRequest batchCreateDelegationByAssessmentRequest) Creates a batch of delegations for an assessment in Audit Manager.batchDeleteDelegationByAssessment
(Consumer<BatchDeleteDelegationByAssessmentRequest.Builder> batchDeleteDelegationByAssessmentRequest) Deletes a batch of delegations for an assessment in Audit Manager.batchDeleteDelegationByAssessment
(BatchDeleteDelegationByAssessmentRequest batchDeleteDelegationByAssessmentRequest) Deletes a batch of delegations for an assessment in Audit Manager.batchDisassociateAssessmentReportEvidence
(Consumer<BatchDisassociateAssessmentReportEvidenceRequest.Builder> batchDisassociateAssessmentReportEvidenceRequest) Disassociates a list of evidence from an assessment report in Audit Manager.batchDisassociateAssessmentReportEvidence
(BatchDisassociateAssessmentReportEvidenceRequest batchDisassociateAssessmentReportEvidenceRequest) Disassociates a list of evidence from an assessment report in Audit Manager.batchImportEvidenceToAssessmentControl
(Consumer<BatchImportEvidenceToAssessmentControlRequest.Builder> batchImportEvidenceToAssessmentControlRequest) Adds one or more pieces of evidence to a control in an Audit Manager assessment.batchImportEvidenceToAssessmentControl
(BatchImportEvidenceToAssessmentControlRequest batchImportEvidenceToAssessmentControlRequest) Adds one or more pieces of evidence to a control in an Audit Manager assessment.static AuditManagerClientBuilder
builder()
Create a builder that can be used to configure and create aAuditManagerClient
.static AuditManagerClient
create()
Create aAuditManagerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAssessmentResponse
createAssessment
(Consumer<CreateAssessmentRequest.Builder> createAssessmentRequest) Creates an assessment in Audit Manager.default CreateAssessmentResponse
createAssessment
(CreateAssessmentRequest createAssessmentRequest) Creates an assessment in Audit Manager.createAssessmentFramework
(Consumer<CreateAssessmentFrameworkRequest.Builder> createAssessmentFrameworkRequest) Creates a custom framework in Audit Manager.createAssessmentFramework
(CreateAssessmentFrameworkRequest createAssessmentFrameworkRequest) Creates a custom framework in Audit Manager.default CreateAssessmentReportResponse
createAssessmentReport
(Consumer<CreateAssessmentReportRequest.Builder> createAssessmentReportRequest) Creates an assessment report for the specified assessment.default CreateAssessmentReportResponse
createAssessmentReport
(CreateAssessmentReportRequest createAssessmentReportRequest) Creates an assessment report for the specified assessment.default CreateControlResponse
createControl
(Consumer<CreateControlRequest.Builder> createControlRequest) Creates a new custom control in Audit Manager.default CreateControlResponse
createControl
(CreateControlRequest createControlRequest) Creates a new custom control in Audit Manager.default DeleteAssessmentResponse
deleteAssessment
(Consumer<DeleteAssessmentRequest.Builder> deleteAssessmentRequest) Deletes an assessment in Audit Manager.default DeleteAssessmentResponse
deleteAssessment
(DeleteAssessmentRequest deleteAssessmentRequest) Deletes an assessment in Audit Manager.deleteAssessmentFramework
(Consumer<DeleteAssessmentFrameworkRequest.Builder> deleteAssessmentFrameworkRequest) Deletes a custom framework in Audit Manager.deleteAssessmentFramework
(DeleteAssessmentFrameworkRequest deleteAssessmentFrameworkRequest) Deletes a custom framework in Audit Manager.deleteAssessmentFrameworkShare
(Consumer<DeleteAssessmentFrameworkShareRequest.Builder> deleteAssessmentFrameworkShareRequest) Deletes a share request for a custom framework in Audit Manager.deleteAssessmentFrameworkShare
(DeleteAssessmentFrameworkShareRequest deleteAssessmentFrameworkShareRequest) Deletes a share request for a custom framework in Audit Manager.default DeleteAssessmentReportResponse
deleteAssessmentReport
(Consumer<DeleteAssessmentReportRequest.Builder> deleteAssessmentReportRequest) Deletes an assessment report in Audit Manager.default DeleteAssessmentReportResponse
deleteAssessmentReport
(DeleteAssessmentReportRequest deleteAssessmentReportRequest) Deletes an assessment report in Audit Manager.default DeleteControlResponse
deleteControl
(Consumer<DeleteControlRequest.Builder> deleteControlRequest) Deletes a custom control in Audit Manager.default DeleteControlResponse
deleteControl
(DeleteControlRequest deleteControlRequest) Deletes a custom control in Audit Manager.default DeregisterAccountResponse
deregisterAccount
(Consumer<DeregisterAccountRequest.Builder> deregisterAccountRequest) Deregisters an account in Audit Manager.default DeregisterAccountResponse
deregisterAccount
(DeregisterAccountRequest deregisterAccountRequest) Deregisters an account in Audit Manager.deregisterOrganizationAdminAccount
(Consumer<DeregisterOrganizationAdminAccountRequest.Builder> deregisterOrganizationAdminAccountRequest) Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.deregisterOrganizationAdminAccount
(DeregisterOrganizationAdminAccountRequest deregisterOrganizationAdminAccountRequest) Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.disassociateAssessmentReportEvidenceFolder
(Consumer<DisassociateAssessmentReportEvidenceFolderRequest.Builder> disassociateAssessmentReportEvidenceFolderRequest) Disassociates an evidence folder from the specified assessment report in Audit Manager.disassociateAssessmentReportEvidenceFolder
(DisassociateAssessmentReportEvidenceFolderRequest disassociateAssessmentReportEvidenceFolderRequest) Disassociates an evidence folder from the specified assessment report in Audit Manager.default GetAccountStatusResponse
getAccountStatus
(Consumer<GetAccountStatusRequest.Builder> getAccountStatusRequest) Gets the registration status of an account in Audit Manager.default GetAccountStatusResponse
getAccountStatus
(GetAccountStatusRequest getAccountStatusRequest) Gets the registration status of an account in Audit Manager.default GetAssessmentResponse
getAssessment
(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Gets information about a specified assessment.default GetAssessmentResponse
getAssessment
(GetAssessmentRequest getAssessmentRequest) Gets information about a specified assessment.default GetAssessmentFrameworkResponse
getAssessmentFramework
(Consumer<GetAssessmentFrameworkRequest.Builder> getAssessmentFrameworkRequest) Gets information about a specified framework.default GetAssessmentFrameworkResponse
getAssessmentFramework
(GetAssessmentFrameworkRequest getAssessmentFrameworkRequest) Gets information about a specified framework.default GetAssessmentReportUrlResponse
getAssessmentReportUrl
(Consumer<GetAssessmentReportUrlRequest.Builder> getAssessmentReportUrlRequest) Gets the URL of an assessment report in Audit Manager.default GetAssessmentReportUrlResponse
getAssessmentReportUrl
(GetAssessmentReportUrlRequest getAssessmentReportUrlRequest) Gets the URL of an assessment report in Audit Manager.default GetChangeLogsResponse
getChangeLogs
(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) Gets a list of changelogs from Audit Manager.default GetChangeLogsResponse
getChangeLogs
(GetChangeLogsRequest getChangeLogsRequest) Gets a list of changelogs from Audit Manager.default GetChangeLogsIterable
getChangeLogsPaginator
(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) This is a variant ofgetChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)
operation.default GetChangeLogsIterable
getChangeLogsPaginator
(GetChangeLogsRequest getChangeLogsRequest) This is a variant ofgetChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)
operation.default GetControlResponse
getControl
(Consumer<GetControlRequest.Builder> getControlRequest) Gets information about a specified control.default GetControlResponse
getControl
(GetControlRequest getControlRequest) Gets information about a specified control.default GetDelegationsResponse
getDelegations
(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) Gets a list of delegations from an audit owner to a delegate.default GetDelegationsResponse
getDelegations
(GetDelegationsRequest getDelegationsRequest) Gets a list of delegations from an audit owner to a delegate.default GetDelegationsIterable
getDelegationsPaginator
(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) This is a variant ofgetDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)
operation.default GetDelegationsIterable
getDelegationsPaginator
(GetDelegationsRequest getDelegationsRequest) This is a variant ofgetDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)
operation.default GetEvidenceResponse
getEvidence
(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) Gets information about a specified evidence item.default GetEvidenceResponse
getEvidence
(GetEvidenceRequest getEvidenceRequest) Gets information about a specified evidence item.getEvidenceByEvidenceFolder
(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) Gets all evidence from a specified evidence folder in Audit Manager.getEvidenceByEvidenceFolder
(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) Gets all evidence from a specified evidence folder in Audit Manager.getEvidenceByEvidenceFolderPaginator
(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) This is a variant ofgetEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)
operation.getEvidenceByEvidenceFolderPaginator
(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) This is a variant ofgetEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)
operation.default GetEvidenceFileUploadUrlResponse
getEvidenceFileUploadUrl
(Consumer<GetEvidenceFileUploadUrlRequest.Builder> getEvidenceFileUploadUrlRequest) Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.default GetEvidenceFileUploadUrlResponse
getEvidenceFileUploadUrl
(GetEvidenceFileUploadUrlRequest getEvidenceFileUploadUrlRequest) Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.default GetEvidenceFolderResponse
getEvidenceFolder
(Consumer<GetEvidenceFolderRequest.Builder> getEvidenceFolderRequest) Gets an evidence folder from a specified assessment in Audit Manager.default GetEvidenceFolderResponse
getEvidenceFolder
(GetEvidenceFolderRequest getEvidenceFolderRequest) Gets an evidence folder from a specified assessment in Audit Manager.getEvidenceFoldersByAssessment
(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) Gets the evidence folders from a specified assessment in Audit Manager.getEvidenceFoldersByAssessment
(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) Gets the evidence folders from a specified assessment in Audit Manager.getEvidenceFoldersByAssessmentControl
(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.getEvidenceFoldersByAssessmentControl
(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.getEvidenceFoldersByAssessmentControlPaginator
(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) getEvidenceFoldersByAssessmentControlPaginator
(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) getEvidenceFoldersByAssessmentPaginator
(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) This is a variant ofgetEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)
operation.getEvidenceFoldersByAssessmentPaginator
(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) This is a variant ofgetEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)
operation.default GetInsightsResponse
getInsights
(Consumer<GetInsightsRequest.Builder> getInsightsRequest) Gets the latest analytics data for all your current active assessments.default GetInsightsResponse
getInsights
(GetInsightsRequest getInsightsRequest) Gets the latest analytics data for all your current active assessments.default GetInsightsByAssessmentResponse
getInsightsByAssessment
(Consumer<GetInsightsByAssessmentRequest.Builder> getInsightsByAssessmentRequest) Gets the latest analytics data for a specific active assessment.default GetInsightsByAssessmentResponse
getInsightsByAssessment
(GetInsightsByAssessmentRequest getInsightsByAssessmentRequest) Gets the latest analytics data for a specific active assessment.getOrganizationAdminAccount
(Consumer<GetOrganizationAdminAccountRequest.Builder> getOrganizationAdminAccountRequest) Gets the name of the delegated Amazon Web Services administrator account for a specified organization.getOrganizationAdminAccount
(GetOrganizationAdminAccountRequest getOrganizationAdminAccountRequest) Gets the name of the delegated Amazon Web Services administrator account for a specified organization.default GetServicesInScopeResponse
getServicesInScope
(Consumer<GetServicesInScopeRequest.Builder> getServicesInScopeRequest) Gets a list of all of the Amazon Web Services that you can choose to include in your assessment.default GetServicesInScopeResponse
getServicesInScope
(GetServicesInScopeRequest getServicesInScopeRequest) Gets a list of all of the Amazon Web Services that you can choose to include in your assessment.default GetSettingsResponse
getSettings
(Consumer<GetSettingsRequest.Builder> getSettingsRequest) Gets the settings for a specified Amazon Web Services account.default GetSettingsResponse
getSettings
(GetSettingsRequest getSettingsRequest) Gets the settings for a specified Amazon Web Services account.listAssessmentControlInsightsByControlDomain
(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) Lists the latest analytics data for controls within a specific control domain and a specific active assessment.listAssessmentControlInsightsByControlDomain
(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) Lists the latest analytics data for controls within a specific control domain and a specific active assessment.listAssessmentControlInsightsByControlDomainPaginator
(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) listAssessmentControlInsightsByControlDomainPaginator
(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) default ListAssessmentFrameworksResponse
listAssessmentFrameworks
(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) Returns a list of the frameworks that are available in the Audit Manager framework library.default ListAssessmentFrameworksResponse
listAssessmentFrameworks
(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) Returns a list of the frameworks that are available in the Audit Manager framework library.listAssessmentFrameworkShareRequests
(Consumer<ListAssessmentFrameworkShareRequestsRequest.Builder> listAssessmentFrameworkShareRequestsRequest) Returns a list of sent or received share requests for custom frameworks in Audit Manager.listAssessmentFrameworkShareRequests
(ListAssessmentFrameworkShareRequestsRequest listAssessmentFrameworkShareRequestsRequest) Returns a list of sent or received share requests for custom frameworks in Audit Manager.listAssessmentFrameworkShareRequestsPaginator
(Consumer<ListAssessmentFrameworkShareRequestsRequest.Builder> listAssessmentFrameworkShareRequestsRequest) listAssessmentFrameworkShareRequestsPaginator
(ListAssessmentFrameworkShareRequestsRequest listAssessmentFrameworkShareRequestsRequest) default ListAssessmentFrameworksIterable
listAssessmentFrameworksPaginator
(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) This is a variant oflistAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)
operation.default ListAssessmentFrameworksIterable
listAssessmentFrameworksPaginator
(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) This is a variant oflistAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)
operation.default ListAssessmentReportsResponse
listAssessmentReports
(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) Returns a list of assessment reports created in Audit Manager.default ListAssessmentReportsResponse
listAssessmentReports
(ListAssessmentReportsRequest listAssessmentReportsRequest) Returns a list of assessment reports created in Audit Manager.default ListAssessmentReportsIterable
listAssessmentReportsPaginator
(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) This is a variant oflistAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)
operation.default ListAssessmentReportsIterable
listAssessmentReportsPaginator
(ListAssessmentReportsRequest listAssessmentReportsRequest) This is a variant oflistAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)
operation.default ListAssessmentsResponse
listAssessments
(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) Returns a list of current and past assessments from Audit Manager.default ListAssessmentsResponse
listAssessments
(ListAssessmentsRequest listAssessmentsRequest) Returns a list of current and past assessments from Audit Manager.default ListAssessmentsIterable
listAssessmentsPaginator
(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)
operation.default ListAssessmentsIterable
listAssessmentsPaginator
(ListAssessmentsRequest listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)
operation.listControlDomainInsights
(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) Lists the latest analytics data for control domains across all of your active assessments.listControlDomainInsights
(ListControlDomainInsightsRequest listControlDomainInsightsRequest) Lists the latest analytics data for control domains across all of your active assessments.listControlDomainInsightsByAssessment
(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) Lists analytics data for control domains within a specified active assessment.listControlDomainInsightsByAssessment
(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) Lists analytics data for control domains within a specified active assessment.listControlDomainInsightsByAssessmentPaginator
(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) listControlDomainInsightsByAssessmentPaginator
(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) listControlDomainInsightsPaginator
(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) This is a variant oflistControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)
operation.listControlDomainInsightsPaginator
(ListControlDomainInsightsRequest listControlDomainInsightsRequest) This is a variant oflistControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)
operation.listControlInsightsByControlDomain
(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) Lists the latest analytics data for controls within a specific control domain across all active assessments.listControlInsightsByControlDomain
(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) Lists the latest analytics data for controls within a specific control domain across all active assessments.listControlInsightsByControlDomainPaginator
(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) This is a variant oflistControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)
operation.listControlInsightsByControlDomainPaginator
(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) This is a variant oflistControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)
operation.default ListControlsResponse
listControls
(Consumer<ListControlsRequest.Builder> listControlsRequest) Returns a list of controls from Audit Manager.default ListControlsResponse
listControls
(ListControlsRequest listControlsRequest) Returns a list of controls from Audit Manager.default ListControlsIterable
listControlsPaginator
(Consumer<ListControlsRequest.Builder> listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)
operation.default ListControlsIterable
listControlsPaginator
(ListControlsRequest listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)
operation.listKeywordsForDataSource
(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) Returns a list of keywords that are pre-mapped to the specified control data source.listKeywordsForDataSource
(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) Returns a list of keywords that are pre-mapped to the specified control data source.listKeywordsForDataSourcePaginator
(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) This is a variant oflistKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)
operation.listKeywordsForDataSourcePaginator
(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) This is a variant oflistKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)
operation.default ListNotificationsResponse
listNotifications
(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) Returns a list of all Audit Manager notifications.default ListNotificationsResponse
listNotifications
(ListNotificationsRequest listNotificationsRequest) Returns a list of all Audit Manager notifications.default ListNotificationsIterable
listNotificationsPaginator
(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) This is a variant oflistNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)
operation.default ListNotificationsIterable
listNotificationsPaginator
(ListNotificationsRequest listNotificationsRequest) This is a variant oflistNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for the specified resource in Audit Manager.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for the specified resource in Audit Manager.default RegisterAccountResponse
registerAccount
(Consumer<RegisterAccountRequest.Builder> registerAccountRequest) Enables Audit Manager for the specified Amazon Web Services account.default RegisterAccountResponse
registerAccount
(RegisterAccountRequest registerAccountRequest) Enables Audit Manager for the specified Amazon Web Services account.registerOrganizationAdminAccount
(Consumer<RegisterOrganizationAdminAccountRequest.Builder> registerOrganizationAdminAccountRequest) Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.registerOrganizationAdminAccount
(RegisterOrganizationAdminAccountRequest registerOrganizationAdminAccountRequest) Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
startAssessmentFrameworkShare
(Consumer<StartAssessmentFrameworkShareRequest.Builder> startAssessmentFrameworkShareRequest) Creates a share request for a custom framework in Audit Manager.startAssessmentFrameworkShare
(StartAssessmentFrameworkShareRequest startAssessmentFrameworkShareRequest) Creates a share request for a custom framework in Audit Manager.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags the specified resource in Audit Manager.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Tags the specified resource in Audit Manager.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource in Audit Manager.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag from a resource in Audit Manager.default UpdateAssessmentResponse
updateAssessment
(Consumer<UpdateAssessmentRequest.Builder> updateAssessmentRequest) Edits an Audit Manager assessment.default UpdateAssessmentResponse
updateAssessment
(UpdateAssessmentRequest updateAssessmentRequest) Edits an Audit Manager assessment.default UpdateAssessmentControlResponse
updateAssessmentControl
(Consumer<UpdateAssessmentControlRequest.Builder> updateAssessmentControlRequest) Updates a control within an assessment in Audit Manager.default UpdateAssessmentControlResponse
updateAssessmentControl
(UpdateAssessmentControlRequest updateAssessmentControlRequest) Updates a control within an assessment in Audit Manager.updateAssessmentControlSetStatus
(Consumer<UpdateAssessmentControlSetStatusRequest.Builder> updateAssessmentControlSetStatusRequest) Updates the status of a control set in an Audit Manager assessment.updateAssessmentControlSetStatus
(UpdateAssessmentControlSetStatusRequest updateAssessmentControlSetStatusRequest) Updates the status of a control set in an Audit Manager assessment.updateAssessmentFramework
(Consumer<UpdateAssessmentFrameworkRequest.Builder> updateAssessmentFrameworkRequest) Updates a custom framework in Audit Manager.updateAssessmentFramework
(UpdateAssessmentFrameworkRequest updateAssessmentFrameworkRequest) Updates a custom framework in Audit Manager.updateAssessmentFrameworkShare
(Consumer<UpdateAssessmentFrameworkShareRequest.Builder> updateAssessmentFrameworkShareRequest) Updates a share request for a custom framework in Audit Manager.updateAssessmentFrameworkShare
(UpdateAssessmentFrameworkShareRequest updateAssessmentFrameworkShareRequest) Updates a share request for a custom framework in Audit Manager.default UpdateAssessmentStatusResponse
updateAssessmentStatus
(Consumer<UpdateAssessmentStatusRequest.Builder> updateAssessmentStatusRequest) Updates the status of an assessment in Audit Manager.default UpdateAssessmentStatusResponse
updateAssessmentStatus
(UpdateAssessmentStatusRequest updateAssessmentStatusRequest) Updates the status of an assessment in Audit Manager.default UpdateControlResponse
updateControl
(Consumer<UpdateControlRequest.Builder> updateControlRequest) Updates a custom control in Audit Manager.default UpdateControlResponse
updateControl
(UpdateControlRequest updateControlRequest) Updates a custom control in Audit Manager.default UpdateSettingsResponse
updateSettings
(Consumer<UpdateSettingsRequest.Builder> updateSettingsRequest) Updates Audit Manager settings for the current account.default UpdateSettingsResponse
updateSettings
(UpdateSettingsRequest updateSettingsRequest) Updates Audit Manager settings for the current account.validateAssessmentReportIntegrity
(Consumer<ValidateAssessmentReportIntegrityRequest.Builder> validateAssessmentReportIntegrityRequest) Validates the integrity of an assessment report in Audit Manager.validateAssessmentReportIntegrity
(ValidateAssessmentReportIntegrityRequest validateAssessmentReportIntegrityRequest) Validates the integrity of an assessment report in Audit Manager.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateAssessmentReportEvidenceFolder
default AssociateAssessmentReportEvidenceFolderResponse associateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest associateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Associates an evidence folder to an assessment report in an Audit Manager assessment.
- Parameters:
associateAssessmentReportEvidenceFolderRequest
-- Returns:
- Result of the AssociateAssessmentReportEvidenceFolder operation returned by the service.
- See Also:
-
associateAssessmentReportEvidenceFolder
default AssociateAssessmentReportEvidenceFolderResponse associateAssessmentReportEvidenceFolder(Consumer<AssociateAssessmentReportEvidenceFolderRequest.Builder> associateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Associates an evidence folder to an assessment report in an Audit Manager assessment.
This is a convenience which creates an instance of the
AssociateAssessmentReportEvidenceFolderRequest.Builder
avoiding the need to create one manually viaAssociateAssessmentReportEvidenceFolderRequest.builder()
- Parameters:
associateAssessmentReportEvidenceFolderRequest
- AConsumer
that will call methods onAssociateAssessmentReportEvidenceFolderRequest.Builder
to create a request.- Returns:
- Result of the AssociateAssessmentReportEvidenceFolder operation returned by the service.
- See Also:
-
batchAssociateAssessmentReportEvidence
default BatchAssociateAssessmentReportEvidenceResponse batchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest batchAssociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Associates a list of evidence to an assessment report in an Audit Manager assessment.
- Parameters:
batchAssociateAssessmentReportEvidenceRequest
-- Returns:
- Result of the BatchAssociateAssessmentReportEvidence operation returned by the service.
- See Also:
-
batchAssociateAssessmentReportEvidence
default BatchAssociateAssessmentReportEvidenceResponse batchAssociateAssessmentReportEvidence(Consumer<BatchAssociateAssessmentReportEvidenceRequest.Builder> batchAssociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Associates a list of evidence to an assessment report in an Audit Manager assessment.
This is a convenience which creates an instance of the
BatchAssociateAssessmentReportEvidenceRequest.Builder
avoiding the need to create one manually viaBatchAssociateAssessmentReportEvidenceRequest.builder()
- Parameters:
batchAssociateAssessmentReportEvidenceRequest
- AConsumer
that will call methods onBatchAssociateAssessmentReportEvidenceRequest.Builder
to create a request.- Returns:
- Result of the BatchAssociateAssessmentReportEvidence operation returned by the service.
- See Also:
-
batchCreateDelegationByAssessment
default BatchCreateDelegationByAssessmentResponse batchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest batchCreateDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Creates a batch of delegations for an assessment in Audit Manager.
- Parameters:
batchCreateDelegationByAssessmentRequest
-- Returns:
- Result of the BatchCreateDelegationByAssessment operation returned by the service.
- See Also:
-
batchCreateDelegationByAssessment
default BatchCreateDelegationByAssessmentResponse batchCreateDelegationByAssessment(Consumer<BatchCreateDelegationByAssessmentRequest.Builder> batchCreateDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Creates a batch of delegations for an assessment in Audit Manager.
This is a convenience which creates an instance of the
BatchCreateDelegationByAssessmentRequest.Builder
avoiding the need to create one manually viaBatchCreateDelegationByAssessmentRequest.builder()
- Parameters:
batchCreateDelegationByAssessmentRequest
- AConsumer
that will call methods onBatchCreateDelegationByAssessmentRequest.Builder
to create a request.- Returns:
- Result of the BatchCreateDelegationByAssessment operation returned by the service.
- See Also:
-
batchDeleteDelegationByAssessment
default BatchDeleteDelegationByAssessmentResponse batchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest batchDeleteDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes a batch of delegations for an assessment in Audit Manager.
- Parameters:
batchDeleteDelegationByAssessmentRequest
-- Returns:
- Result of the BatchDeleteDelegationByAssessment operation returned by the service.
- See Also:
-
batchDeleteDelegationByAssessment
default BatchDeleteDelegationByAssessmentResponse batchDeleteDelegationByAssessment(Consumer<BatchDeleteDelegationByAssessmentRequest.Builder> batchDeleteDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes a batch of delegations for an assessment in Audit Manager.
This is a convenience which creates an instance of the
BatchDeleteDelegationByAssessmentRequest.Builder
avoiding the need to create one manually viaBatchDeleteDelegationByAssessmentRequest.builder()
- Parameters:
batchDeleteDelegationByAssessmentRequest
- AConsumer
that will call methods onBatchDeleteDelegationByAssessmentRequest.Builder
to create a request.- Returns:
- Result of the BatchDeleteDelegationByAssessment operation returned by the service.
- See Also:
-
batchDisassociateAssessmentReportEvidence
default BatchDisassociateAssessmentReportEvidenceResponse batchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest batchDisassociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Disassociates a list of evidence from an assessment report in Audit Manager.
- Parameters:
batchDisassociateAssessmentReportEvidenceRequest
-- Returns:
- Result of the BatchDisassociateAssessmentReportEvidence operation returned by the service.
- See Also:
-
batchDisassociateAssessmentReportEvidence
default BatchDisassociateAssessmentReportEvidenceResponse batchDisassociateAssessmentReportEvidence(Consumer<BatchDisassociateAssessmentReportEvidenceRequest.Builder> batchDisassociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Disassociates a list of evidence from an assessment report in Audit Manager.
This is a convenience which creates an instance of the
BatchDisassociateAssessmentReportEvidenceRequest.Builder
avoiding the need to create one manually viaBatchDisassociateAssessmentReportEvidenceRequest.builder()
- Parameters:
batchDisassociateAssessmentReportEvidenceRequest
- AConsumer
that will call methods onBatchDisassociateAssessmentReportEvidenceRequest.Builder
to create a request.- Returns:
- Result of the BatchDisassociateAssessmentReportEvidence operation returned by the service.
- See Also:
-
batchImportEvidenceToAssessmentControl
default BatchImportEvidenceToAssessmentControlResponse batchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest batchImportEvidenceToAssessmentControlRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException Adds one or more pieces of evidence to a control in an Audit Manager assessment.
You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.
The following restrictions apply to this action:
-
manualEvidence
can be only one of the following:evidenceFileName
,s3ResourcePath
, ortextResponse
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
- Parameters:
batchImportEvidenceToAssessmentControlRequest
-- Returns:
- Result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
- See Also:
-
-
batchImportEvidenceToAssessmentControl
default BatchImportEvidenceToAssessmentControlResponse batchImportEvidenceToAssessmentControl(Consumer<BatchImportEvidenceToAssessmentControlRequest.Builder> batchImportEvidenceToAssessmentControlRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException Adds one or more pieces of evidence to a control in an Audit Manager assessment.
You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.
The following restrictions apply to this action:
-
manualEvidence
can be only one of the following:evidenceFileName
,s3ResourcePath
, ortextResponse
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
This is a convenience which creates an instance of the
BatchImportEvidenceToAssessmentControlRequest.Builder
avoiding the need to create one manually viaBatchImportEvidenceToAssessmentControlRequest.builder()
- Parameters:
batchImportEvidenceToAssessmentControlRequest
- AConsumer
that will call methods onBatchImportEvidenceToAssessmentControlRequest.Builder
to create a request.- Returns:
- Result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
- See Also:
-
-
createAssessment
default CreateAssessmentResponse createAssessment(CreateAssessmentRequest createAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Creates an assessment in Audit Manager.
- Parameters:
createAssessmentRequest
-- Returns:
- Result of the CreateAssessment operation returned by the service.
- See Also:
-
createAssessment
default CreateAssessmentResponse createAssessment(Consumer<CreateAssessmentRequest.Builder> createAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Creates an assessment in Audit Manager.
This is a convenience which creates an instance of the
CreateAssessmentRequest.Builder
avoiding the need to create one manually viaCreateAssessmentRequest.builder()
- Parameters:
createAssessmentRequest
- AConsumer
that will call methods onCreateAssessmentRequest.Builder
to create a request.- Returns:
- Result of the CreateAssessment operation returned by the service.
- See Also:
-
createAssessmentFramework
default CreateAssessmentFrameworkResponse createAssessmentFramework(CreateAssessmentFrameworkRequest createAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Creates a custom framework in Audit Manager.
- Parameters:
createAssessmentFrameworkRequest
-- Returns:
- Result of the CreateAssessmentFramework operation returned by the service.
- See Also:
-
createAssessmentFramework
default CreateAssessmentFrameworkResponse createAssessmentFramework(Consumer<CreateAssessmentFrameworkRequest.Builder> createAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Creates a custom framework in Audit Manager.
This is a convenience which creates an instance of the
CreateAssessmentFrameworkRequest.Builder
avoiding the need to create one manually viaCreateAssessmentFrameworkRequest.builder()
- Parameters:
createAssessmentFrameworkRequest
- AConsumer
that will call methods onCreateAssessmentFrameworkRequest.Builder
to create a request.- Returns:
- Result of the CreateAssessmentFramework operation returned by the service.
- See Also:
-
createAssessmentReport
default CreateAssessmentReportResponse createAssessmentReport(CreateAssessmentReportRequest createAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Creates an assessment report for the specified assessment.
- Parameters:
createAssessmentReportRequest
-- Returns:
- Result of the CreateAssessmentReport operation returned by the service.
- See Also:
-
createAssessmentReport
default CreateAssessmentReportResponse createAssessmentReport(Consumer<CreateAssessmentReportRequest.Builder> createAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Creates an assessment report for the specified assessment.
This is a convenience which creates an instance of the
CreateAssessmentReportRequest.Builder
avoiding the need to create one manually viaCreateAssessmentReportRequest.builder()
- Parameters:
createAssessmentReportRequest
- AConsumer
that will call methods onCreateAssessmentReportRequest.Builder
to create a request.- Returns:
- Result of the CreateAssessmentReport operation returned by the service.
- See Also:
-
createControl
default CreateControlResponse createControl(CreateControlRequest createControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Creates a new custom control in Audit Manager.
- Parameters:
createControlRequest
-- Returns:
- Result of the CreateControl operation returned by the service.
- See Also:
-
createControl
default CreateControlResponse createControl(Consumer<CreateControlRequest.Builder> createControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Creates a new custom control in Audit Manager.
This is a convenience which creates an instance of the
CreateControlRequest.Builder
avoiding the need to create one manually viaCreateControlRequest.builder()
- Parameters:
createControlRequest
- AConsumer
that will call methods onCreateControlRequest.Builder
to create a request.- Returns:
- Result of the CreateControl operation returned by the service.
- See Also:
-
deleteAssessment
default DeleteAssessmentResponse deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes an assessment in Audit Manager.
- Parameters:
deleteAssessmentRequest
-- Returns:
- Result of the DeleteAssessment operation returned by the service.
- See Also:
-
deleteAssessment
default DeleteAssessmentResponse deleteAssessment(Consumer<DeleteAssessmentRequest.Builder> deleteAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes an assessment in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentRequest.Builder
avoiding the need to create one manually viaDeleteAssessmentRequest.builder()
- Parameters:
deleteAssessmentRequest
- AConsumer
that will call methods onDeleteAssessmentRequest.Builder
to create a request.- Returns:
- Result of the DeleteAssessment operation returned by the service.
- See Also:
-
deleteAssessmentFramework
default DeleteAssessmentFrameworkResponse deleteAssessmentFramework(DeleteAssessmentFrameworkRequest deleteAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes a custom framework in Audit Manager.
- Parameters:
deleteAssessmentFrameworkRequest
-- Returns:
- Result of the DeleteAssessmentFramework operation returned by the service.
- See Also:
-
deleteAssessmentFramework
default DeleteAssessmentFrameworkResponse deleteAssessmentFramework(Consumer<DeleteAssessmentFrameworkRequest.Builder> deleteAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes a custom framework in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentFrameworkRequest.Builder
avoiding the need to create one manually viaDeleteAssessmentFrameworkRequest.builder()
- Parameters:
deleteAssessmentFrameworkRequest
- AConsumer
that will call methods onDeleteAssessmentFrameworkRequest.Builder
to create a request.- Returns:
- Result of the DeleteAssessmentFramework operation returned by the service.
- See Also:
-
deleteAssessmentReport
default DeleteAssessmentReportResponse deleteAssessmentReport(DeleteAssessmentReportRequest deleteAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Deletes an assessment report in Audit Manager.
When you run the
DeleteAssessmentReport
operation, Audit Manager attempts to delete the following data:-
The specified assessment report that’s stored in your S3 bucket
-
The associated metadata that’s stored in Audit Manager
If Audit Manager can’t access the assessment report in your S3 bucket, the report isn’t deleted. In this event, the
DeleteAssessmentReport
operation doesn’t fail. Instead, it proceeds to delete the associated metadata only. You must then delete the assessment report from the S3 bucket yourself.This scenario happens when Audit Manager receives a
403 (Forbidden)
or404 (Not Found)
error from Amazon S3. To avoid this, make sure that your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that you can use, see Assessment report destination permissions in the Audit Manager User Guide. For information about the issues that could cause a403 (Forbidden)
or404 (Not Found
) error from Amazon S3, see List of Error Codes in the Amazon Simple Storage Service API Reference.- Parameters:
deleteAssessmentReportRequest
-- Returns:
- Result of the DeleteAssessmentReport operation returned by the service.
- See Also:
-
-
deleteAssessmentReport
default DeleteAssessmentReportResponse deleteAssessmentReport(Consumer<DeleteAssessmentReportRequest.Builder> deleteAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Deletes an assessment report in Audit Manager.
When you run the
DeleteAssessmentReport
operation, Audit Manager attempts to delete the following data:-
The specified assessment report that’s stored in your S3 bucket
-
The associated metadata that’s stored in Audit Manager
If Audit Manager can’t access the assessment report in your S3 bucket, the report isn’t deleted. In this event, the
DeleteAssessmentReport
operation doesn’t fail. Instead, it proceeds to delete the associated metadata only. You must then delete the assessment report from the S3 bucket yourself.This scenario happens when Audit Manager receives a
403 (Forbidden)
or404 (Not Found)
error from Amazon S3. To avoid this, make sure that your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that you can use, see Assessment report destination permissions in the Audit Manager User Guide. For information about the issues that could cause a403 (Forbidden)
or404 (Not Found
) error from Amazon S3, see List of Error Codes in the Amazon Simple Storage Service API Reference.
This is a convenience which creates an instance of the
DeleteAssessmentReportRequest.Builder
avoiding the need to create one manually viaDeleteAssessmentReportRequest.builder()
- Parameters:
deleteAssessmentReportRequest
- AConsumer
that will call methods onDeleteAssessmentReportRequest.Builder
to create a request.- Returns:
- Result of the DeleteAssessmentReport operation returned by the service.
- See Also:
-
-
deleteControl
default DeleteControlResponse deleteControl(DeleteControlRequest deleteControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes a custom control in Audit Manager.
When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.
- Parameters:
deleteControlRequest
-- Returns:
- Result of the DeleteControl operation returned by the service.
- See Also:
-
deleteControl
default DeleteControlResponse deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Deletes a custom control in Audit Manager.
When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.
This is a convenience which creates an instance of the
DeleteControlRequest.Builder
avoiding the need to create one manually viaDeleteControlRequest.builder()
- Parameters:
deleteControlRequest
- AConsumer
that will call methods onDeleteControlRequest.Builder
to create a request.- Returns:
- Result of the DeleteControl operation returned by the service.
- See Also:
-
deregisterAccount
default DeregisterAccountResponse deregisterAccount(DeregisterAccountRequest deregisterAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Deregisters an account in Audit Manager.
Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the
DeregistrationPolicy
attribute to request the deletion of your data.For more information about data retention, see Data Protection in the Audit Manager User Guide.
- Parameters:
deregisterAccountRequest
-- Returns:
- Result of the DeregisterAccount operation returned by the service.
- See Also:
-
deregisterAccount
default DeregisterAccountResponse deregisterAccount(Consumer<DeregisterAccountRequest.Builder> deregisterAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Deregisters an account in Audit Manager.
Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the
DeregistrationPolicy
attribute to request the deletion of your data.For more information about data retention, see Data Protection in the Audit Manager User Guide.
This is a convenience which creates an instance of the
DeregisterAccountRequest.Builder
avoiding the need to create one manually viaDeregisterAccountRequest.builder()
- Parameters:
deregisterAccountRequest
- AConsumer
that will call methods onDeregisterAccountRequest.Builder
to create a request.- Returns:
- Result of the DeregisterAccount operation returned by the service.
- See Also:
-
deregisterOrganizationAdminAccount
default DeregisterOrganizationAdminAccountResponse deregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest deregisterOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.
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 Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.
Keep in mind the following cleanup task if you use evidence finder:
Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. If this task isn’t completed, the event data store remains in their account. In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store.
This cleanup task is necessary to ensure that you don't end up with multiple event data stores. Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.
When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.
To delete your Audit Manager resource data, see the following instructions:
-
DeleteAssessment (see also: Deleting an assessment in the Audit Manager User Guide)
-
DeleteAssessmentFramework (see also: Deleting a custom framework in the Audit Manager User Guide)
-
DeleteAssessmentFrameworkShare (see also: Deleting a share request in the Audit Manager User Guide)
-
DeleteAssessmentReport (see also: Deleting an assessment report in the Audit Manager User Guide)
-
DeleteControl (see also: Deleting a custom control in the Audit Manager User Guide)
At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.
- Parameters:
deregisterOrganizationAdminAccountRequest
-- Returns:
- Result of the DeregisterOrganizationAdminAccount operation returned by the service.
- See Also:
-
-
deregisterOrganizationAdminAccount
default DeregisterOrganizationAdminAccountResponse deregisterOrganizationAdminAccount(Consumer<DeregisterOrganizationAdminAccountRequest.Builder> deregisterOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.
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 Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.
Keep in mind the following cleanup task if you use evidence finder:
Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. If this task isn’t completed, the event data store remains in their account. In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store.
This cleanup task is necessary to ensure that you don't end up with multiple event data stores. Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.
When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.
To delete your Audit Manager resource data, see the following instructions:
-
DeleteAssessment (see also: Deleting an assessment in the Audit Manager User Guide)
-
DeleteAssessmentFramework (see also: Deleting a custom framework in the Audit Manager User Guide)
-
DeleteAssessmentFrameworkShare (see also: Deleting a share request in the Audit Manager User Guide)
-
DeleteAssessmentReport (see also: Deleting an assessment report in the Audit Manager User Guide)
-
DeleteControl (see also: Deleting a custom control in the Audit Manager User Guide)
At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.
This is a convenience which creates an instance of the
DeregisterOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaDeregisterOrganizationAdminAccountRequest.builder()
- Parameters:
deregisterOrganizationAdminAccountRequest
- AConsumer
that will call methods onDeregisterOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the DeregisterOrganizationAdminAccount operation returned by the service.
- See Also:
-
-
disassociateAssessmentReportEvidenceFolder
default DisassociateAssessmentReportEvidenceFolderResponse disassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest disassociateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Disassociates an evidence folder from the specified assessment report in Audit Manager.
- Parameters:
disassociateAssessmentReportEvidenceFolderRequest
-- Returns:
- Result of the DisassociateAssessmentReportEvidenceFolder operation returned by the service.
- See Also:
-
disassociateAssessmentReportEvidenceFolder
default DisassociateAssessmentReportEvidenceFolderResponse disassociateAssessmentReportEvidenceFolder(Consumer<DisassociateAssessmentReportEvidenceFolderRequest.Builder> disassociateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Disassociates an evidence folder from the specified assessment report in Audit Manager.
This is a convenience which creates an instance of the
DisassociateAssessmentReportEvidenceFolderRequest.Builder
avoiding the need to create one manually viaDisassociateAssessmentReportEvidenceFolderRequest.builder()
- Parameters:
disassociateAssessmentReportEvidenceFolderRequest
- AConsumer
that will call methods onDisassociateAssessmentReportEvidenceFolderRequest.Builder
to create a request.- Returns:
- Result of the DisassociateAssessmentReportEvidenceFolder operation returned by the service.
- See Also:
-
getAccountStatus
default GetAccountStatusResponse getAccountStatus(GetAccountStatusRequest getAccountStatusRequest) throws InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the registration status of an account in Audit Manager.
- Parameters:
getAccountStatusRequest
-- Returns:
- Result of the GetAccountStatus operation returned by the service.
- See Also:
-
getAccountStatus
default GetAccountStatusResponse getAccountStatus(Consumer<GetAccountStatusRequest.Builder> getAccountStatusRequest) throws InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the registration status of an account in Audit Manager.
This is a convenience which creates an instance of the
GetAccountStatusRequest.Builder
avoiding the need to create one manually viaGetAccountStatusRequest.builder()
- Parameters:
getAccountStatusRequest
- AConsumer
that will call methods onGetAccountStatusRequest.Builder
to create a request.- Returns:
- Result of the GetAccountStatus operation returned by the service.
- See Also:
-
getAssessment
default GetAssessmentResponse getAssessment(GetAssessmentRequest getAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified assessment.
- Parameters:
getAssessmentRequest
-- Returns:
- Result of the GetAssessment operation returned by the service.
- See Also:
-
getAssessment
default GetAssessmentResponse getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified assessment.
This is a convenience which creates an instance of the
GetAssessmentRequest.Builder
avoiding the need to create one manually viaGetAssessmentRequest.builder()
- Parameters:
getAssessmentRequest
- AConsumer
that will call methods onGetAssessmentRequest.Builder
to create a request.- Returns:
- Result of the GetAssessment operation returned by the service.
- See Also:
-
getAssessmentFramework
default GetAssessmentFrameworkResponse getAssessmentFramework(GetAssessmentFrameworkRequest getAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified framework.
- Parameters:
getAssessmentFrameworkRequest
-- Returns:
- Result of the GetAssessmentFramework operation returned by the service.
- See Also:
-
getAssessmentFramework
default GetAssessmentFrameworkResponse getAssessmentFramework(Consumer<GetAssessmentFrameworkRequest.Builder> getAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified framework.
This is a convenience which creates an instance of the
GetAssessmentFrameworkRequest.Builder
avoiding the need to create one manually viaGetAssessmentFrameworkRequest.builder()
- Parameters:
getAssessmentFrameworkRequest
- AConsumer
that will call methods onGetAssessmentFrameworkRequest.Builder
to create a request.- Returns:
- Result of the GetAssessmentFramework operation returned by the service.
- See Also:
-
getAssessmentReportUrl
default GetAssessmentReportUrlResponse getAssessmentReportUrl(GetAssessmentReportUrlRequest getAssessmentReportUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Gets the URL of an assessment report in Audit Manager.
- Parameters:
getAssessmentReportUrlRequest
-- Returns:
- Result of the GetAssessmentReportUrl operation returned by the service.
- See Also:
-
getAssessmentReportUrl
default GetAssessmentReportUrlResponse getAssessmentReportUrl(Consumer<GetAssessmentReportUrlRequest.Builder> getAssessmentReportUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Gets the URL of an assessment report in Audit Manager.
This is a convenience which creates an instance of the
GetAssessmentReportUrlRequest.Builder
avoiding the need to create one manually viaGetAssessmentReportUrlRequest.builder()
- Parameters:
getAssessmentReportUrlRequest
- AConsumer
that will call methods onGetAssessmentReportUrlRequest.Builder
to create a request.- Returns:
- Result of the GetAssessmentReportUrl operation returned by the service.
- See Also:
-
getChangeLogs
default GetChangeLogsResponse getChangeLogs(GetChangeLogsRequest getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of changelogs from Audit Manager.
- Parameters:
getChangeLogsRequest
-- Returns:
- Result of the GetChangeLogs operation returned by the service.
- See Also:
-
getChangeLogs
default GetChangeLogsResponse getChangeLogs(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of changelogs from Audit Manager.
This is a convenience which creates an instance of the
GetChangeLogsRequest.Builder
avoiding the need to create one manually viaGetChangeLogsRequest.builder()
- Parameters:
getChangeLogsRequest
- AConsumer
that will call methods onGetChangeLogsRequest.Builder
to create a request.- Returns:
- Result of the GetChangeLogs operation returned by the service.
- See Also:
-
getChangeLogsPaginator
default GetChangeLogsIterable getChangeLogsPaginator(GetChangeLogsRequest getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client .getChangeLogsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)
operation.- Parameters:
getChangeLogsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getChangeLogsPaginator
default GetChangeLogsIterable getChangeLogsPaginator(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client .getChangeLogsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)
operation.
This is a convenience which creates an instance of the
GetChangeLogsRequest.Builder
avoiding the need to create one manually viaGetChangeLogsRequest.builder()
- Parameters:
getChangeLogsRequest
- AConsumer
that will call methods onGetChangeLogsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getControl
default GetControlResponse getControl(GetControlRequest getControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified control.
- Parameters:
getControlRequest
-- Returns:
- Result of the GetControl operation returned by the service.
- See Also:
-
getControl
default GetControlResponse getControl(Consumer<GetControlRequest.Builder> getControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified control.
This is a convenience which creates an instance of the
GetControlRequest.Builder
avoiding the need to create one manually viaGetControlRequest.builder()
- Parameters:
getControlRequest
- AConsumer
that will call methods onGetControlRequest.Builder
to create a request.- Returns:
- Result of the GetControl operation returned by the service.
- See Also:
-
getDelegations
default GetDelegationsResponse getDelegations(GetDelegationsRequest getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of delegations from an audit owner to a delegate.
- Parameters:
getDelegationsRequest
-- Returns:
- Result of the GetDelegations operation returned by the service.
- See Also:
-
getDelegations
default GetDelegationsResponse getDelegations(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of delegations from an audit owner to a delegate.
This is a convenience which creates an instance of the
GetDelegationsRequest.Builder
avoiding the need to create one manually viaGetDelegationsRequest.builder()
- Parameters:
getDelegationsRequest
- AConsumer
that will call methods onGetDelegationsRequest.Builder
to create a request.- Returns:
- Result of the GetDelegations operation returned by the service.
- See Also:
-
getDelegationsPaginator
default GetDelegationsIterable getDelegationsPaginator(GetDelegationsRequest getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client .getDelegationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)
operation.- Parameters:
getDelegationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getDelegationsPaginator
default GetDelegationsIterable getDelegationsPaginator(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client .getDelegationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)
operation.
This is a convenience which creates an instance of the
GetDelegationsRequest.Builder
avoiding the need to create one manually viaGetDelegationsRequest.builder()
- Parameters:
getDelegationsRequest
- AConsumer
that will call methods onGetDelegationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getEvidence
default GetEvidenceResponse getEvidence(GetEvidenceRequest getEvidenceRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified evidence item.
- Parameters:
getEvidenceRequest
-- Returns:
- Result of the GetEvidence operation returned by the service.
- See Also:
-
getEvidence
default GetEvidenceResponse getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets information about a specified evidence item.
This is a convenience which creates an instance of the
GetEvidenceRequest.Builder
avoiding the need to create one manually viaGetEvidenceRequest.builder()
- Parameters:
getEvidenceRequest
- AConsumer
that will call methods onGetEvidenceRequest.Builder
to create a request.- Returns:
- Result of the GetEvidence operation returned by the service.
- See Also:
-
getEvidenceByEvidenceFolder
default GetEvidenceByEvidenceFolderResponse getEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets all evidence from a specified evidence folder in Audit Manager.
- Parameters:
getEvidenceByEvidenceFolderRequest
-- Returns:
- Result of the GetEvidenceByEvidenceFolder operation returned by the service.
- See Also:
-
getEvidenceByEvidenceFolder
default GetEvidenceByEvidenceFolderResponse getEvidenceByEvidenceFolder(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets all evidence from a specified evidence folder in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceByEvidenceFolderRequest.Builder
avoiding the need to create one manually viaGetEvidenceByEvidenceFolderRequest.builder()
- Parameters:
getEvidenceByEvidenceFolderRequest
- AConsumer
that will call methods onGetEvidenceByEvidenceFolderRequest.Builder
to create a request.- Returns:
- Result of the GetEvidenceByEvidenceFolder operation returned by the service.
- See Also:
-
getEvidenceByEvidenceFolderPaginator
default GetEvidenceByEvidenceFolderIterable getEvidenceByEvidenceFolderPaginator(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client .getEvidenceByEvidenceFolderPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)
operation.- Parameters:
getEvidenceByEvidenceFolderRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getEvidenceByEvidenceFolderPaginator
default GetEvidenceByEvidenceFolderIterable getEvidenceByEvidenceFolderPaginator(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client .getEvidenceByEvidenceFolderPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)
operation.
This is a convenience which creates an instance of the
GetEvidenceByEvidenceFolderRequest.Builder
avoiding the need to create one manually viaGetEvidenceByEvidenceFolderRequest.builder()
- Parameters:
getEvidenceByEvidenceFolderRequest
- AConsumer
that will call methods onGetEvidenceByEvidenceFolderRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getEvidenceFileUploadUrl
default GetEvidenceFileUploadUrlResponse getEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest getEvidenceFileUploadUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.
The following restrictions apply to this operation:
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
- Parameters:
getEvidenceFileUploadUrlRequest
-- Returns:
- Result of the GetEvidenceFileUploadUrl operation returned by the service.
- See Also:
-
-
getEvidenceFileUploadUrl
default GetEvidenceFileUploadUrlResponse getEvidenceFileUploadUrl(Consumer<GetEvidenceFileUploadUrlRequest.Builder> getEvidenceFileUploadUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.
The following restrictions apply to this operation:
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFileUploadUrlRequest.Builder
avoiding the need to create one manually viaGetEvidenceFileUploadUrlRequest.builder()
- Parameters:
getEvidenceFileUploadUrlRequest
- AConsumer
that will call methods onGetEvidenceFileUploadUrlRequest.Builder
to create a request.- Returns:
- Result of the GetEvidenceFileUploadUrl operation returned by the service.
- See Also:
-
-
getEvidenceFolder
default GetEvidenceFolderResponse getEvidenceFolder(GetEvidenceFolderRequest getEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets an evidence folder from a specified assessment in Audit Manager.
- Parameters:
getEvidenceFolderRequest
-- Returns:
- Result of the GetEvidenceFolder operation returned by the service.
- See Also:
-
getEvidenceFolder
default GetEvidenceFolderResponse getEvidenceFolder(Consumer<GetEvidenceFolderRequest.Builder> getEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets an evidence folder from a specified assessment in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFolderRequest.Builder
avoiding the need to create one manually viaGetEvidenceFolderRequest.builder()
- Parameters:
getEvidenceFolderRequest
- AConsumer
that will call methods onGetEvidenceFolderRequest.Builder
to create a request.- Returns:
- Result of the GetEvidenceFolder operation returned by the service.
- See Also:
-
getEvidenceFoldersByAssessment
default GetEvidenceFoldersByAssessmentResponse getEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the evidence folders from a specified assessment in Audit Manager.
- Parameters:
getEvidenceFoldersByAssessmentRequest
-- Returns:
- Result of the GetEvidenceFoldersByAssessment operation returned by the service.
- See Also:
-
getEvidenceFoldersByAssessment
default GetEvidenceFoldersByAssessmentResponse getEvidenceFoldersByAssessment(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the evidence folders from a specified assessment in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentRequest.Builder
avoiding the need to create one manually viaGetEvidenceFoldersByAssessmentRequest.builder()
- Parameters:
getEvidenceFoldersByAssessmentRequest
- AConsumer
that will call methods onGetEvidenceFoldersByAssessmentRequest.Builder
to create a request.- Returns:
- Result of the GetEvidenceFoldersByAssessment operation returned by the service.
- See Also:
-
getEvidenceFoldersByAssessmentPaginator
default GetEvidenceFoldersByAssessmentIterable getEvidenceFoldersByAssessmentPaginator(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client .getEvidenceFoldersByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)
operation.- Parameters:
getEvidenceFoldersByAssessmentRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getEvidenceFoldersByAssessmentPaginator
default GetEvidenceFoldersByAssessmentIterable getEvidenceFoldersByAssessmentPaginator(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client .getEvidenceFoldersByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)
operation.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentRequest.Builder
avoiding the need to create one manually viaGetEvidenceFoldersByAssessmentRequest.builder()
- Parameters:
getEvidenceFoldersByAssessmentRequest
- AConsumer
that will call methods onGetEvidenceFoldersByAssessmentRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getEvidenceFoldersByAssessmentControl
default GetEvidenceFoldersByAssessmentControlResponse getEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
- Parameters:
getEvidenceFoldersByAssessmentControlRequest
-- Returns:
- Result of the GetEvidenceFoldersByAssessmentControl operation returned by the service.
- See Also:
-
getEvidenceFoldersByAssessmentControl
default GetEvidenceFoldersByAssessmentControlResponse getEvidenceFoldersByAssessmentControl(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentControlRequest.Builder
avoiding the need to create one manually viaGetEvidenceFoldersByAssessmentControlRequest.builder()
- Parameters:
getEvidenceFoldersByAssessmentControlRequest
- AConsumer
that will call methods onGetEvidenceFoldersByAssessmentControlRequest.Builder
to create a request.- Returns:
- Result of the GetEvidenceFoldersByAssessmentControl operation returned by the service.
- See Also:
-
getEvidenceFoldersByAssessmentControlPaginator
default GetEvidenceFoldersByAssessmentControlIterable getEvidenceFoldersByAssessmentControlPaginator(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client .getEvidenceFoldersByAssessmentControlPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)
operation.- Parameters:
getEvidenceFoldersByAssessmentControlRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getEvidenceFoldersByAssessmentControlPaginator
default GetEvidenceFoldersByAssessmentControlIterable getEvidenceFoldersByAssessmentControlPaginator(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client .getEvidenceFoldersByAssessmentControlPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)
operation.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentControlRequest.Builder
avoiding the need to create one manually viaGetEvidenceFoldersByAssessmentControlRequest.builder()
- Parameters:
getEvidenceFoldersByAssessmentControlRequest
- AConsumer
that will call methods onGetEvidenceFoldersByAssessmentControlRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getInsights
default GetInsightsResponse getInsights(GetInsightsRequest getInsightsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the latest analytics data for all your current active assessments.
- Parameters:
getInsightsRequest
-- Returns:
- Result of the GetInsights operation returned by the service.
- See Also:
-
getInsights
default GetInsightsResponse getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the latest analytics data for all your current active assessments.
This is a convenience which creates an instance of the
GetInsightsRequest.Builder
avoiding the need to create one manually viaGetInsightsRequest.builder()
- Parameters:
getInsightsRequest
- AConsumer
that will call methods onGetInsightsRequest.Builder
to create a request.- Returns:
- Result of the GetInsights operation returned by the service.
- See Also:
-
getInsightsByAssessment
default GetInsightsByAssessmentResponse getInsightsByAssessment(GetInsightsByAssessmentRequest getInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the latest analytics data for a specific active assessment.
- Parameters:
getInsightsByAssessmentRequest
-- Returns:
- Result of the GetInsightsByAssessment operation returned by the service.
- See Also:
-
getInsightsByAssessment
default GetInsightsByAssessmentResponse getInsightsByAssessment(Consumer<GetInsightsByAssessmentRequest.Builder> getInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the latest analytics data for a specific active assessment.
This is a convenience which creates an instance of the
GetInsightsByAssessmentRequest.Builder
avoiding the need to create one manually viaGetInsightsByAssessmentRequest.builder()
- Parameters:
getInsightsByAssessmentRequest
- AConsumer
that will call methods onGetInsightsByAssessmentRequest.Builder
to create a request.- Returns:
- Result of the GetInsightsByAssessment operation returned by the service.
- See Also:
-
getOrganizationAdminAccount
default GetOrganizationAdminAccountResponse getOrganizationAdminAccount(GetOrganizationAdminAccountRequest getOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
- Parameters:
getOrganizationAdminAccountRequest
-- Returns:
- Result of the GetOrganizationAdminAccount operation returned by the service.
- See Also:
-
getOrganizationAdminAccount
default GetOrganizationAdminAccountResponse getOrganizationAdminAccount(Consumer<GetOrganizationAdminAccountRequest.Builder> getOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
This is a convenience which creates an instance of the
GetOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaGetOrganizationAdminAccountRequest.builder()
- Parameters:
getOrganizationAdminAccountRequest
- AConsumer
that will call methods onGetOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the GetOrganizationAdminAccount operation returned by the service.
- See Also:
-
getServicesInScope
default GetServicesInScopeResponse getServicesInScope(GetServicesInScopeRequest getServicesInScopeRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.
- Parameters:
getServicesInScopeRequest
-- Returns:
- Result of the GetServicesInScope operation returned by the service.
- See Also:
-
getServicesInScope
default GetServicesInScopeResponse getServicesInScope(Consumer<GetServicesInScopeRequest.Builder> getServicesInScopeRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.
This is a convenience which creates an instance of the
GetServicesInScopeRequest.Builder
avoiding the need to create one manually viaGetServicesInScopeRequest.builder()
- Parameters:
getServicesInScopeRequest
- AConsumer
that will call methods onGetServicesInScopeRequest.Builder
to create a request.- Returns:
- Result of the GetServicesInScope operation returned by the service.
- See Also:
-
getSettings
default GetSettingsResponse getSettings(GetSettingsRequest getSettingsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the settings for a specified Amazon Web Services account.
- Parameters:
getSettingsRequest
-- Returns:
- Result of the GetSettings operation returned by the service.
- See Also:
-
getSettings
default GetSettingsResponse getSettings(Consumer<GetSettingsRequest.Builder> getSettingsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Gets the settings for a specified Amazon Web Services account.
This is a convenience which creates an instance of the
GetSettingsRequest.Builder
avoiding the need to create one manually viaGetSettingsRequest.builder()
- Parameters:
getSettingsRequest
- AConsumer
that will call methods onGetSettingsRequest.Builder
to create a request.- Returns:
- Result of the GetSettings operation returned by the service.
- See Also:
-
listAssessmentControlInsightsByControlDomain
default ListAssessmentControlInsightsByControlDomainResponse listAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Lists the latest analytics data for controls within a specific control domain and a specific active assessment.
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
lastUpdated
date ofcontrolInsightsByAssessment
. If neither of these conditions are met, no data is listed for that control.- Parameters:
listAssessmentControlInsightsByControlDomainRequest
-- Returns:
- Result of the ListAssessmentControlInsightsByControlDomain operation returned by the service.
- See Also:
-
listAssessmentControlInsightsByControlDomain
default ListAssessmentControlInsightsByControlDomainResponse listAssessmentControlInsightsByControlDomain(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Lists the latest analytics data for controls within a specific control domain and a specific active assessment.
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
lastUpdated
date ofcontrolInsightsByAssessment
. If neither of these conditions are met, no data is listed for that control.
This is a convenience which creates an instance of the
ListAssessmentControlInsightsByControlDomainRequest.Builder
avoiding the need to create one manually viaListAssessmentControlInsightsByControlDomainRequest.builder()
- Parameters:
listAssessmentControlInsightsByControlDomainRequest
- AConsumer
that will call methods onListAssessmentControlInsightsByControlDomainRequest.Builder
to create a request.- Returns:
- Result of the ListAssessmentControlInsightsByControlDomain operation returned by the service.
- See Also:
-
listAssessmentControlInsightsByControlDomainPaginator
default ListAssessmentControlInsightsByControlDomainIterable listAssessmentControlInsightsByControlDomainPaginator(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client .listAssessmentControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)
operation.- Parameters:
listAssessmentControlInsightsByControlDomainRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentControlInsightsByControlDomainPaginator
default ListAssessmentControlInsightsByControlDomainIterable listAssessmentControlInsightsByControlDomainPaginator(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client .listAssessmentControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)
operation.
This is a convenience which creates an instance of the
ListAssessmentControlInsightsByControlDomainRequest.Builder
avoiding the need to create one manually viaListAssessmentControlInsightsByControlDomainRequest.builder()
- Parameters:
listAssessmentControlInsightsByControlDomainRequest
- AConsumer
that will call methods onListAssessmentControlInsightsByControlDomainRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentFrameworks
default ListAssessmentFrameworksResponse listAssessmentFrameworks(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of the frameworks that are available in the Audit Manager framework library.
- Parameters:
listAssessmentFrameworksRequest
-- Returns:
- Result of the ListAssessmentFrameworks operation returned by the service.
- See Also:
-
listAssessmentFrameworks
default ListAssessmentFrameworksResponse listAssessmentFrameworks(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of the frameworks that are available in the Audit Manager framework library.
This is a convenience which creates an instance of the
ListAssessmentFrameworksRequest.Builder
avoiding the need to create one manually viaListAssessmentFrameworksRequest.builder()
- Parameters:
listAssessmentFrameworksRequest
- AConsumer
that will call methods onListAssessmentFrameworksRequest.Builder
to create a request.- Returns:
- Result of the ListAssessmentFrameworks operation returned by the service.
- See Also:
-
listAssessmentFrameworksPaginator
default ListAssessmentFrameworksIterable listAssessmentFrameworksPaginator(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client .listAssessmentFrameworksPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)
operation.- Parameters:
listAssessmentFrameworksRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentFrameworksPaginator
default ListAssessmentFrameworksIterable listAssessmentFrameworksPaginator(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client .listAssessmentFrameworksPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)
operation.
This is a convenience which creates an instance of the
ListAssessmentFrameworksRequest.Builder
avoiding the need to create one manually viaListAssessmentFrameworksRequest.builder()
- Parameters:
listAssessmentFrameworksRequest
- AConsumer
that will call methods onListAssessmentFrameworksRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentReports
default ListAssessmentReportsResponse listAssessmentReports(ListAssessmentReportsRequest listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of assessment reports created in Audit Manager.
- Parameters:
listAssessmentReportsRequest
-- Returns:
- Result of the ListAssessmentReports operation returned by the service.
- See Also:
-
listAssessmentReports
default ListAssessmentReportsResponse listAssessmentReports(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of assessment reports created in Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentReportsRequest.Builder
avoiding the need to create one manually viaListAssessmentReportsRequest.builder()
- Parameters:
listAssessmentReportsRequest
- AConsumer
that will call methods onListAssessmentReportsRequest.Builder
to create a request.- Returns:
- Result of the ListAssessmentReports operation returned by the service.
- See Also:
-
listAssessmentReportsPaginator
default ListAssessmentReportsIterable listAssessmentReportsPaginator(ListAssessmentReportsRequest listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client .listAssessmentReportsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)
operation.- Parameters:
listAssessmentReportsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentReportsPaginator
default ListAssessmentReportsIterable listAssessmentReportsPaginator(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client .listAssessmentReportsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)
operation.
This is a convenience which creates an instance of the
ListAssessmentReportsRequest.Builder
avoiding the need to create one manually viaListAssessmentReportsRequest.builder()
- Parameters:
listAssessmentReportsRequest
- AConsumer
that will call methods onListAssessmentReportsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessments
default ListAssessmentsResponse listAssessments(ListAssessmentsRequest listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of current and past assessments from Audit Manager.
- Parameters:
listAssessmentsRequest
-- Returns:
- Result of the ListAssessments operation returned by the service.
- See Also:
-
listAssessments
default ListAssessmentsResponse listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of current and past assessments from Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builder
avoiding the need to create one manually viaListAssessmentsRequest.builder()
- Parameters:
listAssessmentsRequest
- AConsumer
that will call methods onListAssessmentsRequest.Builder
to create a request.- Returns:
- Result of the ListAssessments operation returned by the service.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsIterable listAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client .listAssessmentsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)
operation.- Parameters:
listAssessmentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsIterable listAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client .listAssessmentsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)
operation.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builder
avoiding the need to create one manually viaListAssessmentsRequest.builder()
- Parameters:
listAssessmentsRequest
- AConsumer
that will call methods onListAssessmentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlDomainInsights
default ListControlDomainInsightsResponse listControlDomainInsights(ListControlDomainInsightsRequest listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException Lists the latest analytics data for control domains across all of your active assessments.
A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdated
date ofcontrolDomainInsights
. If this condition isn’t met, no data is listed for that control domain.- Parameters:
listControlDomainInsightsRequest
-- Returns:
- Result of the ListControlDomainInsights operation returned by the service.
- See Also:
-
listControlDomainInsights
default ListControlDomainInsightsResponse listControlDomainInsights(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException Lists the latest analytics data for control domains across all of your active assessments.
A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdated
date ofcontrolDomainInsights
. If this condition isn’t met, no data is listed for that control domain.
This is a convenience which creates an instance of the
ListControlDomainInsightsRequest.Builder
avoiding the need to create one manually viaListControlDomainInsightsRequest.builder()
- Parameters:
listControlDomainInsightsRequest
- AConsumer
that will call methods onListControlDomainInsightsRequest.Builder
to create a request.- Returns:
- Result of the ListControlDomainInsights operation returned by the service.
- See Also:
-
listControlDomainInsightsPaginator
default ListControlDomainInsightsIterable listControlDomainInsightsPaginator(ListControlDomainInsightsRequest listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client .listControlDomainInsightsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)
operation.- Parameters:
listControlDomainInsightsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlDomainInsightsPaginator
default ListControlDomainInsightsIterable listControlDomainInsightsPaginator(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client .listControlDomainInsightsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)
operation.
This is a convenience which creates an instance of the
ListControlDomainInsightsRequest.Builder
avoiding the need to create one manually viaListControlDomainInsightsRequest.builder()
- Parameters:
listControlDomainInsightsRequest
- AConsumer
that will call methods onListControlDomainInsightsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlDomainInsightsByAssessment
default ListControlDomainInsightsByAssessmentResponse listControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Lists analytics data for control domains within a specified active assessment.
A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdated
date ofcontrolDomainInsights
. If this condition isn’t met, no data is listed for that domain.- Parameters:
listControlDomainInsightsByAssessmentRequest
-- Returns:
- Result of the ListControlDomainInsightsByAssessment operation returned by the service.
- See Also:
-
listControlDomainInsightsByAssessment
default ListControlDomainInsightsByAssessmentResponse listControlDomainInsightsByAssessment(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Lists analytics data for control domains within a specified active assessment.
A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdated
date ofcontrolDomainInsights
. If this condition isn’t met, no data is listed for that domain.
This is a convenience which creates an instance of the
ListControlDomainInsightsByAssessmentRequest.Builder
avoiding the need to create one manually viaListControlDomainInsightsByAssessmentRequest.builder()
- Parameters:
listControlDomainInsightsByAssessmentRequest
- AConsumer
that will call methods onListControlDomainInsightsByAssessmentRequest.Builder
to create a request.- Returns:
- Result of the ListControlDomainInsightsByAssessment operation returned by the service.
- See Also:
-
listControlDomainInsightsByAssessmentPaginator
default ListControlDomainInsightsByAssessmentIterable listControlDomainInsightsByAssessmentPaginator(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client .listControlDomainInsightsByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)
operation.- Parameters:
listControlDomainInsightsByAssessmentRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlDomainInsightsByAssessmentPaginator
default ListControlDomainInsightsByAssessmentIterable listControlDomainInsightsByAssessmentPaginator(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client .listControlDomainInsightsByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)
operation.
This is a convenience which creates an instance of the
ListControlDomainInsightsByAssessmentRequest.Builder
avoiding the need to create one manually viaListControlDomainInsightsByAssessmentRequest.builder()
- Parameters:
listControlDomainInsightsByAssessmentRequest
- AConsumer
that will call methods onListControlDomainInsightsByAssessmentRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlInsightsByControlDomain
default ListControlInsightsByControlDomainResponse listControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException Lists the latest analytics data for controls within a specific control domain across all active assessments.
Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the
lastUpdated
date ofcontrolInsightsMetadata
. If neither of these conditions are met, no data is listed for that control.- Parameters:
listControlInsightsByControlDomainRequest
-- Returns:
- Result of the ListControlInsightsByControlDomain operation returned by the service.
- See Also:
-
listControlInsightsByControlDomain
default ListControlInsightsByControlDomainResponse listControlInsightsByControlDomain(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException Lists the latest analytics data for controls within a specific control domain across all active assessments.
Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the
lastUpdated
date ofcontrolInsightsMetadata
. If neither of these conditions are met, no data is listed for that control.
This is a convenience which creates an instance of the
ListControlInsightsByControlDomainRequest.Builder
avoiding the need to create one manually viaListControlInsightsByControlDomainRequest.builder()
- Parameters:
listControlInsightsByControlDomainRequest
- AConsumer
that will call methods onListControlInsightsByControlDomainRequest.Builder
to create a request.- Returns:
- Result of the ListControlInsightsByControlDomain operation returned by the service.
- See Also:
-
listControlInsightsByControlDomainPaginator
default ListControlInsightsByControlDomainIterable listControlInsightsByControlDomainPaginator(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client .listControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)
operation.- Parameters:
listControlInsightsByControlDomainRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlInsightsByControlDomainPaginator
default ListControlInsightsByControlDomainIterable listControlInsightsByControlDomainPaginator(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client .listControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)
operation.
This is a convenience which creates an instance of the
ListControlInsightsByControlDomainRequest.Builder
avoiding the need to create one manually viaListControlInsightsByControlDomainRequest.builder()
- Parameters:
listControlInsightsByControlDomainRequest
- AConsumer
that will call methods onListControlInsightsByControlDomainRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControls
default ListControlsResponse listControls(ListControlsRequest listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of controls from Audit Manager.
- Parameters:
listControlsRequest
-- Returns:
- Result of the ListControls operation returned by the service.
- See Also:
-
listControls
default ListControlsResponse listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of controls from Audit Manager.
This is a convenience which creates an instance of the
ListControlsRequest.Builder
avoiding the need to create one manually viaListControlsRequest.builder()
- Parameters:
listControlsRequest
- AConsumer
that will call methods onListControlsRequest.Builder
to create a request.- Returns:
- Result of the ListControls operation returned by the service.
- See Also:
-
listControlsPaginator
default ListControlsIterable listControlsPaginator(ListControlsRequest listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client .listControlsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)
operation.- Parameters:
listControlsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlsPaginator
default ListControlsIterable listControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client .listControlsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)
operation.
This is a convenience which creates an instance of the
ListControlsRequest.Builder
avoiding the need to create one manually viaListControlsRequest.builder()
- Parameters:
listControlsRequest
- AConsumer
that will call methods onListControlsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listKeywordsForDataSource
default ListKeywordsForDataSourceResponse listKeywordsForDataSource(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of keywords that are pre-mapped to the specified control data source.
- Parameters:
listKeywordsForDataSourceRequest
-- Returns:
- Result of the ListKeywordsForDataSource operation returned by the service.
- See Also:
-
listKeywordsForDataSource
default ListKeywordsForDataSourceResponse listKeywordsForDataSource(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of keywords that are pre-mapped to the specified control data source.
This is a convenience which creates an instance of the
ListKeywordsForDataSourceRequest.Builder
avoiding the need to create one manually viaListKeywordsForDataSourceRequest.builder()
- Parameters:
listKeywordsForDataSourceRequest
- AConsumer
that will call methods onListKeywordsForDataSourceRequest.Builder
to create a request.- Returns:
- Result of the ListKeywordsForDataSource operation returned by the service.
- See Also:
-
listKeywordsForDataSourcePaginator
default ListKeywordsForDataSourceIterable listKeywordsForDataSourcePaginator(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client .listKeywordsForDataSourcePaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)
operation.- Parameters:
listKeywordsForDataSourceRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listKeywordsForDataSourcePaginator
default ListKeywordsForDataSourceIterable listKeywordsForDataSourcePaginator(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client .listKeywordsForDataSourcePaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)
operation.
This is a convenience which creates an instance of the
ListKeywordsForDataSourceRequest.Builder
avoiding the need to create one manually viaListKeywordsForDataSourceRequest.builder()
- Parameters:
listKeywordsForDataSourceRequest
- AConsumer
that will call methods onListKeywordsForDataSourceRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotifications
default ListNotificationsResponse listNotifications(ListNotificationsRequest listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of all Audit Manager notifications.
- Parameters:
listNotificationsRequest
-- Returns:
- Result of the ListNotifications operation returned by the service.
- See Also:
-
listNotifications
default ListNotificationsResponse listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of all Audit Manager notifications.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builder
avoiding the need to create one manually viaListNotificationsRequest.builder()
- Parameters:
listNotificationsRequest
- AConsumer
that will call methods onListNotificationsRequest.Builder
to create a request.- Returns:
- Result of the ListNotifications operation returned by the service.
- See Also:
-
listNotificationsPaginator
default ListNotificationsIterable listNotificationsPaginator(ListNotificationsRequest listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client .listNotificationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)
operation.- Parameters:
listNotificationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNotificationsPaginator
default ListNotificationsIterable listNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException This is a variant of
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client .listNotificationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)
operation.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builder
avoiding the need to create one manually viaListNotificationsRequest.builder()
- Parameters:
listNotificationsRequest
- AConsumer
that will call methods onListNotificationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of tags for the specified resource in Audit Manager.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Returns a list of tags for the specified resource in Audit Manager.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
registerAccount
default RegisterAccountResponse registerAccount(RegisterAccountRequest registerAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException Enables Audit Manager for the specified Amazon Web Services account.
- Parameters:
registerAccountRequest
-- Returns:
- Result of the RegisterAccount operation returned by the service.
- See Also:
-
registerAccount
default RegisterAccountResponse registerAccount(Consumer<RegisterAccountRequest.Builder> registerAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException Enables Audit Manager for the specified Amazon Web Services account.
This is a convenience which creates an instance of the
RegisterAccountRequest.Builder
avoiding the need to create one manually viaRegisterAccountRequest.builder()
- Parameters:
registerAccountRequest
- AConsumer
that will call methods onRegisterAccountRequest.Builder
to create a request.- Returns:
- Result of the RegisterAccount operation returned by the service.
- See Also:
-
registerOrganizationAdminAccount
default RegisterOrganizationAdminAccountResponse registerOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest registerOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
- Parameters:
registerOrganizationAdminAccountRequest
-- Returns:
- Result of the RegisterOrganizationAdminAccount operation returned by the service.
- See Also:
-
registerOrganizationAdminAccount
default RegisterOrganizationAdminAccountResponse registerOrganizationAdminAccount(Consumer<RegisterOrganizationAdminAccountRequest.Builder> registerOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
This is a convenience which creates an instance of the
RegisterOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaRegisterOrganizationAdminAccountRequest.builder()
- Parameters:
registerOrganizationAdminAccountRequest
- AConsumer
that will call methods onRegisterOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the RegisterOrganizationAdminAccount operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Tags the specified resource in Audit Manager.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Tags the specified resource in Audit Manager.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Removes a tag from a resource in Audit Manager.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Removes a tag from a resource in Audit Manager.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAssessment
default UpdateAssessmentResponse updateAssessment(UpdateAssessmentRequest updateAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Edits an Audit Manager assessment.
- Parameters:
updateAssessmentRequest
-- Returns:
- Result of the UpdateAssessment operation returned by the service.
- See Also:
-
updateAssessment
default UpdateAssessmentResponse updateAssessment(Consumer<UpdateAssessmentRequest.Builder> updateAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Edits an Audit Manager assessment.
This is a convenience which creates an instance of the
UpdateAssessmentRequest.Builder
avoiding the need to create one manually viaUpdateAssessmentRequest.builder()
- Parameters:
updateAssessmentRequest
- AConsumer
that will call methods onUpdateAssessmentRequest.Builder
to create a request.- Returns:
- Result of the UpdateAssessment operation returned by the service.
- See Also:
-
updateAssessmentControl
default UpdateAssessmentControlResponse updateAssessmentControl(UpdateAssessmentControlRequest updateAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates a control within an assessment in Audit Manager.
- Parameters:
updateAssessmentControlRequest
-- Returns:
- Result of the UpdateAssessmentControl operation returned by the service.
- See Also:
-
updateAssessmentControl
default UpdateAssessmentControlResponse updateAssessmentControl(Consumer<UpdateAssessmentControlRequest.Builder> updateAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates a control within an assessment in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentControlRequest.Builder
avoiding the need to create one manually viaUpdateAssessmentControlRequest.builder()
- Parameters:
updateAssessmentControlRequest
- AConsumer
that will call methods onUpdateAssessmentControlRequest.Builder
to create a request.- Returns:
- Result of the UpdateAssessmentControl operation returned by the service.
- See Also:
-
updateAssessmentControlSetStatus
default UpdateAssessmentControlSetStatusResponse updateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest updateAssessmentControlSetStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates the status of a control set in an Audit Manager assessment.
- Parameters:
updateAssessmentControlSetStatusRequest
-- Returns:
- Result of the UpdateAssessmentControlSetStatus operation returned by the service.
- See Also:
-
updateAssessmentControlSetStatus
default UpdateAssessmentControlSetStatusResponse updateAssessmentControlSetStatus(Consumer<UpdateAssessmentControlSetStatusRequest.Builder> updateAssessmentControlSetStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates the status of a control set in an Audit Manager assessment.
This is a convenience which creates an instance of the
UpdateAssessmentControlSetStatusRequest.Builder
avoiding the need to create one manually viaUpdateAssessmentControlSetStatusRequest.builder()
- Parameters:
updateAssessmentControlSetStatusRequest
- AConsumer
that will call methods onUpdateAssessmentControlSetStatusRequest.Builder
to create a request.- Returns:
- Result of the UpdateAssessmentControlSetStatus operation returned by the service.
- See Also:
-
updateAssessmentFramework
default UpdateAssessmentFrameworkResponse updateAssessmentFramework(UpdateAssessmentFrameworkRequest updateAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates a custom framework in Audit Manager.
- Parameters:
updateAssessmentFrameworkRequest
-- Returns:
- Result of the UpdateAssessmentFramework operation returned by the service.
- See Also:
-
updateAssessmentFramework
default UpdateAssessmentFrameworkResponse updateAssessmentFramework(Consumer<UpdateAssessmentFrameworkRequest.Builder> updateAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates a custom framework in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentFrameworkRequest.Builder
avoiding the need to create one manually viaUpdateAssessmentFrameworkRequest.builder()
- Parameters:
updateAssessmentFrameworkRequest
- AConsumer
that will call methods onUpdateAssessmentFrameworkRequest.Builder
to create a request.- Returns:
- Result of the UpdateAssessmentFramework operation returned by the service.
- See Also:
-
updateAssessmentStatus
default UpdateAssessmentStatusResponse updateAssessmentStatus(UpdateAssessmentStatusRequest updateAssessmentStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Updates the status of an assessment in Audit Manager.
- Parameters:
updateAssessmentStatusRequest
-- Returns:
- Result of the UpdateAssessmentStatus operation returned by the service.
- See Also:
-
updateAssessmentStatus
default UpdateAssessmentStatusResponse updateAssessmentStatus(Consumer<UpdateAssessmentStatusRequest.Builder> updateAssessmentStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException Updates the status of an assessment in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentStatusRequest.Builder
avoiding the need to create one manually viaUpdateAssessmentStatusRequest.builder()
- Parameters:
updateAssessmentStatusRequest
- AConsumer
that will call methods onUpdateAssessmentStatusRequest.Builder
to create a request.- Returns:
- Result of the UpdateAssessmentStatus operation returned by the service.
- See Also:
-
updateControl
default UpdateControlResponse updateControl(UpdateControlRequest updateControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates a custom control in Audit Manager.
- Parameters:
updateControlRequest
-- Returns:
- Result of the UpdateControl operation returned by the service.
- See Also:
-
updateControl
default UpdateControlResponse updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates a custom control in Audit Manager.
This is a convenience which creates an instance of the
UpdateControlRequest.Builder
avoiding the need to create one manually viaUpdateControlRequest.builder()
- Parameters:
updateControlRequest
- AConsumer
that will call methods onUpdateControlRequest.Builder
to create a request.- Returns:
- Result of the UpdateControl operation returned by the service.
- See Also:
-
updateSettings
default UpdateSettingsResponse updateSettings(UpdateSettingsRequest updateSettingsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates Audit Manager settings for the current account.
- Parameters:
updateSettingsRequest
-- Returns:
- Result of the UpdateSettings operation returned by the service.
- See Also:
-
updateSettings
default UpdateSettingsResponse updateSettings(Consumer<UpdateSettingsRequest.Builder> updateSettingsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException Updates Audit Manager settings for the current account.
This is a convenience which creates an instance of the
UpdateSettingsRequest.Builder
avoiding the need to create one manually viaUpdateSettingsRequest.builder()
- Parameters:
updateSettingsRequest
- AConsumer
that will call methods onUpdateSettingsRequest.Builder
to create a request.- Returns:
- Result of the UpdateSettings operation returned by the service.
- See Also:
-
validateAssessmentReportIntegrity
default ValidateAssessmentReportIntegrityResponse validateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest validateAssessmentReportIntegrityRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Validates the integrity of an assessment report in Audit Manager.
- Parameters:
validateAssessmentReportIntegrityRequest
-- Returns:
- Result of the ValidateAssessmentReportIntegrity operation returned by the service.
- See Also:
-
validateAssessmentReportIntegrity
default ValidateAssessmentReportIntegrityResponse validateAssessmentReportIntegrity(Consumer<ValidateAssessmentReportIntegrityRequest.Builder> validateAssessmentReportIntegrityRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException Validates the integrity of an assessment report in Audit Manager.
This is a convenience which creates an instance of the
ValidateAssessmentReportIntegrityRequest.Builder
avoiding the need to create one manually viaValidateAssessmentReportIntegrityRequest.builder()
- Parameters:
validateAssessmentReportIntegrityRequest
- AConsumer
that will call methods onValidateAssessmentReportIntegrityRequest.Builder
to create a request.- Returns:
- Result of the ValidateAssessmentReportIntegrity operation returned by the service.
- See Also:
-
create
Create aAuditManagerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aAuditManagerClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-