Interface AuditManagerClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AuditManagerClient extends AwsClient
Service client for accessing AWS Audit Manager. This can be created using the staticbuilder()method.Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors.
Audit Manager is a service that provides automated evidence collection so that you can continually audit your Amazon Web Services usage. You can use it to assess the effectiveness of your controls, manage risk, and simplify compliance.
Audit Manager provides prebuilt frameworks that structure and automate assessments for a given compliance standard. Frameworks include a prebuilt collection of controls with descriptions and testing procedures. These controls are grouped according to the requirements of the specified compliance standard or regulation. You can also customize frameworks and controls to support internal audits with specific requirements.
Use the following links to get started with the Audit Manager API:
-
Actions: An alphabetical list of all Audit Manager API operations.
-
Data types: An alphabetical list of all Audit Manager data types.
-
Common parameters: Parameters that all operations can use.
-
Common errors: Client and server errors that all operations can return.
If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateAssessmentReportEvidenceFolder
default AssociateAssessmentReportEvidenceFolderResponse associateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest associateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Associates an evidence folder to an assessment report in an Audit Manager assessment.
- Parameters:
associateAssessmentReportEvidenceFolderRequest-- Returns:
- Result of the AssociateAssessmentReportEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateAssessmentReportEvidenceFolder
default AssociateAssessmentReportEvidenceFolderResponse associateAssessmentReportEvidenceFolder(Consumer<AssociateAssessmentReportEvidenceFolderRequest.Builder> associateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Associates an evidence folder to an assessment report in an Audit Manager assessment.
This is a convenience which creates an instance of the
AssociateAssessmentReportEvidenceFolderRequest.Builderavoiding the need to create one manually viaAssociateAssessmentReportEvidenceFolderRequest.builder()- Parameters:
associateAssessmentReportEvidenceFolderRequest- AConsumerthat will call methods onAssociateAssessmentReportEvidenceFolderRequest.Builderto create a request.- Returns:
- Result of the AssociateAssessmentReportEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchAssociateAssessmentReportEvidence
default BatchAssociateAssessmentReportEvidenceResponse batchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest batchAssociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Associates a list of evidence to an assessment report in an Audit Manager assessment.
- Parameters:
batchAssociateAssessmentReportEvidenceRequest-- Returns:
- Result of the BatchAssociateAssessmentReportEvidence operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchAssociateAssessmentReportEvidence
default BatchAssociateAssessmentReportEvidenceResponse batchAssociateAssessmentReportEvidence(Consumer<BatchAssociateAssessmentReportEvidenceRequest.Builder> batchAssociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Associates a list of evidence to an assessment report in an Audit Manager assessment.
This is a convenience which creates an instance of the
BatchAssociateAssessmentReportEvidenceRequest.Builderavoiding the need to create one manually viaBatchAssociateAssessmentReportEvidenceRequest.builder()- Parameters:
batchAssociateAssessmentReportEvidenceRequest- AConsumerthat will call methods onBatchAssociateAssessmentReportEvidenceRequest.Builderto create a request.- Returns:
- Result of the BatchAssociateAssessmentReportEvidence operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateDelegationByAssessment
default BatchCreateDelegationByAssessmentResponse batchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest batchCreateDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Creates a batch of delegations for an assessment in Audit Manager.
- Parameters:
batchCreateDelegationByAssessmentRequest-- Returns:
- Result of the BatchCreateDelegationByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateDelegationByAssessment
default BatchCreateDelegationByAssessmentResponse batchCreateDelegationByAssessment(Consumer<BatchCreateDelegationByAssessmentRequest.Builder> batchCreateDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Creates a batch of delegations for an assessment in Audit Manager.
This is a convenience which creates an instance of the
BatchCreateDelegationByAssessmentRequest.Builderavoiding the need to create one manually viaBatchCreateDelegationByAssessmentRequest.builder()- Parameters:
batchCreateDelegationByAssessmentRequest- AConsumerthat will call methods onBatchCreateDelegationByAssessmentRequest.Builderto create a request.- Returns:
- Result of the BatchCreateDelegationByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteDelegationByAssessment
default BatchDeleteDelegationByAssessmentResponse batchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest batchDeleteDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a batch of delegations for an assessment in Audit Manager.
- Parameters:
batchDeleteDelegationByAssessmentRequest-- Returns:
- Result of the BatchDeleteDelegationByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteDelegationByAssessment
default BatchDeleteDelegationByAssessmentResponse batchDeleteDelegationByAssessment(Consumer<BatchDeleteDelegationByAssessmentRequest.Builder> batchDeleteDelegationByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a batch of delegations for an assessment in Audit Manager.
This is a convenience which creates an instance of the
BatchDeleteDelegationByAssessmentRequest.Builderavoiding the need to create one manually viaBatchDeleteDelegationByAssessmentRequest.builder()- Parameters:
batchDeleteDelegationByAssessmentRequest- AConsumerthat will call methods onBatchDeleteDelegationByAssessmentRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteDelegationByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDisassociateAssessmentReportEvidence
default BatchDisassociateAssessmentReportEvidenceResponse batchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest batchDisassociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Disassociates a list of evidence from an assessment report in Audit Manager.
- Parameters:
batchDisassociateAssessmentReportEvidenceRequest-- Returns:
- Result of the BatchDisassociateAssessmentReportEvidence operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDisassociateAssessmentReportEvidence
default BatchDisassociateAssessmentReportEvidenceResponse batchDisassociateAssessmentReportEvidence(Consumer<BatchDisassociateAssessmentReportEvidenceRequest.Builder> batchDisassociateAssessmentReportEvidenceRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Disassociates a list of evidence from an assessment report in Audit Manager.
This is a convenience which creates an instance of the
BatchDisassociateAssessmentReportEvidenceRequest.Builderavoiding the need to create one manually viaBatchDisassociateAssessmentReportEvidenceRequest.builder()- Parameters:
batchDisassociateAssessmentReportEvidenceRequest- AConsumerthat will call methods onBatchDisassociateAssessmentReportEvidenceRequest.Builderto create a request.- Returns:
- Result of the BatchDisassociateAssessmentReportEvidence operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchImportEvidenceToAssessmentControl
default BatchImportEvidenceToAssessmentControlResponse batchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest batchImportEvidenceToAssessmentControlRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Adds one or more pieces of evidence to a control in an Audit Manager assessment.
You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.
The following restrictions apply to this action:
-
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:
- Result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
batchImportEvidenceToAssessmentControl
default BatchImportEvidenceToAssessmentControlResponse batchImportEvidenceToAssessmentControl(Consumer<BatchImportEvidenceToAssessmentControlRequest.Builder> batchImportEvidenceToAssessmentControlRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Adds one or more pieces of evidence to a control in an Audit Manager assessment.
You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.
The following restrictions apply to this action:
-
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:
- Result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createAssessment
default CreateAssessmentResponse createAssessment(CreateAssessmentRequest createAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Creates an assessment in Audit Manager.
- Parameters:
createAssessmentRequest-- Returns:
- Result of the CreateAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAssessment
default CreateAssessmentResponse createAssessment(Consumer<CreateAssessmentRequest.Builder> createAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
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:
- Result of the CreateAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAssessmentFramework
default CreateAssessmentFrameworkResponse createAssessmentFramework(CreateAssessmentFrameworkRequest createAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Creates a custom framework in Audit Manager.
- Parameters:
createAssessmentFrameworkRequest-- Returns:
- Result of the CreateAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAssessmentFramework
default CreateAssessmentFrameworkResponse createAssessmentFramework(Consumer<CreateAssessmentFrameworkRequest.Builder> createAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Creates a custom framework in Audit Manager.
This is a convenience which creates an instance of the
CreateAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaCreateAssessmentFrameworkRequest.builder()- Parameters:
createAssessmentFrameworkRequest- AConsumerthat will call methods onCreateAssessmentFrameworkRequest.Builderto create a request.- Returns:
- Result of the CreateAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAssessmentReport
default CreateAssessmentReportResponse createAssessmentReport(CreateAssessmentReportRequest createAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Creates an assessment report for the specified assessment.
- Parameters:
createAssessmentReportRequest-- Returns:
- Result of the CreateAssessmentReport operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAssessmentReport
default CreateAssessmentReportResponse createAssessmentReport(Consumer<CreateAssessmentReportRequest.Builder> createAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Creates an assessment report for the specified assessment.
This is a convenience which creates an instance of the
CreateAssessmentReportRequest.Builderavoiding the need to create one manually viaCreateAssessmentReportRequest.builder()- Parameters:
createAssessmentReportRequest- AConsumerthat will call methods onCreateAssessmentReportRequest.Builderto create a request.- Returns:
- Result of the CreateAssessmentReport operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createControl
default CreateControlResponse createControl(CreateControlRequest createControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Creates a new custom control in Audit Manager.
- Parameters:
createControlRequest-- Returns:
- Result of the CreateControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createControl
default CreateControlResponse createControl(Consumer<CreateControlRequest.Builder> createControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Creates a new custom control in Audit Manager.
This is a convenience which creates an instance of the
CreateControlRequest.Builderavoiding the need to create one manually viaCreateControlRequest.builder()- Parameters:
createControlRequest- AConsumerthat will call methods onCreateControlRequest.Builderto create a request.- Returns:
- Result of the CreateControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessment
default DeleteAssessmentResponse deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes an assessment in Audit Manager.
- Parameters:
deleteAssessmentRequest-- Returns:
- Result of the DeleteAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessment
default DeleteAssessmentResponse deleteAssessment(Consumer<DeleteAssessmentRequest.Builder> deleteAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes an assessment in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentRequest.Builderavoiding the need to create one manually viaDeleteAssessmentRequest.builder()- Parameters:
deleteAssessmentRequest- AConsumerthat will call methods onDeleteAssessmentRequest.Builderto create a request.- Returns:
- Result of the DeleteAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessmentFramework
default DeleteAssessmentFrameworkResponse deleteAssessmentFramework(DeleteAssessmentFrameworkRequest deleteAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a custom framework in Audit Manager.
- Parameters:
deleteAssessmentFrameworkRequest-- Returns:
- Result of the DeleteAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessmentFramework
default DeleteAssessmentFrameworkResponse deleteAssessmentFramework(Consumer<DeleteAssessmentFrameworkRequest.Builder> deleteAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a custom framework in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaDeleteAssessmentFrameworkRequest.builder()- Parameters:
deleteAssessmentFrameworkRequest- AConsumerthat will call methods onDeleteAssessmentFrameworkRequest.Builderto create a request.- Returns:
- Result of the DeleteAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessmentFrameworkShare
default DeleteAssessmentFrameworkShareResponse deleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest deleteAssessmentFrameworkShareRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a share request for a custom framework in Audit Manager.
- Parameters:
deleteAssessmentFrameworkShareRequest-- Returns:
- Result of the DeleteAssessmentFrameworkShare operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessmentFrameworkShare
default DeleteAssessmentFrameworkShareResponse deleteAssessmentFrameworkShare(Consumer<DeleteAssessmentFrameworkShareRequest.Builder> deleteAssessmentFrameworkShareRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a share request for a custom framework in Audit Manager.
This is a convenience which creates an instance of the
DeleteAssessmentFrameworkShareRequest.Builderavoiding the need to create one manually viaDeleteAssessmentFrameworkShareRequest.builder()- Parameters:
deleteAssessmentFrameworkShareRequest- AConsumerthat will call methods onDeleteAssessmentFrameworkShareRequest.Builderto create a request.- Returns:
- Result of the DeleteAssessmentFrameworkShare operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAssessmentReport
default DeleteAssessmentReportResponse deleteAssessmentReport(DeleteAssessmentReportRequest deleteAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Deletes an assessment report in Audit Manager.
When you run the
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:
- Result of the DeleteAssessmentReport operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
deleteAssessmentReport
default DeleteAssessmentReportResponse deleteAssessmentReport(Consumer<DeleteAssessmentReportRequest.Builder> deleteAssessmentReportRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Deletes an assessment report in Audit Manager.
When you run the
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:
- Result of the DeleteAssessmentReport operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
deleteControl
default DeleteControlResponse deleteControl(DeleteControlRequest deleteControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a custom control in Audit Manager.
When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.
- Parameters:
deleteControlRequest-- Returns:
- Result of the DeleteControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteControl
default DeleteControlResponse deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Deletes a custom control in Audit Manager.
When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.
This is a convenience which creates an instance of the
DeleteControlRequest.Builderavoiding the need to create one manually viaDeleteControlRequest.builder()- Parameters:
deleteControlRequest- AConsumerthat will call methods onDeleteControlRequest.Builderto create a request.- Returns:
- Result of the DeleteControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterAccount
default DeregisterAccountResponse deregisterAccount(DeregisterAccountRequest deregisterAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Deregisters an account in Audit Manager.
Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the
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:
- Result of the DeregisterAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterAccount
default DeregisterAccountResponse deregisterAccount(Consumer<DeregisterAccountRequest.Builder> deregisterAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Deregisters an account in Audit Manager.
Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the
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:
- Result of the DeregisterAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deregisterOrganizationAdminAccount
default DeregisterOrganizationAdminAccountResponse deregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest deregisterOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.
When you remove a delegated administrator from your Audit Manager settings, you continue to have access to the evidence that you previously collected under that account. This is also the case when you deregister a delegated administrator from Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.
Keep in mind the following cleanup task if you use evidence finder:
Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. If this task isn’t completed, the event data store remains in their account. In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store.
This cleanup task is necessary to ensure that you don't end up with multiple event data stores. Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.
When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.
To delete your Audit Manager resource data, see the following instructions:
-
DeleteAssessment (see also: Deleting an assessment in the Audit Manager User Guide)
-
DeleteAssessmentFramework (see also: Deleting a custom framework in the Audit Manager User Guide)
-
DeleteAssessmentFrameworkShare (see also: Deleting a share request in the Audit Manager User Guide)
-
DeleteAssessmentReport (see also: Deleting an assessment report in the Audit Manager User Guide)
-
DeleteControl (see also: Deleting a custom control in the Audit Manager User Guide)
At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.
- Parameters:
deregisterOrganizationAdminAccountRequest-- Returns:
- Result of the DeregisterOrganizationAdminAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
deregisterOrganizationAdminAccount
default DeregisterOrganizationAdminAccountResponse deregisterOrganizationAdminAccount(Consumer<DeregisterOrganizationAdminAccountRequest.Builder> deregisterOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.
When you remove a delegated administrator from your Audit Manager settings, you continue to have access to the evidence that you previously collected under that account. This is also the case when you deregister a delegated administrator from Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.
Keep in mind the following cleanup task if you use evidence finder:
Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. If this task isn’t completed, the event data store remains in their account. In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store.
This cleanup task is necessary to ensure that you don't end up with multiple event data stores. Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.
When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.
To delete your Audit Manager resource data, see the following instructions:
-
DeleteAssessment (see also: Deleting an assessment in the Audit Manager User Guide)
-
DeleteAssessmentFramework (see also: Deleting a custom framework in the Audit Manager User Guide)
-
DeleteAssessmentFrameworkShare (see also: Deleting a share request in the Audit Manager User Guide)
-
DeleteAssessmentReport (see also: Deleting an assessment report in the Audit Manager User Guide)
-
DeleteControl (see also: Deleting a custom control in the Audit Manager User Guide)
At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.
This is a convenience which creates an instance of the
DeregisterOrganizationAdminAccountRequest.Builderavoiding the need to create one manually viaDeregisterOrganizationAdminAccountRequest.builder()- Parameters:
deregisterOrganizationAdminAccountRequest- AConsumerthat will call methods onDeregisterOrganizationAdminAccountRequest.Builderto create a request.- Returns:
- Result of the DeregisterOrganizationAdminAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
disassociateAssessmentReportEvidenceFolder
default DisassociateAssessmentReportEvidenceFolderResponse disassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest disassociateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Disassociates an evidence folder from the specified assessment report in Audit Manager.
- Parameters:
disassociateAssessmentReportEvidenceFolderRequest-- Returns:
- Result of the DisassociateAssessmentReportEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateAssessmentReportEvidenceFolder
default DisassociateAssessmentReportEvidenceFolderResponse disassociateAssessmentReportEvidenceFolder(Consumer<DisassociateAssessmentReportEvidenceFolderRequest.Builder> disassociateAssessmentReportEvidenceFolderRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Disassociates an evidence folder from the specified assessment report in Audit Manager.
This is a convenience which creates an instance of the
DisassociateAssessmentReportEvidenceFolderRequest.Builderavoiding the need to create one manually viaDisassociateAssessmentReportEvidenceFolderRequest.builder()- Parameters:
disassociateAssessmentReportEvidenceFolderRequest- AConsumerthat will call methods onDisassociateAssessmentReportEvidenceFolderRequest.Builderto create a request.- Returns:
- Result of the DisassociateAssessmentReportEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAccountStatus
default GetAccountStatusResponse getAccountStatus(GetAccountStatusRequest getAccountStatusRequest) throws InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the registration status of an account in Audit Manager.
- Parameters:
getAccountStatusRequest-- Returns:
- Result of the GetAccountStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAccountStatus
default GetAccountStatusResponse getAccountStatus(Consumer<GetAccountStatusRequest.Builder> getAccountStatusRequest) throws InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the registration status of an account in Audit Manager.
This is a convenience which creates an instance of the
GetAccountStatusRequest.Builderavoiding the need to create one manually viaGetAccountStatusRequest.builder()- Parameters:
getAccountStatusRequest- AConsumerthat will call methods onGetAccountStatusRequest.Builderto create a request.- Returns:
- Result of the GetAccountStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAssessment
default GetAssessmentResponse getAssessment(GetAssessmentRequest getAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified assessment.
- Parameters:
getAssessmentRequest-- Returns:
- Result of the GetAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAssessment
default GetAssessmentResponse getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified assessment.
This is a convenience which creates an instance of the
GetAssessmentRequest.Builderavoiding the need to create one manually viaGetAssessmentRequest.builder()- Parameters:
getAssessmentRequest- AConsumerthat will call methods onGetAssessmentRequest.Builderto create a request.- Returns:
- Result of the GetAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAssessmentFramework
default GetAssessmentFrameworkResponse getAssessmentFramework(GetAssessmentFrameworkRequest getAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified framework.
- Parameters:
getAssessmentFrameworkRequest-- Returns:
- Result of the GetAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAssessmentFramework
default GetAssessmentFrameworkResponse getAssessmentFramework(Consumer<GetAssessmentFrameworkRequest.Builder> getAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified framework.
This is a convenience which creates an instance of the
GetAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaGetAssessmentFrameworkRequest.builder()- Parameters:
getAssessmentFrameworkRequest- AConsumerthat will call methods onGetAssessmentFrameworkRequest.Builderto create a request.- Returns:
- Result of the GetAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAssessmentReportUrl
default GetAssessmentReportUrlResponse getAssessmentReportUrl(GetAssessmentReportUrlRequest getAssessmentReportUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Gets the URL of an assessment report in Audit Manager.
- Parameters:
getAssessmentReportUrlRequest-- Returns:
- Result of the GetAssessmentReportUrl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getAssessmentReportUrl
default GetAssessmentReportUrlResponse getAssessmentReportUrl(Consumer<GetAssessmentReportUrlRequest.Builder> getAssessmentReportUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Gets the URL of an assessment report in Audit Manager.
This is a convenience which creates an instance of the
GetAssessmentReportUrlRequest.Builderavoiding the need to create one manually viaGetAssessmentReportUrlRequest.builder()- Parameters:
getAssessmentReportUrlRequest- AConsumerthat will call methods onGetAssessmentReportUrlRequest.Builderto create a request.- Returns:
- Result of the GetAssessmentReportUrl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getChangeLogs
default GetChangeLogsResponse getChangeLogs(GetChangeLogsRequest getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets a list of changelogs from Audit Manager.
- Parameters:
getChangeLogsRequest-- Returns:
- Result of the GetChangeLogs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getChangeLogs
default GetChangeLogsResponse getChangeLogs(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets a list of changelogs from Audit Manager.
This is a convenience which creates an instance of the
GetChangeLogsRequest.Builderavoiding the need to create one manually viaGetChangeLogsRequest.builder()- Parameters:
getChangeLogsRequest- AConsumerthat will call methods onGetChangeLogsRequest.Builderto create a request.- Returns:
- Result of the GetChangeLogs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getChangeLogsPaginator
default GetChangeLogsIterable getChangeLogsPaginator(GetChangeLogsRequest getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client .getChangeLogsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation.- Parameters:
getChangeLogsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getChangeLogsPaginator
default GetChangeLogsIterable getChangeLogsPaginator(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest) throws AccessDeniedException, ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client .getChangeLogsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsIterable responses = client.getChangeLogsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest)operation.
This is a convenience which creates an instance of the
GetChangeLogsRequest.Builderavoiding the need to create one manually viaGetChangeLogsRequest.builder()- Parameters:
getChangeLogsRequest- AConsumerthat will call methods onGetChangeLogsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getControl
default GetControlResponse getControl(GetControlRequest getControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified control.
- Parameters:
getControlRequest-- Returns:
- Result of the GetControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getControl
default GetControlResponse getControl(Consumer<GetControlRequest.Builder> getControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified control.
This is a convenience which creates an instance of the
GetControlRequest.Builderavoiding the need to create one manually viaGetControlRequest.builder()- Parameters:
getControlRequest- AConsumerthat will call methods onGetControlRequest.Builderto create a request.- Returns:
- Result of the GetControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDelegations
default GetDelegationsResponse getDelegations(GetDelegationsRequest getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets a list of delegations from an audit owner to a delegate.
- Parameters:
getDelegationsRequest-- Returns:
- Result of the GetDelegations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDelegations
default GetDelegationsResponse getDelegations(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets a list of delegations from an audit owner to a delegate.
This is a convenience which creates an instance of the
GetDelegationsRequest.Builderavoiding the need to create one manually viaGetDelegationsRequest.builder()- Parameters:
getDelegationsRequest- AConsumerthat will call methods onGetDelegationsRequest.Builderto create a request.- Returns:
- Result of the GetDelegations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDelegationsPaginator
default GetDelegationsIterable getDelegationsPaginator(GetDelegationsRequest getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client .getDelegationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation.- Parameters:
getDelegationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDelegationsPaginator
default GetDelegationsIterable getDelegationsPaginator(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client .getDelegationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetDelegationsIterable responses = client.getDelegationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest)operation.
This is a convenience which creates an instance of the
GetDelegationsRequest.Builderavoiding the need to create one manually viaGetDelegationsRequest.builder()- Parameters:
getDelegationsRequest- AConsumerthat will call methods onGetDelegationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidence
default GetEvidenceResponse getEvidence(GetEvidenceRequest getEvidenceRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified evidence item.
- Parameters:
getEvidenceRequest-- Returns:
- Result of the GetEvidence operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidence
default GetEvidenceResponse getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets information about a specified evidence item.
This is a convenience which creates an instance of the
GetEvidenceRequest.Builderavoiding the need to create one manually viaGetEvidenceRequest.builder()- Parameters:
getEvidenceRequest- AConsumerthat will call methods onGetEvidenceRequest.Builderto create a request.- Returns:
- Result of the GetEvidence operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceByEvidenceFolder
default GetEvidenceByEvidenceFolderResponse getEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets all evidence from a specified evidence folder in Audit Manager.
- Parameters:
getEvidenceByEvidenceFolderRequest-- Returns:
- Result of the GetEvidenceByEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceByEvidenceFolder
default GetEvidenceByEvidenceFolderResponse getEvidenceByEvidenceFolder(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets all evidence from a specified evidence folder in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceByEvidenceFolderRequest.Builderavoiding the need to create one manually viaGetEvidenceByEvidenceFolderRequest.builder()- Parameters:
getEvidenceByEvidenceFolderRequest- AConsumerthat will call methods onGetEvidenceByEvidenceFolderRequest.Builderto create a request.- Returns:
- Result of the GetEvidenceByEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceByEvidenceFolderPaginator
default GetEvidenceByEvidenceFolderIterable getEvidenceByEvidenceFolderPaginator(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client .getEvidenceByEvidenceFolderPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)operation.- Parameters:
getEvidenceByEvidenceFolderRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceByEvidenceFolderPaginator
default GetEvidenceByEvidenceFolderIterable getEvidenceByEvidenceFolderPaginator(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client .getEvidenceByEvidenceFolderPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderIterable responses = client.getEvidenceByEvidenceFolderPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest)operation.
This is a convenience which creates an instance of the
GetEvidenceByEvidenceFolderRequest.Builderavoiding the need to create one manually viaGetEvidenceByEvidenceFolderRequest.builder()- Parameters:
getEvidenceByEvidenceFolderRequest- AConsumerthat will call methods onGetEvidenceByEvidenceFolderRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFileUploadUrl
default GetEvidenceFileUploadUrlResponse getEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest getEvidenceFileUploadUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.
The following restrictions apply to this operation:
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
- Parameters:
getEvidenceFileUploadUrlRequest-- Returns:
- Result of the GetEvidenceFileUploadUrl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
getEvidenceFileUploadUrl
default GetEvidenceFileUploadUrlResponse getEvidenceFileUploadUrl(Consumer<GetEvidenceFileUploadUrlRequest.Builder> getEvidenceFileUploadUrlRequest) throws ValidationException, AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.
The following restrictions apply to this operation:
-
Maximum size of an individual evidence file: 100 MB
-
Number of daily manual evidence uploads per control: 100
-
Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide
For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFileUploadUrlRequest.Builderavoiding the need to create one manually viaGetEvidenceFileUploadUrlRequest.builder()- Parameters:
getEvidenceFileUploadUrlRequest- AConsumerthat will call methods onGetEvidenceFileUploadUrlRequest.Builderto create a request.- Returns:
- Result of the GetEvidenceFileUploadUrl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
getEvidenceFolder
default GetEvidenceFolderResponse getEvidenceFolder(GetEvidenceFolderRequest getEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets an evidence folder from a specified assessment in Audit Manager.
- Parameters:
getEvidenceFolderRequest-- Returns:
- Result of the GetEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFolder
default GetEvidenceFolderResponse getEvidenceFolder(Consumer<GetEvidenceFolderRequest.Builder> getEvidenceFolderRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets an evidence folder from a specified assessment in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFolderRequest.Builderavoiding the need to create one manually viaGetEvidenceFolderRequest.builder()- Parameters:
getEvidenceFolderRequest- AConsumerthat will call methods onGetEvidenceFolderRequest.Builderto create a request.- Returns:
- Result of the GetEvidenceFolder operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessment
default GetEvidenceFoldersByAssessmentResponse getEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the evidence folders from a specified assessment in Audit Manager.
- Parameters:
getEvidenceFoldersByAssessmentRequest-- Returns:
- Result of the GetEvidenceFoldersByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessment
default GetEvidenceFoldersByAssessmentResponse getEvidenceFoldersByAssessment(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the evidence folders from a specified assessment in Audit Manager.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentRequest.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentRequest.Builderto create a request.- Returns:
- Result of the GetEvidenceFoldersByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessmentPaginator
default GetEvidenceFoldersByAssessmentIterable getEvidenceFoldersByAssessmentPaginator(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client .getEvidenceFoldersByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)operation.- Parameters:
getEvidenceFoldersByAssessmentRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessmentPaginator
default GetEvidenceFoldersByAssessmentIterable getEvidenceFoldersByAssessmentPaginator(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client .getEvidenceFoldersByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentIterable responses = client.getEvidenceFoldersByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest)operation.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentRequest.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessmentControl
default GetEvidenceFoldersByAssessmentControlResponse getEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
- Parameters:
getEvidenceFoldersByAssessmentControlRequest-- Returns:
- Result of the GetEvidenceFoldersByAssessmentControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessmentControl
default GetEvidenceFoldersByAssessmentControlResponse getEvidenceFoldersByAssessmentControl(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentControlRequest.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentControlRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentControlRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentControlRequest.Builderto create a request.- Returns:
- Result of the GetEvidenceFoldersByAssessmentControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessmentControlPaginator
default GetEvidenceFoldersByAssessmentControlIterable getEvidenceFoldersByAssessmentControlPaginator(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client .getEvidenceFoldersByAssessmentControlPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)operation.- Parameters:
getEvidenceFoldersByAssessmentControlRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEvidenceFoldersByAssessmentControlPaginator
default GetEvidenceFoldersByAssessmentControlIterable getEvidenceFoldersByAssessmentControlPaginator(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client .getEvidenceFoldersByAssessmentControlPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlIterable responses = client.getEvidenceFoldersByAssessmentControlPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest)operation.
This is a convenience which creates an instance of the
GetEvidenceFoldersByAssessmentControlRequest.Builderavoiding the need to create one manually viaGetEvidenceFoldersByAssessmentControlRequest.builder()- Parameters:
getEvidenceFoldersByAssessmentControlRequest- AConsumerthat will call methods onGetEvidenceFoldersByAssessmentControlRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getInsights
default GetInsightsResponse getInsights(GetInsightsRequest getInsightsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the latest analytics data for all your current active assessments.
- Parameters:
getInsightsRequest-- Returns:
- Result of the GetInsights operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getInsights
default GetInsightsResponse getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the latest analytics data for all your current active assessments.
This is a convenience which creates an instance of the
GetInsightsRequest.Builderavoiding the need to create one manually viaGetInsightsRequest.builder()- Parameters:
getInsightsRequest- AConsumerthat will call methods onGetInsightsRequest.Builderto create a request.- Returns:
- Result of the GetInsights operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getInsightsByAssessment
default GetInsightsByAssessmentResponse getInsightsByAssessment(GetInsightsByAssessmentRequest getInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the latest analytics data for a specific active assessment.
- Parameters:
getInsightsByAssessmentRequest-- Returns:
- Result of the GetInsightsByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getInsightsByAssessment
default GetInsightsByAssessmentResponse getInsightsByAssessment(Consumer<GetInsightsByAssessmentRequest.Builder> getInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the latest analytics data for a specific active assessment.
This is a convenience which creates an instance of the
GetInsightsByAssessmentRequest.Builderavoiding the need to create one manually viaGetInsightsByAssessmentRequest.builder()- Parameters:
getInsightsByAssessmentRequest- AConsumerthat will call methods onGetInsightsByAssessmentRequest.Builderto create a request.- Returns:
- Result of the GetInsightsByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getOrganizationAdminAccount
default GetOrganizationAdminAccountResponse getOrganizationAdminAccount(GetOrganizationAdminAccountRequest getOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
- Parameters:
getOrganizationAdminAccountRequest-- Returns:
- Result of the GetOrganizationAdminAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getOrganizationAdminAccount
default GetOrganizationAdminAccountResponse getOrganizationAdminAccount(Consumer<GetOrganizationAdminAccountRequest.Builder> getOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
This is a convenience which creates an instance of the
GetOrganizationAdminAccountRequest.Builderavoiding the need to create one manually viaGetOrganizationAdminAccountRequest.builder()- Parameters:
getOrganizationAdminAccountRequest- AConsumerthat will call methods onGetOrganizationAdminAccountRequest.Builderto create a request.- Returns:
- Result of the GetOrganizationAdminAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getServicesInScope
default GetServicesInScopeResponse getServicesInScope(GetServicesInScopeRequest getServicesInScopeRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
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:
- Result of the GetServicesInScope operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getServicesInScope
default GetServicesInScopeResponse getServicesInScope(Consumer<GetServicesInScopeRequest.Builder> getServicesInScopeRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
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:
- Result of the GetServicesInScope operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSettings
default GetSettingsResponse getSettings(GetSettingsRequest getSettingsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the settings for a specified Amazon Web Services account.
- Parameters:
getSettingsRequest-- Returns:
- Result of the GetSettings operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSettings
default GetSettingsResponse getSettings(Consumer<GetSettingsRequest.Builder> getSettingsRequest) throws AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Gets the settings for a specified Amazon Web Services account.
This is a convenience which creates an instance of the
GetSettingsRequest.Builderavoiding the need to create one manually viaGetSettingsRequest.builder()- Parameters:
getSettingsRequest- AConsumerthat will call methods onGetSettingsRequest.Builderto create a request.- Returns:
- Result of the GetSettings operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentControlInsightsByControlDomain
default ListAssessmentControlInsightsByControlDomainResponse listAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Lists the latest analytics data for controls within a specific control domain and a specific active assessment.
Control insights are listed only if the control belongs to the control domain and assessment that was specified. Moreover, the control must have collected evidence on the
lastUpdateddate ofcontrolInsightsByAssessment. If neither of these conditions are met, no data is listed for that control.- Parameters:
listAssessmentControlInsightsByControlDomainRequest-- Returns:
- Result of the ListAssessmentControlInsightsByControlDomain operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentControlInsightsByControlDomain
default ListAssessmentControlInsightsByControlDomainResponse listAssessmentControlInsightsByControlDomain(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Lists the latest analytics data for controls within a specific control domain and a specific active assessment.
Control insights are listed only if the control belongs to the control domain and assessment that was specified. Moreover, the control must have collected evidence on the
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:
- Result of the ListAssessmentControlInsightsByControlDomain operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentControlInsightsByControlDomainPaginator
default ListAssessmentControlInsightsByControlDomainIterable listAssessmentControlInsightsByControlDomainPaginator(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client .listAssessmentControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)operation.- Parameters:
listAssessmentControlInsightsByControlDomainRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentControlInsightsByControlDomainPaginator
default ListAssessmentControlInsightsByControlDomainIterable listAssessmentControlInsightsByControlDomainPaginator(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client .listAssessmentControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainIterable responses = client.listAssessmentControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentControlInsightsByControlDomainRequest.Builderavoiding the need to create one manually viaListAssessmentControlInsightsByControlDomainRequest.builder()- Parameters:
listAssessmentControlInsightsByControlDomainRequest- AConsumerthat will call methods onListAssessmentControlInsightsByControlDomainRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworkShareRequests
default ListAssessmentFrameworkShareRequestsResponse listAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest listAssessmentFrameworkShareRequestsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of sent or received share requests for custom frameworks in Audit Manager.
- Parameters:
listAssessmentFrameworkShareRequestsRequest-- Returns:
- Result of the ListAssessmentFrameworkShareRequests operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworkShareRequests
default ListAssessmentFrameworkShareRequestsResponse listAssessmentFrameworkShareRequests(Consumer<ListAssessmentFrameworkShareRequestsRequest.Builder> listAssessmentFrameworkShareRequestsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of sent or received share requests for custom frameworks in Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentFrameworkShareRequestsRequest.Builderavoiding the need to create one manually viaListAssessmentFrameworkShareRequestsRequest.builder()- Parameters:
listAssessmentFrameworkShareRequestsRequest- AConsumerthat will call methods onListAssessmentFrameworkShareRequestsRequest.Builderto create a request.- Returns:
- Result of the ListAssessmentFrameworkShareRequests operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworkShareRequestsPaginator
default ListAssessmentFrameworkShareRequestsIterable listAssessmentFrameworkShareRequestsPaginator(ListAssessmentFrameworkShareRequestsRequest listAssessmentFrameworkShareRequestsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsIterable responses = client.listAssessmentFrameworkShareRequestsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsIterable responses = client .listAssessmentFrameworkShareRequestsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsIterable responses = client.listAssessmentFrameworkShareRequestsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest)operation.- Parameters:
listAssessmentFrameworkShareRequestsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworkShareRequestsPaginator
default ListAssessmentFrameworkShareRequestsIterable listAssessmentFrameworkShareRequestsPaginator(Consumer<ListAssessmentFrameworkShareRequestsRequest.Builder> listAssessmentFrameworkShareRequestsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsIterable responses = client.listAssessmentFrameworkShareRequestsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsIterable responses = client .listAssessmentFrameworkShareRequestsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsIterable responses = client.listAssessmentFrameworkShareRequestsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentFrameworkShareRequestsRequest.Builderavoiding the need to create one manually viaListAssessmentFrameworkShareRequestsRequest.builder()- Parameters:
listAssessmentFrameworkShareRequestsRequest- AConsumerthat will call methods onListAssessmentFrameworkShareRequestsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworks
default ListAssessmentFrameworksResponse listAssessmentFrameworks(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of the frameworks that are available in the Audit Manager framework library.
- Parameters:
listAssessmentFrameworksRequest-- Returns:
- Result of the ListAssessmentFrameworks operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworks
default ListAssessmentFrameworksResponse listAssessmentFrameworks(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of the frameworks that are available in the Audit Manager framework library.
This is a convenience which creates an instance of the
ListAssessmentFrameworksRequest.Builderavoiding the need to create one manually viaListAssessmentFrameworksRequest.builder()- Parameters:
listAssessmentFrameworksRequest- AConsumerthat will call methods onListAssessmentFrameworksRequest.Builderto create a request.- Returns:
- Result of the ListAssessmentFrameworks operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworksPaginator
default ListAssessmentFrameworksIterable listAssessmentFrameworksPaginator(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client .listAssessmentFrameworksPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation.- Parameters:
listAssessmentFrameworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentFrameworksPaginator
default ListAssessmentFrameworksIterable listAssessmentFrameworksPaginator(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client .listAssessmentFrameworksPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksIterable responses = client.listAssessmentFrameworksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentFrameworksRequest.Builderavoiding the need to create one manually viaListAssessmentFrameworksRequest.builder()- Parameters:
listAssessmentFrameworksRequest- AConsumerthat will call methods onListAssessmentFrameworksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentReports
default ListAssessmentReportsResponse listAssessmentReports(ListAssessmentReportsRequest listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of assessment reports created in Audit Manager.
- Parameters:
listAssessmentReportsRequest-- Returns:
- Result of the ListAssessmentReports operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentReports
default ListAssessmentReportsResponse listAssessmentReports(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of assessment reports created in Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentReportsRequest.Builderavoiding the need to create one manually viaListAssessmentReportsRequest.builder()- Parameters:
listAssessmentReportsRequest- AConsumerthat will call methods onListAssessmentReportsRequest.Builderto create a request.- Returns:
- Result of the ListAssessmentReports operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentReportsPaginator
default ListAssessmentReportsIterable listAssessmentReportsPaginator(ListAssessmentReportsRequest listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client .listAssessmentReportsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation.- Parameters:
listAssessmentReportsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentReportsPaginator
default ListAssessmentReportsIterable listAssessmentReportsPaginator(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client .listAssessmentReportsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsIterable responses = client.listAssessmentReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentReportsRequest.Builderavoiding the need to create one manually viaListAssessmentReportsRequest.builder()- Parameters:
listAssessmentReportsRequest- AConsumerthat will call methods onListAssessmentReportsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessments
default ListAssessmentsResponse listAssessments(ListAssessmentsRequest listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of current and past assessments from Audit Manager.
- Parameters:
listAssessmentsRequest-- Returns:
- Result of the ListAssessments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessments
default ListAssessmentsResponse listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of current and past assessments from Audit Manager.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builderavoiding the need to create one manually viaListAssessmentsRequest.builder()- Parameters:
listAssessmentsRequest- AConsumerthat will call methods onListAssessmentsRequest.Builderto create a request.- Returns:
- Result of the ListAssessments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentsPaginator
default ListAssessmentsIterable listAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client .listAssessmentsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation.- Parameters:
listAssessmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssessmentsPaginator
default ListAssessmentsIterable listAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client .listAssessmentsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builderavoiding the need to create one manually viaListAssessmentsRequest.builder()- Parameters:
listAssessmentsRequest- AConsumerthat will call methods onListAssessmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsights
default ListControlDomainInsightsResponse listControlDomainInsights(ListControlDomainInsightsRequest listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
Lists the latest analytics data for control domains across all of your active assessments.
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:
- Result of the ListControlDomainInsights operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsights
default ListControlDomainInsightsResponse listControlDomainInsights(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
Lists the latest analytics data for control domains across all of your active assessments.
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:
- Result of the ListControlDomainInsights operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsightsPaginator
default ListControlDomainInsightsIterable listControlDomainInsightsPaginator(ListControlDomainInsightsRequest listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client .listControlDomainInsightsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)operation.- Parameters:
listControlDomainInsightsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsightsPaginator
default ListControlDomainInsightsIterable listControlDomainInsightsPaginator(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client .listControlDomainInsightsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsIterable responses = client.listControlDomainInsightsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest)operation.
This is a convenience which creates an instance of the
ListControlDomainInsightsRequest.Builderavoiding the need to create one manually viaListControlDomainInsightsRequest.builder()- Parameters:
listControlDomainInsightsRequest- AConsumerthat will call methods onListControlDomainInsightsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsightsByAssessment
default ListControlDomainInsightsByAssessmentResponse listControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Lists analytics data for control domains within a specified active assessment.
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:
- Result of the ListControlDomainInsightsByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsightsByAssessment
default ListControlDomainInsightsByAssessmentResponse listControlDomainInsightsByAssessment(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Lists analytics data for control domains within a specified active assessment.
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:
- Result of the ListControlDomainInsightsByAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsightsByAssessmentPaginator
default ListControlDomainInsightsByAssessmentIterable listControlDomainInsightsByAssessmentPaginator(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client .listControlDomainInsightsByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)operation.- Parameters:
listControlDomainInsightsByAssessmentRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlDomainInsightsByAssessmentPaginator
default ListControlDomainInsightsByAssessmentIterable listControlDomainInsightsByAssessmentPaginator(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client .listControlDomainInsightsByAssessmentPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentIterable responses = client.listControlDomainInsightsByAssessmentPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest)operation.
This is a convenience which creates an instance of the
ListControlDomainInsightsByAssessmentRequest.Builderavoiding the need to create one manually viaListControlDomainInsightsByAssessmentRequest.builder()- Parameters:
listControlDomainInsightsByAssessmentRequest- AConsumerthat will call methods onListControlDomainInsightsByAssessmentRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlInsightsByControlDomain
default ListControlInsightsByControlDomainResponse listControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
Lists the latest analytics data for controls within a specific control domain across all active assessments.
Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the
lastUpdateddate ofcontrolInsightsMetadata. If neither of these conditions are met, no data is listed for that control.- Parameters:
listControlInsightsByControlDomainRequest-- Returns:
- Result of the ListControlInsightsByControlDomain operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlInsightsByControlDomain
default ListControlInsightsByControlDomainResponse listControlInsightsByControlDomain(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
Lists the latest analytics data for controls within a specific control domain across all active assessments.
Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the
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:
- Result of the ListControlInsightsByControlDomain operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlInsightsByControlDomainPaginator
default ListControlInsightsByControlDomainIterable listControlInsightsByControlDomainPaginator(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client .listControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)operation.- Parameters:
listControlInsightsByControlDomainRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlInsightsByControlDomainPaginator
default ListControlInsightsByControlDomainIterable listControlInsightsByControlDomainPaginator(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client .listControlInsightsByControlDomainPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainIterable responses = client.listControlInsightsByControlDomainPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest)operation.
This is a convenience which creates an instance of the
ListControlInsightsByControlDomainRequest.Builderavoiding the need to create one manually viaListControlInsightsByControlDomainRequest.builder()- Parameters:
listControlInsightsByControlDomainRequest- AConsumerthat will call methods onListControlInsightsByControlDomainRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControls
default ListControlsResponse listControls(ListControlsRequest listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of controls from Audit Manager.
- Parameters:
listControlsRequest-- Returns:
- Result of the ListControls operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControls
default ListControlsResponse listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of controls from Audit Manager.
This is a convenience which creates an instance of the
ListControlsRequest.Builderavoiding the need to create one manually viaListControlsRequest.builder()- Parameters:
listControlsRequest- AConsumerthat will call methods onListControlsRequest.Builderto create a request.- Returns:
- Result of the ListControls operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlsPaginator
default ListControlsIterable listControlsPaginator(ListControlsRequest listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client .listControlsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation.- Parameters:
listControlsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listControlsPaginator
default ListControlsIterable listControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client .listControlsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListControlsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest)operation.
This is a convenience which creates an instance of the
ListControlsRequest.Builderavoiding the need to create one manually viaListControlsRequest.builder()- Parameters:
listControlsRequest- AConsumerthat will call methods onListControlsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listKeywordsForDataSource
default ListKeywordsForDataSourceResponse listKeywordsForDataSource(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of keywords that are pre-mapped to the specified control data source.
- Parameters:
listKeywordsForDataSourceRequest-- Returns:
- Result of the ListKeywordsForDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listKeywordsForDataSource
default ListKeywordsForDataSourceResponse listKeywordsForDataSource(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of keywords that are pre-mapped to the specified control data source.
This is a convenience which creates an instance of the
ListKeywordsForDataSourceRequest.Builderavoiding the need to create one manually viaListKeywordsForDataSourceRequest.builder()- Parameters:
listKeywordsForDataSourceRequest- AConsumerthat will call methods onListKeywordsForDataSourceRequest.Builderto create a request.- Returns:
- Result of the ListKeywordsForDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listKeywordsForDataSourcePaginator
default ListKeywordsForDataSourceIterable listKeywordsForDataSourcePaginator(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client .listKeywordsForDataSourcePaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)operation.- Parameters:
listKeywordsForDataSourceRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listKeywordsForDataSourcePaginator
default ListKeywordsForDataSourceIterable listKeywordsForDataSourcePaginator(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client .listKeywordsForDataSourcePaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourceIterable responses = client.listKeywordsForDataSourcePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest)operation.
This is a convenience which creates an instance of the
ListKeywordsForDataSourceRequest.Builderavoiding the need to create one manually viaListKeywordsForDataSourceRequest.builder()- Parameters:
listKeywordsForDataSourceRequest- AConsumerthat will call methods onListKeywordsForDataSourceRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listNotifications
default ListNotificationsResponse listNotifications(ListNotificationsRequest listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of all Audit Manager notifications.
- Parameters:
listNotificationsRequest-- Returns:
- Result of the ListNotifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listNotifications
default ListNotificationsResponse listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of all Audit Manager notifications.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builderavoiding the need to create one manually viaListNotificationsRequest.builder()- Parameters:
listNotificationsRequest- AConsumerthat will call methods onListNotificationsRequest.Builderto create a request.- Returns:
- Result of the ListNotifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listNotificationsPaginator
default ListNotificationsIterable listNotificationsPaginator(ListNotificationsRequest listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client .listNotificationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation.- Parameters:
listNotificationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listNotificationsPaginator
default ListNotificationsIterable listNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) throws AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
This is a variant of
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client .listNotificationsPaginator(request); for (software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.auditmanager.paginators.ListNotificationsIterable responses = client.listNotificationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest)operation.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builderavoiding the need to create one manually viaListNotificationsRequest.builder()- Parameters:
listNotificationsRequest- AConsumerthat will call methods onListNotificationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of tags for the specified resource in Audit Manager.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Returns a list of tags for the specified resource in Audit Manager.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
registerAccount
default RegisterAccountResponse registerAccount(RegisterAccountRequest registerAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Enables Audit Manager for the specified Amazon Web Services account.
- Parameters:
registerAccountRequest-- Returns:
- Result of the RegisterAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
registerAccount
default RegisterAccountResponse registerAccount(Consumer<RegisterAccountRequest.Builder> registerAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Enables Audit Manager for the specified Amazon Web Services account.
This is a convenience which creates an instance of the
RegisterAccountRequest.Builderavoiding the need to create one manually viaRegisterAccountRequest.builder()- Parameters:
registerAccountRequest- AConsumerthat will call methods onRegisterAccountRequest.Builderto create a request.- Returns:
- Result of the RegisterAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
registerOrganizationAdminAccount
default RegisterOrganizationAdminAccountResponse registerOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest registerOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
- Parameters:
registerOrganizationAdminAccountRequest-- Returns:
- Result of the RegisterOrganizationAdminAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
registerOrganizationAdminAccount
default RegisterOrganizationAdminAccountResponse registerOrganizationAdminAccount(Consumer<RegisterOrganizationAdminAccountRequest.Builder> registerOrganizationAdminAccountRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
This is a convenience which creates an instance of the
RegisterOrganizationAdminAccountRequest.Builderavoiding the need to create one manually viaRegisterOrganizationAdminAccountRequest.builder()- Parameters:
registerOrganizationAdminAccountRequest- AConsumerthat will call methods onRegisterOrganizationAdminAccountRequest.Builderto create a request.- Returns:
- Result of the RegisterOrganizationAdminAccount operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startAssessmentFrameworkShare
default StartAssessmentFrameworkShareResponse startAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest startAssessmentFrameworkShareRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Creates a share request for a custom framework in Audit Manager.
The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.
When you create a share request, Audit Manager stores a snapshot of your custom framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
Audit Manager deletes the snapshot and the backup snapshot when one of the following events occurs:
-
The sender revokes the share request.
-
The recipient declines the share request.
-
The recipient encounters an error and doesn't successfully accept the share request.
-
The share request expires before the recipient responds to the request.
When a sender resends a share request, the snapshot is replaced with an updated version that corresponds with the latest version of the custom framework.
When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share request.
When you invoke the
StartAssessmentFrameworkShareAPI, you are about to share a custom framework with another Amazon Web Services account. You may not share a custom framework that is derived from a standard framework if the standard framework is designated as not eligible for sharing by Amazon Web Services, unless you have obtained permission to do so from the owner of the standard framework. To learn more about which standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User Guide.- Parameters:
startAssessmentFrameworkShareRequest-- Returns:
- Result of the StartAssessmentFrameworkShare operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
startAssessmentFrameworkShare
default StartAssessmentFrameworkShareResponse startAssessmentFrameworkShare(Consumer<StartAssessmentFrameworkShareRequest.Builder> startAssessmentFrameworkShareRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Creates a share request for a custom framework in Audit Manager.
The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.
When you create a share request, Audit Manager stores a snapshot of your custom framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
Audit Manager deletes the snapshot and the backup snapshot when one of the following events occurs:
-
The sender revokes the share request.
-
The recipient declines the share request.
-
The recipient encounters an error and doesn't successfully accept the share request.
-
The share request expires before the recipient responds to the request.
When a sender resends a share request, the snapshot is replaced with an updated version that corresponds with the latest version of the custom framework.
When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share request.
When you invoke the
StartAssessmentFrameworkShareAPI, you are about to share a custom framework with another Amazon Web Services account. You may not share a custom framework that is derived from a standard framework if the standard framework is designated as not eligible for sharing by Amazon Web Services, unless you have obtained permission to do so from the owner of the standard framework. To learn more about which standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User Guide.
This is a convenience which creates an instance of the
StartAssessmentFrameworkShareRequest.Builderavoiding the need to create one manually viaStartAssessmentFrameworkShareRequest.builder()- Parameters:
startAssessmentFrameworkShareRequest- AConsumerthat will call methods onStartAssessmentFrameworkShareRequest.Builderto create a request.- Returns:
- Result of the StartAssessmentFrameworkShare operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Tags the specified resource in Audit Manager.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Tags the specified resource in Audit Manager.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Removes a tag from a resource in Audit Manager.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Removes a tag from a resource in Audit Manager.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessment
default UpdateAssessmentResponse updateAssessment(UpdateAssessmentRequest updateAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
Edits an Audit Manager assessment.
- Parameters:
updateAssessmentRequest-- Returns:
- Result of the UpdateAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessment
default UpdateAssessmentResponse updateAssessment(Consumer<UpdateAssessmentRequest.Builder> updateAssessmentRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, AuditManagerException
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:
- Result of the UpdateAssessment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentControl
default UpdateAssessmentControlResponse updateAssessmentControl(UpdateAssessmentControlRequest updateAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates a control within an assessment in Audit Manager.
- Parameters:
updateAssessmentControlRequest-- Returns:
- Result of the UpdateAssessmentControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentControl
default UpdateAssessmentControlResponse updateAssessmentControl(Consumer<UpdateAssessmentControlRequest.Builder> updateAssessmentControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates a control within an assessment in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentControlRequest.Builderavoiding the need to create one manually viaUpdateAssessmentControlRequest.builder()- Parameters:
updateAssessmentControlRequest- AConsumerthat will call methods onUpdateAssessmentControlRequest.Builderto create a request.- Returns:
- Result of the UpdateAssessmentControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentControlSetStatus
default UpdateAssessmentControlSetStatusResponse updateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest updateAssessmentControlSetStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates the status of a control set in an Audit Manager assessment.
- Parameters:
updateAssessmentControlSetStatusRequest-- Returns:
- Result of the UpdateAssessmentControlSetStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentControlSetStatus
default UpdateAssessmentControlSetStatusResponse updateAssessmentControlSetStatus(Consumer<UpdateAssessmentControlSetStatusRequest.Builder> updateAssessmentControlSetStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates the status of a control set in an Audit Manager assessment.
This is a convenience which creates an instance of the
UpdateAssessmentControlSetStatusRequest.Builderavoiding the need to create one manually viaUpdateAssessmentControlSetStatusRequest.builder()- Parameters:
updateAssessmentControlSetStatusRequest- AConsumerthat will call methods onUpdateAssessmentControlSetStatusRequest.Builderto create a request.- Returns:
- Result of the UpdateAssessmentControlSetStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentFramework
default UpdateAssessmentFrameworkResponse updateAssessmentFramework(UpdateAssessmentFrameworkRequest updateAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates a custom framework in Audit Manager.
- Parameters:
updateAssessmentFrameworkRequest-- Returns:
- Result of the UpdateAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentFramework
default UpdateAssessmentFrameworkResponse updateAssessmentFramework(Consumer<UpdateAssessmentFrameworkRequest.Builder> updateAssessmentFrameworkRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates a custom framework in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentFrameworkRequest.Builderavoiding the need to create one manually viaUpdateAssessmentFrameworkRequest.builder()- Parameters:
updateAssessmentFrameworkRequest- AConsumerthat will call methods onUpdateAssessmentFrameworkRequest.Builderto create a request.- Returns:
- Result of the UpdateAssessmentFramework operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentFrameworkShare
default UpdateAssessmentFrameworkShareResponse updateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest updateAssessmentFrameworkShareRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Updates a share request for a custom framework in Audit Manager.
- Parameters:
updateAssessmentFrameworkShareRequest-- Returns:
- Result of the UpdateAssessmentFrameworkShare operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentFrameworkShare
default UpdateAssessmentFrameworkShareResponse updateAssessmentFrameworkShare(Consumer<UpdateAssessmentFrameworkShareRequest.Builder> updateAssessmentFrameworkShareRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Updates a share request for a custom framework in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentFrameworkShareRequest.Builderavoiding the need to create one manually viaUpdateAssessmentFrameworkShareRequest.builder()- Parameters:
updateAssessmentFrameworkShareRequest- AConsumerthat will call methods onUpdateAssessmentFrameworkShareRequest.Builderto create a request.- Returns:
- Result of the UpdateAssessmentFrameworkShare operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentStatus
default UpdateAssessmentStatusResponse updateAssessmentStatus(UpdateAssessmentStatusRequest updateAssessmentStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Updates the status of an assessment in Audit Manager.
- Parameters:
updateAssessmentStatusRequest-- Returns:
- Result of the UpdateAssessmentStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateAssessmentStatus
default UpdateAssessmentStatusResponse updateAssessmentStatus(Consumer<UpdateAssessmentStatusRequest.Builder> updateAssessmentStatusRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AuditManagerException
Updates the status of an assessment in Audit Manager.
This is a convenience which creates an instance of the
UpdateAssessmentStatusRequest.Builderavoiding the need to create one manually viaUpdateAssessmentStatusRequest.builder()- Parameters:
updateAssessmentStatusRequest- AConsumerthat will call methods onUpdateAssessmentStatusRequest.Builderto create a request.- Returns:
- Result of the UpdateAssessmentStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateControl
default UpdateControlResponse updateControl(UpdateControlRequest updateControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates a custom control in Audit Manager.
- Parameters:
updateControlRequest-- Returns:
- Result of the UpdateControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateControl
default UpdateControlResponse updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates a custom control in Audit Manager.
This is a convenience which creates an instance of the
UpdateControlRequest.Builderavoiding the need to create one manually viaUpdateControlRequest.builder()- Parameters:
updateControlRequest- AConsumerthat will call methods onUpdateControlRequest.Builderto create a request.- Returns:
- Result of the UpdateControl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateSettings
default UpdateSettingsResponse updateSettings(UpdateSettingsRequest updateSettingsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates Audit Manager settings for the current account.
- Parameters:
updateSettingsRequest-- Returns:
- Result of the UpdateSettings operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateSettings
default UpdateSettingsResponse updateSettings(Consumer<UpdateSettingsRequest.Builder> updateSettingsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, AuditManagerException
Updates Audit Manager settings for the current account.
This is a convenience which creates an instance of the
UpdateSettingsRequest.Builderavoiding the need to create one manually viaUpdateSettingsRequest.builder()- Parameters:
updateSettingsRequest- AConsumerthat will call methods onUpdateSettingsRequest.Builderto create a request.- Returns:
- Result of the UpdateSettings operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
validateAssessmentReportIntegrity
default ValidateAssessmentReportIntegrityResponse validateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest validateAssessmentReportIntegrityRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Validates the integrity of an assessment report in Audit Manager.
- Parameters:
validateAssessmentReportIntegrityRequest-- Returns:
- Result of the ValidateAssessmentReportIntegrity operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
validateAssessmentReportIntegrity
default ValidateAssessmentReportIntegrityResponse validateAssessmentReportIntegrity(Consumer<ValidateAssessmentReportIntegrityRequest.Builder> validateAssessmentReportIntegrityRequest) throws ValidationException, AccessDeniedException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, AuditManagerException
Validates the integrity of an assessment report in Audit Manager.
This is a convenience which creates an instance of the
ValidateAssessmentReportIntegrityRequest.Builderavoiding the need to create one manually viaValidateAssessmentReportIntegrityRequest.builder()- Parameters:
validateAssessmentReportIntegrityRequest- AConsumerthat will call methods onValidateAssessmentReportIntegrityRequest.Builderto create a request.- Returns:
- Result of the ValidateAssessmentReportIntegrity operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static AuditManagerClient create()
Create aAuditManagerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AuditManagerClientBuilder builder()
Create a builder that can be used to configure and create aAuditManagerClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AuditManagerServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-