Interface AuditManagerAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
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
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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.builder()Create a builder that can be used to configure and create aAuditManagerAsyncClient.static AuditManagerAsyncClientcreate()Create aAuditManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAssessment(Consumer<CreateAssessmentRequest.Builder> createAssessmentRequest) Creates an assessment in Audit Manager.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.createAssessmentReport(Consumer<CreateAssessmentReportRequest.Builder> createAssessmentReportRequest) Creates an assessment report for the specified assessment.createAssessmentReport(CreateAssessmentReportRequest createAssessmentReportRequest) Creates an assessment report for the specified assessment.default CompletableFuture<CreateControlResponse> createControl(Consumer<CreateControlRequest.Builder> createControlRequest) Creates a new custom control in Audit Manager.default CompletableFuture<CreateControlResponse> createControl(CreateControlRequest createControlRequest) Creates a new custom control in Audit Manager.deleteAssessment(Consumer<DeleteAssessmentRequest.Builder> deleteAssessmentRequest) Deletes an assessment in Audit Manager.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.deleteAssessmentReport(Consumer<DeleteAssessmentReportRequest.Builder> deleteAssessmentReportRequest) Deletes an assessment report in Audit Manager.deleteAssessmentReport(DeleteAssessmentReportRequest deleteAssessmentReportRequest) Deletes an assessment report in Audit Manager.default CompletableFuture<DeleteControlResponse> deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) Deletes a custom control in Audit Manager.default CompletableFuture<DeleteControlResponse> deleteControl(DeleteControlRequest deleteControlRequest) Deletes a custom control in Audit Manager.deregisterAccount(Consumer<DeregisterAccountRequest.Builder> deregisterAccountRequest) Deregisters an account in Audit Manager.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.getAccountStatus(Consumer<GetAccountStatusRequest.Builder> getAccountStatusRequest) Gets the registration status of an account in Audit Manager.getAccountStatus(GetAccountStatusRequest getAccountStatusRequest) Gets the registration status of an account in Audit Manager.default CompletableFuture<GetAssessmentResponse> getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Gets information about a specified assessment.default CompletableFuture<GetAssessmentResponse> getAssessment(GetAssessmentRequest getAssessmentRequest) Gets information about a specified assessment.getAssessmentFramework(Consumer<GetAssessmentFrameworkRequest.Builder> getAssessmentFrameworkRequest) Gets information about a specified framework.getAssessmentFramework(GetAssessmentFrameworkRequest getAssessmentFrameworkRequest) Gets information about a specified framework.getAssessmentReportUrl(Consumer<GetAssessmentReportUrlRequest.Builder> getAssessmentReportUrlRequest) Gets the URL of an assessment report in Audit Manager.getAssessmentReportUrl(GetAssessmentReportUrlRequest getAssessmentReportUrlRequest) Gets the URL of an assessment report in Audit Manager.default CompletableFuture<GetChangeLogsResponse> getChangeLogs(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) Gets a list of changelogs from Audit Manager.default CompletableFuture<GetChangeLogsResponse> getChangeLogs(GetChangeLogsRequest getChangeLogsRequest) Gets a list of changelogs from Audit Manager.default GetChangeLogsPublishergetChangeLogsPaginator(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) This is a variant ofgetChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation.default GetChangeLogsPublishergetChangeLogsPaginator(GetChangeLogsRequest getChangeLogsRequest) This is a variant ofgetChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation.default CompletableFuture<GetControlResponse> getControl(Consumer<GetControlRequest.Builder> getControlRequest) Gets information about a specified control.default CompletableFuture<GetControlResponse> getControl(GetControlRequest getControlRequest) Gets information about a specified control.default CompletableFuture<GetDelegationsResponse> getDelegations(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) Gets a list of delegations from an audit owner to a delegate.default CompletableFuture<GetDelegationsResponse> getDelegations(GetDelegationsRequest getDelegationsRequest) Gets a list of delegations from an audit owner to a delegate.default GetDelegationsPublishergetDelegationsPaginator(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) This is a variant ofgetDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation.default GetDelegationsPublishergetDelegationsPaginator(GetDelegationsRequest getDelegationsRequest) This is a variant ofgetDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation.default CompletableFuture<GetEvidenceResponse> getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) Gets information about a specified evidence item.default CompletableFuture<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.getEvidenceFileUploadUrl(Consumer<GetEvidenceFileUploadUrlRequest.Builder> getEvidenceFileUploadUrlRequest) Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.getEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest getEvidenceFileUploadUrlRequest) Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.getEvidenceFolder(Consumer<GetEvidenceFolderRequest.Builder> getEvidenceFolderRequest) Gets an evidence folder from a specified assessment in Audit Manager.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 CompletableFuture<GetInsightsResponse> getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest) Gets the latest analytics data for all your current active assessments.default CompletableFuture<GetInsightsResponse> getInsights(GetInsightsRequest getInsightsRequest) Gets the latest analytics data for all your current active assessments.getInsightsByAssessment(Consumer<GetInsightsByAssessmentRequest.Builder> getInsightsByAssessmentRequest) Gets the latest analytics data for a specific active assessment.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.getServicesInScope(Consumer<GetServicesInScopeRequest.Builder> getServicesInScopeRequest) Gets a list of the Amazon Web Services from which Audit Manager can collect evidence.getServicesInScope(GetServicesInScopeRequest getServicesInScopeRequest) Gets a list of the Amazon Web Services from which Audit Manager can collect evidence.default CompletableFuture<GetSettingsResponse> getSettings(Consumer<GetSettingsRequest.Builder> getSettingsRequest) Gets the settings for a specified Amazon Web Services account.default CompletableFuture<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) listAssessmentFrameworks(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) Returns a list of the frameworks that are available in the Audit Manager framework library.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) listAssessmentFrameworksPaginator(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) This is a variant oflistAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation.listAssessmentFrameworksPaginator(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) This is a variant oflistAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation.listAssessmentReports(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) Returns a list of assessment reports created in Audit Manager.listAssessmentReports(ListAssessmentReportsRequest listAssessmentReportsRequest) Returns a list of assessment reports created in Audit Manager.default ListAssessmentReportsPublisherlistAssessmentReportsPaginator(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) This is a variant oflistAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation.default ListAssessmentReportsPublisherlistAssessmentReportsPaginator(ListAssessmentReportsRequest listAssessmentReportsRequest) This is a variant oflistAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation.default CompletableFuture<ListAssessmentsResponse> listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) Returns a list of current and past assessments from Audit Manager.default CompletableFuture<ListAssessmentsResponse> listAssessments(ListAssessmentsRequest listAssessmentsRequest) Returns a list of current and past assessments from Audit Manager.default ListAssessmentsPublisherlistAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation.default ListAssessmentsPublisherlistAssessmentsPaginator(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 CompletableFuture<ListControlsResponse> listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) Returns a list of controls from Audit Manager.default CompletableFuture<ListControlsResponse> listControls(ListControlsRequest listControlsRequest) Returns a list of controls from Audit Manager.default ListControlsPublisherlistControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation.default ListControlsPublisherlistControlsPaginator(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.listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) Returns a list of all Audit Manager notifications.listNotifications(ListNotificationsRequest listNotificationsRequest) Returns a list of all Audit Manager notifications.default ListNotificationsPublisherlistNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) This is a variant oflistNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation.default ListNotificationsPublisherlistNotificationsPaginator(ListNotificationsRequest listNotificationsRequest) This is a variant oflistNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for the specified resource in Audit Manager.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for the specified resource in Audit Manager.default CompletableFuture<RegisterAccountResponse> registerAccount(Consumer<RegisterAccountRequest.Builder> registerAccountRequest) Enables Audit Manager for the specified Amazon Web Services account.default CompletableFuture<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., ClientOverrideConfigurationstartAssessmentFrameworkShare(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 CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags the specified resource in Audit Manager.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Tags the specified resource in Audit Manager.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource in Audit Manager.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource in Audit Manager.updateAssessment(Consumer<UpdateAssessmentRequest.Builder> updateAssessmentRequest) Edits an Audit Manager assessment.updateAssessment(UpdateAssessmentRequest updateAssessmentRequest) Edits an Audit Manager assessment.updateAssessmentControl(Consumer<UpdateAssessmentControlRequest.Builder> updateAssessmentControlRequest) Updates a control within an assessment in Audit Manager.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.updateAssessmentStatus(Consumer<UpdateAssessmentStatusRequest.Builder> updateAssessmentStatusRequest) Updates the status of an assessment in Audit Manager.updateAssessmentStatus(UpdateAssessmentStatusRequest updateAssessmentStatusRequest) Updates the status of an assessment in Audit Manager.default CompletableFuture<UpdateControlResponse> updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) Updates a custom control in Audit Manager.default CompletableFuture<UpdateControlResponse> updateControl(UpdateControlRequest updateControlRequest) Updates a custom control in Audit Manager.default CompletableFuture<UpdateSettingsResponse> updateSettings(Consumer<UpdateSettingsRequest.Builder> updateSettingsRequest) Updates Audit Manager settings for the current account.default CompletableFuture<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
closeMethods 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 CompletableFuture<AssociateAssessmentReportEvidenceFolderResponse> associateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest associateAssessmentReportEvidenceFolderRequest) Associates an evidence folder to an assessment report in an Audit Manager assessment.
- Parameters:
associateAssessmentReportEvidenceFolderRequest-- Returns:
- A Java Future containing the result of the AssociateAssessmentReportEvidenceFolder operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAssessmentReportEvidenceFolder
default CompletableFuture<AssociateAssessmentReportEvidenceFolderResponse> associateAssessmentReportEvidenceFolder(Consumer<AssociateAssessmentReportEvidenceFolderRequest.Builder> associateAssessmentReportEvidenceFolderRequest) Associates an evidence folder to an assessment report in an Audit Manager assessment.
This is a convenience which creates an instance of the
AssociateAssessmentReportEvidenceFolderRequest.Builderavoiding the need to create one manually viaAssociateAssessmentReportEvidenceFolderRequest.builder()- Parameters:
associateAssessmentReportEvidenceFolderRequest- AConsumerthat will call methods onAssociateAssessmentReportEvidenceFolderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateAssessmentReportEvidenceFolder operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchAssociateAssessmentReportEvidence
default CompletableFuture<BatchAssociateAssessmentReportEvidenceResponse> batchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest batchAssociateAssessmentReportEvidenceRequest) Associates a list of evidence to an assessment report in an Audit Manager assessment.
- Parameters:
batchAssociateAssessmentReportEvidenceRequest-- Returns:
- A Java Future containing the result of the BatchAssociateAssessmentReportEvidence operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchAssociateAssessmentReportEvidence
default CompletableFuture<BatchAssociateAssessmentReportEvidenceResponse> batchAssociateAssessmentReportEvidence(Consumer<BatchAssociateAssessmentReportEvidenceRequest.Builder> batchAssociateAssessmentReportEvidenceRequest) 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.Builderavoiding the need to create one manually viaBatchAssociateAssessmentReportEvidenceRequest.builder()- Parameters:
batchAssociateAssessmentReportEvidenceRequest- AConsumerthat will call methods onBatchAssociateAssessmentReportEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchAssociateAssessmentReportEvidence operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchCreateDelegationByAssessment
default CompletableFuture<BatchCreateDelegationByAssessmentResponse> batchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest batchCreateDelegationByAssessmentRequest) Creates a batch of delegations for an assessment in Audit Manager.
- Parameters:
batchCreateDelegationByAssessmentRequest-- Returns:
- A Java Future containing the result of the BatchCreateDelegationByAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchCreateDelegationByAssessment
default CompletableFuture<BatchCreateDelegationByAssessmentResponse> batchCreateDelegationByAssessment(Consumer<BatchCreateDelegationByAssessmentRequest.Builder> batchCreateDelegationByAssessmentRequest) Creates a batch of delegations for an assessment in Audit Manager.
This is a convenience which creates an instance of the
BatchCreateDelegationByAssessmentRequest.Builderavoiding the need to create one manually viaBatchCreateDelegationByAssessmentRequest.builder()- Parameters:
batchCreateDelegationByAssessmentRequest- AConsumerthat will call methods onBatchCreateDelegationByAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchCreateDelegationByAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteDelegationByAssessment
default CompletableFuture<BatchDeleteDelegationByAssessmentResponse> batchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest batchDeleteDelegationByAssessmentRequest) Deletes a batch of delegations for an assessment in Audit Manager.
- Parameters:
batchDeleteDelegationByAssessmentRequest-- Returns:
- A Java Future containing the result of the BatchDeleteDelegationByAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteDelegationByAssessment
default CompletableFuture<BatchDeleteDelegationByAssessmentResponse> batchDeleteDelegationByAssessment(Consumer<BatchDeleteDelegationByAssessmentRequest.Builder> batchDeleteDelegationByAssessmentRequest) Deletes a batch of delegations for an assessment in Audit Manager.
This is a convenience which creates an instance of the
BatchDeleteDelegationByAssessmentRequest.Builderavoiding the need to create one manually viaBatchDeleteDelegationByAssessmentRequest.builder()- Parameters:
batchDeleteDelegationByAssessmentRequest- AConsumerthat will call methods onBatchDeleteDelegationByAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchDeleteDelegationByAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDisassociateAssessmentReportEvidence
default CompletableFuture<BatchDisassociateAssessmentReportEvidenceResponse> batchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest batchDisassociateAssessmentReportEvidenceRequest) Disassociates a list of evidence from an assessment report in Audit Manager.
- Parameters:
batchDisassociateAssessmentReportEvidenceRequest-- Returns:
- A Java Future containing the result of the BatchDisassociateAssessmentReportEvidence operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDisassociateAssessmentReportEvidence
default CompletableFuture<BatchDisassociateAssessmentReportEvidenceResponse> batchDisassociateAssessmentReportEvidence(Consumer<BatchDisassociateAssessmentReportEvidenceRequest.Builder> batchDisassociateAssessmentReportEvidenceRequest) Disassociates a list of evidence from an assessment report in Audit Manager.
This is a convenience which creates an instance of the
BatchDisassociateAssessmentReportEvidenceRequest.Builderavoiding the need to create one manually viaBatchDisassociateAssessmentReportEvidenceRequest.builder()- Parameters:
batchDisassociateAssessmentReportEvidenceRequest- AConsumerthat will call methods onBatchDisassociateAssessmentReportEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchDisassociateAssessmentReportEvidence operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchImportEvidenceToAssessmentControl
default CompletableFuture<BatchImportEvidenceToAssessmentControlResponse> batchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest batchImportEvidenceToAssessmentControlRequest) 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:
-
manualEvidencecan 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:
- A Java Future containing the result of the BatchImportEvidenceToAssessmentControl operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
batchImportEvidenceToAssessmentControl
default CompletableFuture<BatchImportEvidenceToAssessmentControlResponse> batchImportEvidenceToAssessmentControl(Consumer<BatchImportEvidenceToAssessmentControlRequest.Builder> batchImportEvidenceToAssessmentControlRequest) 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:
-
manualEvidencecan 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.Builderavoiding the need to create one manually viaBatchImportEvidenceToAssessmentControlRequest.builder()- Parameters:
batchImportEvidenceToAssessmentControlRequest- AConsumerthat will call methods onBatchImportEvidenceToAssessmentControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchImportEvidenceToAssessmentControl operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createAssessment
default CompletableFuture<CreateAssessmentResponse> createAssessment(CreateAssessmentRequest createAssessmentRequest) Creates an assessment in Audit Manager.
- Parameters:
createAssessmentRequest-- Returns:
- A Java Future containing the result of the CreateAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssessment
default CompletableFuture<CreateAssessmentResponse> createAssessment(Consumer<CreateAssessmentRequest.Builder> createAssessmentRequest) Creates an assessment in Audit Manager.
This is a convenience which creates an instance of the
CreateAssessmentRequest.Builderavoiding the need to create one manually viaCreateAssessmentRequest.builder()- Parameters:
createAssessmentRequest- AConsumerthat will call methods onCreateAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssessmentFramework
default CompletableFuture<CreateAssessmentFrameworkResponse> createAssessmentFramework(CreateAssessmentFrameworkRequest createAssessmentFrameworkRequest) Creates a custom framework in Audit Manager.
- Parameters:
createAssessmentFrameworkRequest-- Returns:
- A Java Future containing the result of the CreateAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssessmentFramework
default CompletableFuture<CreateAssessmentFrameworkResponse> createAssessmentFramework(Consumer<CreateAssessmentFrameworkRequest.Builder> createAssessmentFrameworkRequest) Creates a custom framework in Audit Manager.
This is a convenience which creates an instance of the
CreateAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaCreateAssessmentFrameworkRequest.builder()- Parameters:
createAssessmentFrameworkRequest- AConsumerthat will call methods onCreateAssessmentFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssessmentReport
default CompletableFuture<CreateAssessmentReportResponse> createAssessmentReport(CreateAssessmentReportRequest createAssessmentReportRequest) Creates an assessment report for the specified assessment.
- Parameters:
createAssessmentReportRequest-- Returns:
- A Java Future containing the result of the CreateAssessmentReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssessmentReport
default CompletableFuture<CreateAssessmentReportResponse> createAssessmentReport(Consumer<CreateAssessmentReportRequest.Builder> createAssessmentReportRequest) Creates an assessment report for the specified assessment.
This is a convenience which creates an instance of the
CreateAssessmentReportRequest.Builderavoiding the need to create one manually viaCreateAssessmentReportRequest.builder()- Parameters:
createAssessmentReportRequest- AConsumerthat will call methods onCreateAssessmentReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAssessmentReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createControl
default CompletableFuture<CreateControlResponse> createControl(CreateControlRequest createControlRequest) Creates a new custom control in Audit Manager.
- Parameters:
createControlRequest-- Returns:
- A Java Future containing the result of the CreateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createControl
default CompletableFuture<CreateControlResponse> createControl(Consumer<CreateControlRequest.Builder> createControlRequest) Creates a new custom control in Audit Manager.
This is a convenience which creates an instance of the
CreateControlRequest.Builderavoiding the need to create one manually viaCreateControlRequest.builder()- Parameters:
createControlRequest- AConsumerthat will call methods onCreateControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssessment
default CompletableFuture<DeleteAssessmentResponse> deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest) Deletes an assessment in Audit Manager.
- Parameters:
deleteAssessmentRequest-- Returns:
- A Java Future containing the result of the DeleteAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssessment
default CompletableFuture<DeleteAssessmentResponse> deleteAssessment(Consumer<DeleteAssessmentRequest.Builder> deleteAssessmentRequest) Deletes an assessment in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentRequest.Builderavoiding the need to create one manually viaDeleteAssessmentRequest.builder()- Parameters:
deleteAssessmentRequest- AConsumerthat will call methods onDeleteAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssessmentFramework
default CompletableFuture<DeleteAssessmentFrameworkResponse> deleteAssessmentFramework(DeleteAssessmentFrameworkRequest deleteAssessmentFrameworkRequest) Deletes a custom framework in Audit Manager.
- Parameters:
deleteAssessmentFrameworkRequest-- Returns:
- A Java Future containing the result of the DeleteAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssessmentFramework
default CompletableFuture<DeleteAssessmentFrameworkResponse> deleteAssessmentFramework(Consumer<DeleteAssessmentFrameworkRequest.Builder> deleteAssessmentFrameworkRequest) Deletes a custom framework in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaDeleteAssessmentFrameworkRequest.builder()- Parameters:
deleteAssessmentFrameworkRequest- AConsumerthat will call methods onDeleteAssessmentFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssessmentReport
default CompletableFuture<DeleteAssessmentReportResponse> deleteAssessmentReport(DeleteAssessmentReportRequest deleteAssessmentReportRequest) Deletes an assessment report in Audit Manager.
When you run the
DeleteAssessmentReportoperation, 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
DeleteAssessmentReportoperation 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:
- A Java Future containing the result of the DeleteAssessmentReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteAssessmentReport
default CompletableFuture<DeleteAssessmentReportResponse> deleteAssessmentReport(Consumer<DeleteAssessmentReportRequest.Builder> deleteAssessmentReportRequest) Deletes an assessment report in Audit Manager.
When you run the
DeleteAssessmentReportoperation, 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
DeleteAssessmentReportoperation 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.Builderavoiding the need to create one manually viaDeleteAssessmentReportRequest.builder()- Parameters:
deleteAssessmentReportRequest- AConsumerthat will call methods onDeleteAssessmentReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAssessmentReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteControl
default CompletableFuture<DeleteControlResponse> deleteControl(DeleteControlRequest deleteControlRequest) 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:
- A Java Future containing the result of the DeleteControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteControl
default CompletableFuture<DeleteControlResponse> deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) 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.Builderavoiding the need to create one manually viaDeleteControlRequest.builder()- Parameters:
deleteControlRequest- AConsumerthat will call methods onDeleteControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterAccount
default CompletableFuture<DeregisterAccountResponse> deregisterAccount(DeregisterAccountRequest deregisterAccountRequest) 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
DeregistrationPolicyattribute 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:
- A Java Future containing the result of the DeregisterAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterAccount
default CompletableFuture<DeregisterAccountResponse> deregisterAccount(Consumer<DeregisterAccountRequest.Builder> deregisterAccountRequest) 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
DeregistrationPolicyattribute 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.Builderavoiding the need to create one manually viaDeregisterAccountRequest.builder()- Parameters:
deregisterAccountRequest- AConsumerthat will call methods onDeregisterAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeregisterAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterOrganizationAdminAccount
default CompletableFuture<DeregisterOrganizationAdminAccountResponse> deregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest deregisterOrganizationAdminAccountRequest) 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:
- A Java Future containing the result of the DeregisterOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deregisterOrganizationAdminAccount
default CompletableFuture<DeregisterOrganizationAdminAccountResponse> deregisterOrganizationAdminAccount(Consumer<DeregisterOrganizationAdminAccountRequest.Builder> deregisterOrganizationAdminAccountRequest) 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.Builderavoiding the need to create one manually viaDeregisterOrganizationAdminAccountRequest.builder()- Parameters:
deregisterOrganizationAdminAccountRequest- AConsumerthat will call methods onDeregisterOrganizationAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeregisterOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
disassociateAssessmentReportEvidenceFolder
default CompletableFuture<DisassociateAssessmentReportEvidenceFolderResponse> disassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest disassociateAssessmentReportEvidenceFolderRequest) Disassociates an evidence folder from the specified assessment report in Audit Manager.
- Parameters:
disassociateAssessmentReportEvidenceFolderRequest-- Returns:
- A Java Future containing the result of the DisassociateAssessmentReportEvidenceFolder operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAssessmentReportEvidenceFolder
default CompletableFuture<DisassociateAssessmentReportEvidenceFolderResponse> disassociateAssessmentReportEvidenceFolder(Consumer<DisassociateAssessmentReportEvidenceFolderRequest.Builder> disassociateAssessmentReportEvidenceFolderRequest) Disassociates an evidence folder from the specified assessment report in Audit Manager.
This is a convenience which creates an instance of the
DisassociateAssessmentReportEvidenceFolderRequest.Builderavoiding the need to create one manually viaDisassociateAssessmentReportEvidenceFolderRequest.builder()- Parameters:
disassociateAssessmentReportEvidenceFolderRequest- AConsumerthat will call methods onDisassociateAssessmentReportEvidenceFolderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateAssessmentReportEvidenceFolder operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountStatus
default CompletableFuture<GetAccountStatusResponse> getAccountStatus(GetAccountStatusRequest getAccountStatusRequest) Gets the registration status of an account in Audit Manager.
- Parameters:
getAccountStatusRequest-- Returns:
- A Java Future containing the result of the GetAccountStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountStatus
default CompletableFuture<GetAccountStatusResponse> getAccountStatus(Consumer<GetAccountStatusRequest.Builder> getAccountStatusRequest) Gets the registration status of an account in Audit Manager.
This is a convenience which creates an instance of the
GetAccountStatusRequest.Builderavoiding the need to create one manually viaGetAccountStatusRequest.builder()- Parameters:
getAccountStatusRequest- AConsumerthat will call methods onGetAccountStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessment
default CompletableFuture<GetAssessmentResponse> getAssessment(GetAssessmentRequest getAssessmentRequest) Gets information about a specified assessment.
- Parameters:
getAssessmentRequest-- Returns:
- A Java Future containing the result of the GetAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessment
default CompletableFuture<GetAssessmentResponse> getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Gets information about a specified assessment.
This is a convenience which creates an instance of the
GetAssessmentRequest.Builderavoiding the need to create one manually viaGetAssessmentRequest.builder()- Parameters:
getAssessmentRequest- AConsumerthat will call methods onGetAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentFramework
default CompletableFuture<GetAssessmentFrameworkResponse> getAssessmentFramework(GetAssessmentFrameworkRequest getAssessmentFrameworkRequest) Gets information about a specified framework.
- Parameters:
getAssessmentFrameworkRequest-- Returns:
- A Java Future containing the result of the GetAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentFramework
default CompletableFuture<GetAssessmentFrameworkResponse> getAssessmentFramework(Consumer<GetAssessmentFrameworkRequest.Builder> getAssessmentFrameworkRequest) Gets information about a specified framework.
This is a convenience which creates an instance of the
GetAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaGetAssessmentFrameworkRequest.builder()- Parameters:
getAssessmentFrameworkRequest- AConsumerthat will call methods onGetAssessmentFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentReportUrl
default CompletableFuture<GetAssessmentReportUrlResponse> getAssessmentReportUrl(GetAssessmentReportUrlRequest getAssessmentReportUrlRequest) Gets the URL of an assessment report in Audit Manager.
- Parameters:
getAssessmentReportUrlRequest-- Returns:
- A Java Future containing the result of the GetAssessmentReportUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentReportUrl
default CompletableFuture<GetAssessmentReportUrlResponse> getAssessmentReportUrl(Consumer<GetAssessmentReportUrlRequest.Builder> getAssessmentReportUrlRequest) Gets the URL of an assessment report in Audit Manager.
This is a convenience which creates an instance of the
GetAssessmentReportUrlRequest.Builderavoiding the need to create one manually viaGetAssessmentReportUrlRequest.builder()- Parameters:
getAssessmentReportUrlRequest- AConsumerthat will call methods onGetAssessmentReportUrlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAssessmentReportUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChangeLogs
default CompletableFuture<GetChangeLogsResponse> getChangeLogs(GetChangeLogsRequest getChangeLogsRequest) Gets a list of changelogs from Audit Manager.
- Parameters:
getChangeLogsRequest-- Returns:
- A Java Future containing the result of the GetChangeLogs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChangeLogs
default CompletableFuture<GetChangeLogsResponse> getChangeLogs(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) Gets a list of changelogs from Audit Manager.
This is a convenience which creates an instance of the
GetChangeLogsRequest.Builderavoiding the need to create one manually viaGetChangeLogsRequest.builder()- Parameters:
getChangeLogsRequest- AConsumerthat will call methods onGetChangeLogsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetChangeLogs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChangeLogsPaginator
This is a variant of
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChangeLogsPaginator
default GetChangeLogsPublisher getChangeLogsPaginator(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) This is a variant of
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaGetChangeLogsRequest.builder()- Parameters:
getChangeLogsRequest- AConsumerthat will call methods onGetChangeLogsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControl
Gets information about a specified control.
- Parameters:
getControlRequest-- Returns:
- A Java Future containing the result of the GetControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControl
default CompletableFuture<GetControlResponse> getControl(Consumer<GetControlRequest.Builder> getControlRequest) Gets information about a specified control.
This is a convenience which creates an instance of the
GetControlRequest.Builderavoiding the need to create one manually viaGetControlRequest.builder()- Parameters:
getControlRequest- AConsumerthat will call methods onGetControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDelegations
default CompletableFuture<GetDelegationsResponse> getDelegations(GetDelegationsRequest getDelegationsRequest) Gets a list of delegations from an audit owner to a delegate.
- Parameters:
getDelegationsRequest-- Returns:
- A Java Future containing the result of the GetDelegations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDelegations
default CompletableFuture<GetDelegationsResponse> getDelegations(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) Gets a list of delegations from an audit owner to a delegate.
This is a convenience which creates an instance of the
GetDelegationsRequest.Builderavoiding the need to create one manually viaGetDelegationsRequest.builder()- Parameters:
getDelegationsRequest- AConsumerthat will call methods onGetDelegationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDelegations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDelegationsPaginator
default GetDelegationsPublisher getDelegationsPaginator(GetDelegationsRequest getDelegationsRequest) This is a variant of
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDelegationsPaginator
default GetDelegationsPublisher getDelegationsPaginator(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) This is a variant of
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaGetDelegationsRequest.builder()- Parameters:
getDelegationsRequest- AConsumerthat will call methods onGetDelegationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidence
Gets information about a specified evidence item.
- Parameters:
getEvidenceRequest-- Returns:
- A Java Future containing the result of the GetEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidence
default CompletableFuture<GetEvidenceResponse> getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) Gets information about a specified evidence item.
This is a convenience which creates an instance of the
GetEvidenceRequest.Builderavoiding the need to create one manually viaGetEvidenceRequest.builder()- Parameters:
getEvidenceRequest- AConsumerthat will call methods onGetEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceByEvidenceFolder
default CompletableFuture<GetEvidenceByEvidenceFolderResponse> getEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) Gets all evidence from a specified evidence folder in Audit Manager.
- Parameters:
getEvidenceByEvidenceFolderRequest-- Returns:
- A Java Future containing the result of the GetEvidenceByEvidenceFolder operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceByEvidenceFolder
default CompletableFuture<GetEvidenceByEvidenceFolderResponse> getEvidenceByEvidenceFolder(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) Gets all evidence from a specified evidence folder in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceByEvidenceFolderRequest.Builderavoiding the need to create one manually viaGetEvidenceByEvidenceFolderRequest.builder()- Parameters:
getEvidenceByEvidenceFolderRequest- AConsumerthat will call methods onGetEvidenceByEvidenceFolderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidenceByEvidenceFolder operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceByEvidenceFolderPaginator
default GetEvidenceByEvidenceFolderPublisher getEvidenceByEvidenceFolderPaginator(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) This is a variant of
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceByEvidenceFolderPaginator
default GetEvidenceByEvidenceFolderPublisher getEvidenceByEvidenceFolderPaginator(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) This is a variant of
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse response) { //... }; });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.Builderavoiding the need to create one manually viaGetEvidenceByEvidenceFolderRequest.builder()- Parameters:
getEvidenceByEvidenceFolderRequest- AConsumerthat will call methods onGetEvidenceByEvidenceFolderRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFileUploadUrl
default CompletableFuture<GetEvidenceFileUploadUrlResponse> getEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest getEvidenceFileUploadUrlRequest) 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:
- A Java Future containing the result of the GetEvidenceFileUploadUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getEvidenceFileUploadUrl
default CompletableFuture<GetEvidenceFileUploadUrlResponse> getEvidenceFileUploadUrl(Consumer<GetEvidenceFileUploadUrlRequest.Builder> getEvidenceFileUploadUrlRequest) 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.Builderavoiding the need to create one manually viaGetEvidenceFileUploadUrlRequest.builder()- Parameters:
getEvidenceFileUploadUrlRequest- AConsumerthat will call methods onGetEvidenceFileUploadUrlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidenceFileUploadUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getEvidenceFolder
default CompletableFuture<GetEvidenceFolderResponse> getEvidenceFolder(GetEvidenceFolderRequest getEvidenceFolderRequest) Gets an evidence folder from a specified assessment in Audit Manager.
- Parameters:
getEvidenceFolderRequest-- Returns:
- A Java Future containing the result of the GetEvidenceFolder operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFolder
default CompletableFuture<GetEvidenceFolderResponse> getEvidenceFolder(Consumer<GetEvidenceFolderRequest.Builder> getEvidenceFolderRequest) Gets an evidence folder from a specified assessment in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFolderRequest.Builderavoiding the need to create one manually viaGetEvidenceFolderRequest.builder()- Parameters:
getEvidenceFolderRequest- AConsumerthat will call methods onGetEvidenceFolderRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidenceFolder operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessment
default CompletableFuture<GetEvidenceFoldersByAssessmentResponse> getEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) Gets the evidence folders from a specified assessment in Audit Manager.
- Parameters:
getEvidenceFoldersByAssessmentRequest-- Returns:
- A Java Future containing the result of the GetEvidenceFoldersByAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessment
default CompletableFuture<GetEvidenceFoldersByAssessmentResponse> getEvidenceFoldersByAssessment(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) Gets the evidence folders from a specified assessment in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentRequest.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidenceFoldersByAssessment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessmentControl
default CompletableFuture<GetEvidenceFoldersByAssessmentControlResponse> getEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
- Parameters:
getEvidenceFoldersByAssessmentControlRequest-- Returns:
- A Java Future containing the result of the GetEvidenceFoldersByAssessmentControl operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessmentControl
default CompletableFuture<GetEvidenceFoldersByAssessmentControlResponse> getEvidenceFoldersByAssessmentControl(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) 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.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentControlRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentControlRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidenceFoldersByAssessmentControl operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessmentControlPaginator
default GetEvidenceFoldersByAssessmentControlPublisher getEvidenceFoldersByAssessmentControlPaginator(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) This is a variant of
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessmentControlPaginator
default GetEvidenceFoldersByAssessmentControlPublisher getEvidenceFoldersByAssessmentControlPaginator(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) This is a variant of
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse response) { //... }; });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.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentControlRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentControlRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentControlRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessmentPaginator
default GetEvidenceFoldersByAssessmentPublisher getEvidenceFoldersByAssessmentPaginator(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) This is a variant of
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceFoldersByAssessmentPaginator
default GetEvidenceFoldersByAssessmentPublisher getEvidenceFoldersByAssessmentPaginator(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) This is a variant of
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse response) { //... }; });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.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInsights
Gets the latest analytics data for all your current active assessments.
- Parameters:
getInsightsRequest-- Returns:
- A Java Future containing the result of the GetInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInsights
default CompletableFuture<GetInsightsResponse> getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest) Gets the latest analytics data for all your current active assessments.
This is a convenience which creates an instance of the
GetInsightsRequest.Builderavoiding the need to create one manually viaGetInsightsRequest.builder()- Parameters:
getInsightsRequest- AConsumerthat will call methods onGetInsightsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInsightsByAssessment
default CompletableFuture<GetInsightsByAssessmentResponse> getInsightsByAssessment(GetInsightsByAssessmentRequest getInsightsByAssessmentRequest) Gets the latest analytics data for a specific active assessment.
- Parameters:
getInsightsByAssessmentRequest-- Returns:
- A Java Future containing the result of the GetInsightsByAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInsightsByAssessment
default CompletableFuture<GetInsightsByAssessmentResponse> getInsightsByAssessment(Consumer<GetInsightsByAssessmentRequest.Builder> getInsightsByAssessmentRequest) Gets the latest analytics data for a specific active assessment.
This is a convenience which creates an instance of the
GetInsightsByAssessmentRequest.Builderavoiding the need to create one manually viaGetInsightsByAssessmentRequest.builder()- Parameters:
getInsightsByAssessmentRequest- AConsumerthat will call methods onGetInsightsByAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetInsightsByAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOrganizationAdminAccount
default CompletableFuture<GetOrganizationAdminAccountResponse> getOrganizationAdminAccount(GetOrganizationAdminAccountRequest getOrganizationAdminAccountRequest) Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
- Parameters:
getOrganizationAdminAccountRequest-- Returns:
- A Java Future containing the result of the GetOrganizationAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOrganizationAdminAccount
default CompletableFuture<GetOrganizationAdminAccountResponse> getOrganizationAdminAccount(Consumer<GetOrganizationAdminAccountRequest.Builder> getOrganizationAdminAccountRequest) 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.Builderavoiding the need to create one manually viaGetOrganizationAdminAccountRequest.builder()- Parameters:
getOrganizationAdminAccountRequest- AConsumerthat will call methods onGetOrganizationAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetOrganizationAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServicesInScope
default CompletableFuture<GetServicesInScopeResponse> getServicesInScope(GetServicesInScopeRequest getServicesInScopeRequest) Gets a list of the Amazon Web Services from which Audit Manager can collect evidence.
Audit Manager defines which Amazon Web Services are in scope for an assessment. Audit Manager infers this scope by examining the assessment’s controls and their data sources, and then mapping this information to one or more of the corresponding Amazon Web Services that are in this list.
For information about why it's no longer possible to specify services in scope manually, see I can't edit the services in scope for my assessment in the Troubleshooting section of the Audit Manager user guide.
- Parameters:
getServicesInScopeRequest-- Returns:
- A Java Future containing the result of the GetServicesInScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServicesInScope
default CompletableFuture<GetServicesInScopeResponse> getServicesInScope(Consumer<GetServicesInScopeRequest.Builder> getServicesInScopeRequest) Gets a list of the Amazon Web Services from which Audit Manager can collect evidence.
Audit Manager defines which Amazon Web Services are in scope for an assessment. Audit Manager infers this scope by examining the assessment’s controls and their data sources, and then mapping this information to one or more of the corresponding Amazon Web Services that are in this list.
For information about why it's no longer possible to specify services in scope manually, see I can't edit the services in scope for my assessment in the Troubleshooting section of the Audit Manager user guide.
This is a convenience which creates an instance of the
GetServicesInScopeRequest.Builderavoiding the need to create one manually viaGetServicesInScopeRequest.builder()- Parameters:
getServicesInScopeRequest- AConsumerthat will call methods onGetServicesInScopeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServicesInScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSettings
Gets the settings for a specified Amazon Web Services account.
- Parameters:
getSettingsRequest-- Returns:
- A Java Future containing the result of the GetSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSettings
default CompletableFuture<GetSettingsResponse> getSettings(Consumer<GetSettingsRequest.Builder> getSettingsRequest) Gets the settings for a specified Amazon Web Services account.
This is a convenience which creates an instance of the
GetSettingsRequest.Builderavoiding the need to create one manually viaGetSettingsRequest.builder()- Parameters:
getSettingsRequest- AConsumerthat will call methods onGetSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentControlInsightsByControlDomain
default CompletableFuture<ListAssessmentControlInsightsByControlDomainResponse> listAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) 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
lastUpdateddate ofcontrolInsightsByAssessment. If neither of these conditions are met, no data is listed for that control.- Parameters:
listAssessmentControlInsightsByControlDomainRequest-- Returns:
- A Java Future containing the result of the ListAssessmentControlInsightsByControlDomain operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentControlInsightsByControlDomain
default CompletableFuture<ListAssessmentControlInsightsByControlDomainResponse> listAssessmentControlInsightsByControlDomain(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) 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
lastUpdateddate 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.Builderavoiding the need to create one manually viaListAssessmentControlInsightsByControlDomainRequest.builder()- Parameters:
listAssessmentControlInsightsByControlDomainRequest- AConsumerthat will call methods onListAssessmentControlInsightsByControlDomainRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessmentControlInsightsByControlDomain operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentControlInsightsByControlDomainPaginator
default ListAssessmentControlInsightsByControlDomainPublisher listAssessmentControlInsightsByControlDomainPaginator(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) This is a variant of
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentControlInsightsByControlDomainPaginator
default ListAssessmentControlInsightsByControlDomainPublisher listAssessmentControlInsightsByControlDomainPaginator(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) This is a variant of
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListAssessmentControlInsightsByControlDomainRequest.builder()- Parameters:
listAssessmentControlInsightsByControlDomainRequest- AConsumerthat will call methods onListAssessmentControlInsightsByControlDomainRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentFrameworks
default CompletableFuture<ListAssessmentFrameworksResponse> listAssessmentFrameworks(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) Returns a list of the frameworks that are available in the Audit Manager framework library.
- Parameters:
listAssessmentFrameworksRequest-- Returns:
- A Java Future containing the result of the ListAssessmentFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentFrameworks
default CompletableFuture<ListAssessmentFrameworksResponse> listAssessmentFrameworks(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) 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.Builderavoiding the need to create one manually viaListAssessmentFrameworksRequest.builder()- Parameters:
listAssessmentFrameworksRequest- AConsumerthat will call methods onListAssessmentFrameworksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessmentFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentFrameworksPaginator
default ListAssessmentFrameworksPublisher listAssessmentFrameworksPaginator(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) This is a variant of
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentFrameworksPaginator
default ListAssessmentFrameworksPublisher listAssessmentFrameworksPaginator(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) This is a variant of
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListAssessmentFrameworksRequest.builder()- Parameters:
listAssessmentFrameworksRequest- AConsumerthat will call methods onListAssessmentFrameworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentReports
default CompletableFuture<ListAssessmentReportsResponse> listAssessmentReports(ListAssessmentReportsRequest listAssessmentReportsRequest) Returns a list of assessment reports created in Audit Manager.
- Parameters:
listAssessmentReportsRequest-- Returns:
- A Java Future containing the result of the ListAssessmentReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentReports
default CompletableFuture<ListAssessmentReportsResponse> listAssessmentReports(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) Returns a list of assessment reports created in Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentReportsRequest.Builderavoiding the need to create one manually viaListAssessmentReportsRequest.builder()- Parameters:
listAssessmentReportsRequest- AConsumerthat will call methods onListAssessmentReportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessmentReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentReportsPaginator
default ListAssessmentReportsPublisher listAssessmentReportsPaginator(ListAssessmentReportsRequest listAssessmentReportsRequest) This is a variant of
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentReportsPaginator
default ListAssessmentReportsPublisher listAssessmentReportsPaginator(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) This is a variant of
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListAssessmentReportsRequest.builder()- Parameters:
listAssessmentReportsRequest- AConsumerthat will call methods onListAssessmentReportsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessments
default CompletableFuture<ListAssessmentsResponse> listAssessments(ListAssessmentsRequest listAssessmentsRequest) Returns a list of current and past assessments from Audit Manager.
- Parameters:
listAssessmentsRequest-- Returns:
- A Java Future containing the result of the ListAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessments
default CompletableFuture<ListAssessmentsResponse> listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) Returns a list of current and past assessments from Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builderavoiding the need to create one manually viaListAssessmentsRequest.builder()- Parameters:
listAssessmentsRequest- AConsumerthat will call methods onListAssessmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsPublisher listAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) This is a variant of
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsPublisher listAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) This is a variant of
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListAssessmentsRequest.builder()- Parameters:
listAssessmentsRequest- AConsumerthat will call methods onListAssessmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsights
default CompletableFuture<ListControlDomainInsightsResponse> listControlDomainInsights(ListControlDomainInsightsRequest listControlDomainInsightsRequest) Lists the latest analytics data for control domains across all of your active assessments.
Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see
ListDomainsin the Amazon Web Services Control Catalog API Reference.A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdateddate ofcontrolDomainInsights. If this condition isn’t met, no data is listed for that control domain.- Parameters:
listControlDomainInsightsRequest-- Returns:
- A Java Future containing the result of the ListControlDomainInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsights
default CompletableFuture<ListControlDomainInsightsResponse> listControlDomainInsights(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) Lists the latest analytics data for control domains across all of your active assessments.
Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see
ListDomainsin the Amazon Web Services Control Catalog API Reference.A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdateddate 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.Builderavoiding the need to create one manually viaListControlDomainInsightsRequest.builder()- Parameters:
listControlDomainInsightsRequest- AConsumerthat will call methods onListControlDomainInsightsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControlDomainInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsightsByAssessment
default CompletableFuture<ListControlDomainInsightsByAssessmentResponse> listControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) Lists analytics data for control domains within a specified active assessment.
Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see
ListDomainsin the Amazon Web Services Control Catalog API Reference.A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdateddate ofcontrolDomainInsights. If this condition isn’t met, no data is listed for that domain.- Parameters:
listControlDomainInsightsByAssessmentRequest-- Returns:
- A Java Future containing the result of the ListControlDomainInsightsByAssessment operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsightsByAssessment
default CompletableFuture<ListControlDomainInsightsByAssessmentResponse> listControlDomainInsightsByAssessment(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) Lists analytics data for control domains within a specified active assessment.
Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see
ListDomainsin the Amazon Web Services Control Catalog API Reference.A control domain is listed only if at least one of the controls within that domain collected evidence on the
lastUpdateddate 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.Builderavoiding the need to create one manually viaListControlDomainInsightsByAssessmentRequest.builder()- Parameters:
listControlDomainInsightsByAssessmentRequest- AConsumerthat will call methods onListControlDomainInsightsByAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControlDomainInsightsByAssessment operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsightsByAssessmentPaginator
default ListControlDomainInsightsByAssessmentPublisher listControlDomainInsightsByAssessmentPaginator(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) This is a variant of
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsightsByAssessmentPaginator
default ListControlDomainInsightsByAssessmentPublisher listControlDomainInsightsByAssessmentPaginator(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) This is a variant of
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListControlDomainInsightsByAssessmentRequest.builder()- Parameters:
listControlDomainInsightsByAssessmentRequest- AConsumerthat will call methods onListControlDomainInsightsByAssessmentRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsightsPaginator
default ListControlDomainInsightsPublisher listControlDomainInsightsPaginator(ListControlDomainInsightsRequest listControlDomainInsightsRequest) This is a variant of
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlDomainInsightsPaginator
default ListControlDomainInsightsPublisher listControlDomainInsightsPaginator(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) This is a variant of
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListControlDomainInsightsRequest.builder()- Parameters:
listControlDomainInsightsRequest- AConsumerthat will call methods onListControlDomainInsightsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlInsightsByControlDomain
default CompletableFuture<ListControlInsightsByControlDomainResponse> listControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) 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
lastUpdateddate ofcontrolInsightsMetadata. If neither of these conditions are met, no data is listed for that control.- Parameters:
listControlInsightsByControlDomainRequest-- Returns:
- A Java Future containing the result of the ListControlInsightsByControlDomain operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlInsightsByControlDomain
default CompletableFuture<ListControlInsightsByControlDomainResponse> listControlInsightsByControlDomain(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) 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
lastUpdateddate 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.Builderavoiding the need to create one manually viaListControlInsightsByControlDomainRequest.builder()- Parameters:
listControlInsightsByControlDomainRequest- AConsumerthat will call methods onListControlInsightsByControlDomainRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControlInsightsByControlDomain operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlInsightsByControlDomainPaginator
default ListControlInsightsByControlDomainPublisher listControlInsightsByControlDomainPaginator(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) This is a variant of
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlInsightsByControlDomainPaginator
default ListControlInsightsByControlDomainPublisher listControlInsightsByControlDomainPaginator(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) This is a variant of
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListControlInsightsByControlDomainRequest.builder()- Parameters:
listControlInsightsByControlDomainRequest- AConsumerthat will call methods onListControlInsightsByControlDomainRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControls
default CompletableFuture<ListControlsResponse> listControls(ListControlsRequest listControlsRequest) Returns a list of controls from Audit Manager.
- Parameters:
listControlsRequest-- Returns:
- A Java Future containing the result of the ListControls operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControls
default CompletableFuture<ListControlsResponse> listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) Returns a list of controls from Audit Manager.
This is a convenience which creates an instance of the
ListControlsRequest.Builderavoiding the need to create one manually viaListControlsRequest.builder()- Parameters:
listControlsRequest- AConsumerthat will call methods onListControlsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControls operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlsPaginator
This is a variant of
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlsPaginator
default ListControlsPublisher listControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) This is a variant of
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListControlsRequest.builder()- Parameters:
listControlsRequest- AConsumerthat will call methods onListControlsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listKeywordsForDataSource
default CompletableFuture<ListKeywordsForDataSourceResponse> listKeywordsForDataSource(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) Returns a list of keywords that are pre-mapped to the specified control data source.
- Parameters:
listKeywordsForDataSourceRequest-- Returns:
- A Java Future containing the result of the ListKeywordsForDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listKeywordsForDataSource
default CompletableFuture<ListKeywordsForDataSourceResponse> listKeywordsForDataSource(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) 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.Builderavoiding the need to create one manually viaListKeywordsForDataSourceRequest.builder()- Parameters:
listKeywordsForDataSourceRequest- AConsumerthat will call methods onListKeywordsForDataSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListKeywordsForDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listKeywordsForDataSourcePaginator
default ListKeywordsForDataSourcePublisher listKeywordsForDataSourcePaginator(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) This is a variant of
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listKeywordsForDataSourcePaginator
default ListKeywordsForDataSourcePublisher listKeywordsForDataSourcePaginator(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) This is a variant of
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListKeywordsForDataSourceRequest.builder()- Parameters:
listKeywordsForDataSourceRequest- AConsumerthat will call methods onListKeywordsForDataSourceRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotifications
default CompletableFuture<ListNotificationsResponse> listNotifications(ListNotificationsRequest listNotificationsRequest) Returns a list of all Audit Manager notifications.
- Parameters:
listNotificationsRequest-- Returns:
- A Java Future containing the result of the ListNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotifications
default CompletableFuture<ListNotificationsResponse> listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) Returns a list of all Audit Manager notifications.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builderavoiding the need to create one manually viaListNotificationsRequest.builder()- Parameters:
listNotificationsRequest- AConsumerthat will call methods onListNotificationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationsPaginator
default ListNotificationsPublisher listNotificationsPaginator(ListNotificationsRequest listNotificationsRequest) This is a variant of
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationsPaginator
default ListNotificationsPublisher listNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) This is a variant of
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListNotificationsRequest.builder()- Parameters:
listNotificationsRequest- AConsumerthat will call methods onListNotificationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- ValidationException The request has invalid or missing parameters.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for the specified resource in Audit Manager.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for the specified resource in Audit Manager.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerAccount
default CompletableFuture<RegisterAccountResponse> registerAccount(RegisterAccountRequest registerAccountRequest) Enables Audit Manager for the specified Amazon Web Services account.
- Parameters:
registerAccountRequest-- Returns:
- A Java Future containing the result of the RegisterAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerAccount
default CompletableFuture<RegisterAccountResponse> registerAccount(Consumer<RegisterAccountRequest.Builder> registerAccountRequest) Enables Audit Manager for the specified Amazon Web Services account.
This is a convenience which creates an instance of the
RegisterAccountRequest.Builderavoiding the need to create one manually viaRegisterAccountRequest.builder()- Parameters:
registerAccountRequest- AConsumerthat will call methods onRegisterAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RegisterAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOrganizationAdminAccount
default CompletableFuture<RegisterOrganizationAdminAccountResponse> registerOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest registerOrganizationAdminAccountRequest) Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
- Parameters:
registerOrganizationAdminAccountRequest-- Returns:
- A Java Future containing the result of the RegisterOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOrganizationAdminAccount
default CompletableFuture<RegisterOrganizationAdminAccountResponse> registerOrganizationAdminAccount(Consumer<RegisterOrganizationAdminAccountRequest.Builder> registerOrganizationAdminAccountRequest) 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.Builderavoiding the need to create one manually viaRegisterOrganizationAdminAccountRequest.builder()- Parameters:
registerOrganizationAdminAccountRequest- AConsumerthat will call methods onRegisterOrganizationAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RegisterOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Tags the specified resource in Audit Manager.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags the specified resource in Audit Manager.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource in Audit Manager.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource in Audit Manager.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessment
default CompletableFuture<UpdateAssessmentResponse> updateAssessment(UpdateAssessmentRequest updateAssessmentRequest) Edits an Audit Manager assessment.
- Parameters:
updateAssessmentRequest-- Returns:
- A Java Future containing the result of the UpdateAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessment
default CompletableFuture<UpdateAssessmentResponse> updateAssessment(Consumer<UpdateAssessmentRequest.Builder> updateAssessmentRequest) Edits an Audit Manager assessment.
This is a convenience which creates an instance of the
UpdateAssessmentRequest.Builderavoiding the need to create one manually viaUpdateAssessmentRequest.builder()- Parameters:
updateAssessmentRequest- AConsumerthat will call methods onUpdateAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ThrottlingException The request was denied due to request throttling.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentControl
default CompletableFuture<UpdateAssessmentControlResponse> updateAssessmentControl(UpdateAssessmentControlRequest updateAssessmentControlRequest) Updates a control within an assessment in Audit Manager.
- Parameters:
updateAssessmentControlRequest-- Returns:
- A Java Future containing the result of the UpdateAssessmentControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentControl
default CompletableFuture<UpdateAssessmentControlResponse> updateAssessmentControl(Consumer<UpdateAssessmentControlRequest.Builder> updateAssessmentControlRequest) Updates a control within an assessment in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentControlRequest.Builderavoiding the need to create one manually viaUpdateAssessmentControlRequest.builder()- Parameters:
updateAssessmentControlRequest- AConsumerthat will call methods onUpdateAssessmentControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAssessmentControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentControlSetStatus
default CompletableFuture<UpdateAssessmentControlSetStatusResponse> updateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest updateAssessmentControlSetStatusRequest) Updates the status of a control set in an Audit Manager assessment.
- Parameters:
updateAssessmentControlSetStatusRequest-- Returns:
- A Java Future containing the result of the UpdateAssessmentControlSetStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentControlSetStatus
default CompletableFuture<UpdateAssessmentControlSetStatusResponse> updateAssessmentControlSetStatus(Consumer<UpdateAssessmentControlSetStatusRequest.Builder> updateAssessmentControlSetStatusRequest) Updates the status of a control set in an Audit Manager assessment.
This is a convenience which creates an instance of the
UpdateAssessmentControlSetStatusRequest.Builderavoiding the need to create one manually viaUpdateAssessmentControlSetStatusRequest.builder()- Parameters:
updateAssessmentControlSetStatusRequest- AConsumerthat will call methods onUpdateAssessmentControlSetStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAssessmentControlSetStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentFramework
default CompletableFuture<UpdateAssessmentFrameworkResponse> updateAssessmentFramework(UpdateAssessmentFrameworkRequest updateAssessmentFrameworkRequest) Updates a custom framework in Audit Manager.
- Parameters:
updateAssessmentFrameworkRequest-- Returns:
- A Java Future containing the result of the UpdateAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentFramework
default CompletableFuture<UpdateAssessmentFrameworkResponse> updateAssessmentFramework(Consumer<UpdateAssessmentFrameworkRequest.Builder> updateAssessmentFrameworkRequest) Updates a custom framework in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaUpdateAssessmentFrameworkRequest.builder()- Parameters:
updateAssessmentFrameworkRequest- AConsumerthat will call methods onUpdateAssessmentFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAssessmentFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentStatus
default CompletableFuture<UpdateAssessmentStatusResponse> updateAssessmentStatus(UpdateAssessmentStatusRequest updateAssessmentStatusRequest) Updates the status of an assessment in Audit Manager.
- Parameters:
updateAssessmentStatusRequest-- Returns:
- A Java Future containing the result of the UpdateAssessmentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssessmentStatus
default CompletableFuture<UpdateAssessmentStatusResponse> updateAssessmentStatus(Consumer<UpdateAssessmentStatusRequest.Builder> updateAssessmentStatusRequest) Updates the status of an assessment in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentStatusRequest.Builderavoiding the need to create one manually viaUpdateAssessmentStatusRequest.builder()- Parameters:
updateAssessmentStatusRequest- AConsumerthat will call methods onUpdateAssessmentStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAssessmentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateControl
default CompletableFuture<UpdateControlResponse> updateControl(UpdateControlRequest updateControlRequest) Updates a custom control in Audit Manager.
- Parameters:
updateControlRequest-- Returns:
- A Java Future containing the result of the UpdateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateControl
default CompletableFuture<UpdateControlResponse> updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) Updates a custom control in Audit Manager.
This is a convenience which creates an instance of the
UpdateControlRequest.Builderavoiding the need to create one manually viaUpdateControlRequest.builder()- Parameters:
updateControlRequest- AConsumerthat will call methods onUpdateControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource that's specified in the request can't be found.
- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSettings
default CompletableFuture<UpdateSettingsResponse> updateSettings(UpdateSettingsRequest updateSettingsRequest) Updates Audit Manager settings for the current account.
- Parameters:
updateSettingsRequest-- Returns:
- A Java Future containing the result of the UpdateSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSettings
default CompletableFuture<UpdateSettingsResponse> updateSettings(Consumer<UpdateSettingsRequest.Builder> updateSettingsRequest) Updates Audit Manager settings for the current account.
This is a convenience which creates an instance of the
UpdateSettingsRequest.Builderavoiding the need to create one manually viaUpdateSettingsRequest.builder()- Parameters:
updateSettingsRequest- AConsumerthat will call methods onUpdateSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
validateAssessmentReportIntegrity
default CompletableFuture<ValidateAssessmentReportIntegrityResponse> validateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest validateAssessmentReportIntegrityRequest) Validates the integrity of an assessment report in Audit Manager.
- Parameters:
validateAssessmentReportIntegrityRequest-- Returns:
- A Java Future containing the result of the ValidateAssessmentReportIntegrity operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
validateAssessmentReportIntegrity
default CompletableFuture<ValidateAssessmentReportIntegrityResponse> validateAssessmentReportIntegrity(Consumer<ValidateAssessmentReportIntegrityRequest.Builder> validateAssessmentReportIntegrityRequest) Validates the integrity of an assessment report in Audit Manager.
This is a convenience which creates an instance of the
ValidateAssessmentReportIntegrityRequest.Builderavoiding the need to create one manually viaValidateAssessmentReportIntegrityRequest.builder()- Parameters:
validateAssessmentReportIntegrityRequest- AConsumerthat will call methods onValidateAssessmentReportIntegrityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ValidateAssessmentReportIntegrity operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
- InternalServerException An internal service error occurred during the processing of your request. Try again later.
- ResourceNotFoundException The resource that's specified in the request can't be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aAuditManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aAuditManagerAsyncClient.
-