Interface SecurityAgentAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface SecurityAgentAsyncClient extends AwsClient
Service client for accessing AWS Security Agent asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

AWS Security Agent is a frontier agent that proactively secures your applications throughout the development lifecycle. It conducts automated security reviews tailored to your organizational requirements and delivers context-aware penetration testing on demand. By continuously validating security from design to deployment, AWS Security Agent helps prevent vulnerabilities early across all your environments. Key capabilities include design security review for architecture documents, code security review for pull requests in connected repositories, and on-demand penetration testing that discovers, validates, and remediates security vulnerabilities through tailored multi-step attack scenarios. For more information, see the AWS Security Agent User Guide.

  • Field Details

  • Method Details

    • addArtifact

      default CompletableFuture<AddArtifactResponse> addArtifact(AddArtifactRequest addArtifactRequest)

      Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.

      Parameters:
      addArtifactRequest -
      Returns:
      A Java Future containing the result of the AddArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • addArtifact

      default CompletableFuture<AddArtifactResponse> addArtifact(Consumer<AddArtifactRequest.Builder> addArtifactRequest)

      Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.


      This is a convenience which creates an instance of the AddArtifactRequest.Builder avoiding the need to create one manually via AddArtifactRequest.builder()

      Parameters:
      addArtifactRequest - A Consumer that will call methods on AddArtifactRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AddArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateSecurityRequirements

      default CompletableFuture<BatchCreateSecurityRequirementsResponse> batchCreateSecurityRequirements(BatchCreateSecurityRequirementsRequest batchCreateSecurityRequirementsRequest)

      Batch creates security requirements in a customer managed pack.

      Parameters:
      batchCreateSecurityRequirementsRequest -
      Returns:
      A Java Future containing the result of the BatchCreateSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceQuotaExceededException The request exceeds a service quota. Review your current usage and request a quota increase if needed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateSecurityRequirements

      default CompletableFuture<BatchCreateSecurityRequirementsResponse> batchCreateSecurityRequirements(Consumer<BatchCreateSecurityRequirementsRequest.Builder> batchCreateSecurityRequirementsRequest)

      Batch creates security requirements in a customer managed pack.


      This is a convenience which creates an instance of the BatchCreateSecurityRequirementsRequest.Builder avoiding the need to create one manually via BatchCreateSecurityRequirementsRequest.builder()

      Parameters:
      batchCreateSecurityRequirementsRequest - A Consumer that will call methods on BatchCreateSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceQuotaExceededException The request exceeds a service quota. Review your current usage and request a quota increase if needed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteCodeReviews

      default CompletableFuture<BatchDeleteCodeReviewsResponse> batchDeleteCodeReviews(BatchDeleteCodeReviewsRequest batchDeleteCodeReviewsRequest)

      Deletes one or more code reviews from an agent space.

      Parameters:
      batchDeleteCodeReviewsRequest - Input for deleting multiple code reviews.
      Returns:
      A Java Future containing the result of the BatchDeleteCodeReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteCodeReviews

      default CompletableFuture<BatchDeleteCodeReviewsResponse> batchDeleteCodeReviews(Consumer<BatchDeleteCodeReviewsRequest.Builder> batchDeleteCodeReviewsRequest)

      Deletes one or more code reviews from an agent space.


      This is a convenience which creates an instance of the BatchDeleteCodeReviewsRequest.Builder avoiding the need to create one manually via BatchDeleteCodeReviewsRequest.builder()

      Parameters:
      batchDeleteCodeReviewsRequest - A Consumer that will call methods on BatchDeleteCodeReviewsRequest.Builder to create a request. Input for deleting multiple code reviews.
      Returns:
      A Java Future containing the result of the BatchDeleteCodeReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeletePentests

      default CompletableFuture<BatchDeletePentestsResponse> batchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest)

      Deletes one or more pentests from an agent space.

      Parameters:
      batchDeletePentestsRequest - Input for deleting multiple pentests.
      Returns:
      A Java Future containing the result of the BatchDeletePentests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeletePentests

      default CompletableFuture<BatchDeletePentestsResponse> batchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest)

      Deletes one or more pentests from an agent space.


      This is a convenience which creates an instance of the BatchDeletePentestsRequest.Builder avoiding the need to create one manually via BatchDeletePentestsRequest.builder()

      Parameters:
      batchDeletePentestsRequest - A Consumer that will call methods on BatchDeletePentestsRequest.Builder to create a request. Input for deleting multiple pentests.
      Returns:
      A Java Future containing the result of the BatchDeletePentests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteSecurityRequirements

      default CompletableFuture<BatchDeleteSecurityRequirementsResponse> batchDeleteSecurityRequirements(BatchDeleteSecurityRequirementsRequest batchDeleteSecurityRequirementsRequest)

      Batch deletes security requirements from a customer managed pack.

      Parameters:
      batchDeleteSecurityRequirementsRequest -
      Returns:
      A Java Future containing the result of the BatchDeleteSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteSecurityRequirements

      default CompletableFuture<BatchDeleteSecurityRequirementsResponse> batchDeleteSecurityRequirements(Consumer<BatchDeleteSecurityRequirementsRequest.Builder> batchDeleteSecurityRequirementsRequest)

      Batch deletes security requirements from a customer managed pack.


      This is a convenience which creates an instance of the BatchDeleteSecurityRequirementsRequest.Builder avoiding the need to create one manually via BatchDeleteSecurityRequirementsRequest.builder()

      Parameters:
      batchDeleteSecurityRequirementsRequest - A Consumer that will call methods on BatchDeleteSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDeleteSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteThreatModels

      default CompletableFuture<BatchDeleteThreatModelsResponse> batchDeleteThreatModels(BatchDeleteThreatModelsRequest batchDeleteThreatModelsRequest)

      Deletes one or more threat models from an agent space.

      Parameters:
      batchDeleteThreatModelsRequest - Input for deleting multiple threat models.
      Returns:
      A Java Future containing the result of the BatchDeleteThreatModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteThreatModels

      default CompletableFuture<BatchDeleteThreatModelsResponse> batchDeleteThreatModels(Consumer<BatchDeleteThreatModelsRequest.Builder> batchDeleteThreatModelsRequest)

      Deletes one or more threat models from an agent space.


      This is a convenience which creates an instance of the BatchDeleteThreatModelsRequest.Builder avoiding the need to create one manually via BatchDeleteThreatModelsRequest.builder()

      Parameters:
      batchDeleteThreatModelsRequest - A Consumer that will call methods on BatchDeleteThreatModelsRequest.Builder to create a request. Input for deleting multiple threat models.
      Returns:
      A Java Future containing the result of the BatchDeleteThreatModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetAgentSpaces

      default CompletableFuture<BatchGetAgentSpacesResponse> batchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest)

      Retrieves information about one or more agent spaces.

      Parameters:
      batchGetAgentSpacesRequest - Input for batch retrieving agent spaces.
      Returns:
      A Java Future containing the result of the BatchGetAgentSpaces operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetAgentSpaces

      default CompletableFuture<BatchGetAgentSpacesResponse> batchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest)

      Retrieves information about one or more agent spaces.


      This is a convenience which creates an instance of the BatchGetAgentSpacesRequest.Builder avoiding the need to create one manually via BatchGetAgentSpacesRequest.builder()

      Parameters:
      batchGetAgentSpacesRequest - A Consumer that will call methods on BatchGetAgentSpacesRequest.Builder to create a request. Input for batch retrieving agent spaces.
      Returns:
      A Java Future containing the result of the BatchGetAgentSpaces operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetArtifactMetadata

      default CompletableFuture<BatchGetArtifactMetadataResponse> batchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest)

      Retrieves metadata for one or more artifacts in an agent space.

      Parameters:
      batchGetArtifactMetadataRequest -
      Returns:
      A Java Future containing the result of the BatchGetArtifactMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetArtifactMetadata

      default CompletableFuture<BatchGetArtifactMetadataResponse> batchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest)

      Retrieves metadata for one or more artifacts in an agent space.


      This is a convenience which creates an instance of the BatchGetArtifactMetadataRequest.Builder avoiding the need to create one manually via BatchGetArtifactMetadataRequest.builder()

      Parameters:
      batchGetArtifactMetadataRequest - A Consumer that will call methods on BatchGetArtifactMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetArtifactMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetCodeReviewJobTasks

      default CompletableFuture<BatchGetCodeReviewJobTasksResponse> batchGetCodeReviewJobTasks(BatchGetCodeReviewJobTasksRequest batchGetCodeReviewJobTasksRequest)

      Retrieves information about one or more tasks within a code review job.

      Parameters:
      batchGetCodeReviewJobTasksRequest - Input for retrieving multiple tasks associated with a code review job.
      Returns:
      A Java Future containing the result of the BatchGetCodeReviewJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetCodeReviewJobTasks

      default CompletableFuture<BatchGetCodeReviewJobTasksResponse> batchGetCodeReviewJobTasks(Consumer<BatchGetCodeReviewJobTasksRequest.Builder> batchGetCodeReviewJobTasksRequest)

      Retrieves information about one or more tasks within a code review job.


      This is a convenience which creates an instance of the BatchGetCodeReviewJobTasksRequest.Builder avoiding the need to create one manually via BatchGetCodeReviewJobTasksRequest.builder()

      Parameters:
      batchGetCodeReviewJobTasksRequest - A Consumer that will call methods on BatchGetCodeReviewJobTasksRequest.Builder to create a request. Input for retrieving multiple tasks associated with a code review job.
      Returns:
      A Java Future containing the result of the BatchGetCodeReviewJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetCodeReviewJobs

      default CompletableFuture<BatchGetCodeReviewJobsResponse> batchGetCodeReviewJobs(BatchGetCodeReviewJobsRequest batchGetCodeReviewJobsRequest)

      Retrieves information about one or more code review jobs in an agent space.

      Parameters:
      batchGetCodeReviewJobsRequest - Input for BatchGetCodeReviewJobs operation.
      Returns:
      A Java Future containing the result of the BatchGetCodeReviewJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetCodeReviewJobs

      default CompletableFuture<BatchGetCodeReviewJobsResponse> batchGetCodeReviewJobs(Consumer<BatchGetCodeReviewJobsRequest.Builder> batchGetCodeReviewJobsRequest)

      Retrieves information about one or more code review jobs in an agent space.


      This is a convenience which creates an instance of the BatchGetCodeReviewJobsRequest.Builder avoiding the need to create one manually via BatchGetCodeReviewJobsRequest.builder()

      Parameters:
      batchGetCodeReviewJobsRequest - A Consumer that will call methods on BatchGetCodeReviewJobsRequest.Builder to create a request. Input for BatchGetCodeReviewJobs operation.
      Returns:
      A Java Future containing the result of the BatchGetCodeReviewJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetCodeReviews

      default CompletableFuture<BatchGetCodeReviewsResponse> batchGetCodeReviews(BatchGetCodeReviewsRequest batchGetCodeReviewsRequest)

      Retrieves information about one or more code reviews in an agent space.

      Parameters:
      batchGetCodeReviewsRequest - Input for retrieving multiple code reviews by their IDs.
      Returns:
      A Java Future containing the result of the BatchGetCodeReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetCodeReviews

      default CompletableFuture<BatchGetCodeReviewsResponse> batchGetCodeReviews(Consumer<BatchGetCodeReviewsRequest.Builder> batchGetCodeReviewsRequest)

      Retrieves information about one or more code reviews in an agent space.


      This is a convenience which creates an instance of the BatchGetCodeReviewsRequest.Builder avoiding the need to create one manually via BatchGetCodeReviewsRequest.builder()

      Parameters:
      batchGetCodeReviewsRequest - A Consumer that will call methods on BatchGetCodeReviewsRequest.Builder to create a request. Input for retrieving multiple code reviews by their IDs.
      Returns:
      A Java Future containing the result of the BatchGetCodeReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetFindings

      default CompletableFuture<BatchGetFindingsResponse> batchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest)

      Retrieves information about one or more security findings in an agent space.

      Parameters:
      batchGetFindingsRequest - Input for BatchGetFindings operation.
      Returns:
      A Java Future containing the result of the BatchGetFindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetFindings

      default CompletableFuture<BatchGetFindingsResponse> batchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest)

      Retrieves information about one or more security findings in an agent space.


      This is a convenience which creates an instance of the BatchGetFindingsRequest.Builder avoiding the need to create one manually via BatchGetFindingsRequest.builder()

      Parameters:
      batchGetFindingsRequest - A Consumer that will call methods on BatchGetFindingsRequest.Builder to create a request. Input for BatchGetFindings operation.
      Returns:
      A Java Future containing the result of the BatchGetFindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetPentestJobTasks

      default CompletableFuture<BatchGetPentestJobTasksResponse> batchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest)

      Retrieves information about one or more tasks within a pentest job.

      Parameters:
      batchGetPentestJobTasksRequest - Input for retrieving multiple tasks associated with a pentest job.
      Returns:
      A Java Future containing the result of the BatchGetPentestJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetPentestJobTasks

      default CompletableFuture<BatchGetPentestJobTasksResponse> batchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest)

      Retrieves information about one or more tasks within a pentest job.


      This is a convenience which creates an instance of the BatchGetPentestJobTasksRequest.Builder avoiding the need to create one manually via BatchGetPentestJobTasksRequest.builder()

      Parameters:
      batchGetPentestJobTasksRequest - A Consumer that will call methods on BatchGetPentestJobTasksRequest.Builder to create a request. Input for retrieving multiple tasks associated with a pentest job.
      Returns:
      A Java Future containing the result of the BatchGetPentestJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetPentestJobs

      default CompletableFuture<BatchGetPentestJobsResponse> batchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest)

      Retrieves information about one or more pentest jobs in an agent space.

      Parameters:
      batchGetPentestJobsRequest - Input for BatchGetPentestJobs operation.
      Returns:
      A Java Future containing the result of the BatchGetPentestJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetPentestJobs

      default CompletableFuture<BatchGetPentestJobsResponse> batchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest)

      Retrieves information about one or more pentest jobs in an agent space.


      This is a convenience which creates an instance of the BatchGetPentestJobsRequest.Builder avoiding the need to create one manually via BatchGetPentestJobsRequest.builder()

      Parameters:
      batchGetPentestJobsRequest - A Consumer that will call methods on BatchGetPentestJobsRequest.Builder to create a request. Input for BatchGetPentestJobs operation.
      Returns:
      A Java Future containing the result of the BatchGetPentestJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetPentests

      default CompletableFuture<BatchGetPentestsResponse> batchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest)

      Retrieves information about one or more pentests in an agent space.

      Parameters:
      batchGetPentestsRequest - Input for retrieving multiple pentests by their IDs.
      Returns:
      A Java Future containing the result of the BatchGetPentests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetPentests

      default CompletableFuture<BatchGetPentestsResponse> batchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest)

      Retrieves information about one or more pentests in an agent space.


      This is a convenience which creates an instance of the BatchGetPentestsRequest.Builder avoiding the need to create one manually via BatchGetPentestsRequest.builder()

      Parameters:
      batchGetPentestsRequest - A Consumer that will call methods on BatchGetPentestsRequest.Builder to create a request. Input for retrieving multiple pentests by their IDs.
      Returns:
      A Java Future containing the result of the BatchGetPentests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetSecurityRequirements

      default CompletableFuture<BatchGetSecurityRequirementsResponse> batchGetSecurityRequirements(BatchGetSecurityRequirementsRequest batchGetSecurityRequirementsRequest)

      Batch retrieves security requirements from a pack.

      Parameters:
      batchGetSecurityRequirementsRequest -
      Returns:
      A Java Future containing the result of the BatchGetSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetSecurityRequirements

      default CompletableFuture<BatchGetSecurityRequirementsResponse> batchGetSecurityRequirements(Consumer<BatchGetSecurityRequirementsRequest.Builder> batchGetSecurityRequirementsRequest)

      Batch retrieves security requirements from a pack.


      This is a convenience which creates an instance of the BatchGetSecurityRequirementsRequest.Builder avoiding the need to create one manually via BatchGetSecurityRequirementsRequest.builder()

      Parameters:
      batchGetSecurityRequirementsRequest - A Consumer that will call methods on BatchGetSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetTargetDomains

      default CompletableFuture<BatchGetTargetDomainsResponse> batchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest)

      Retrieves information about one or more target domains.

      Parameters:
      batchGetTargetDomainsRequest - Input for batch retrieving target domains.
      Returns:
      A Java Future containing the result of the BatchGetTargetDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetTargetDomains

      default CompletableFuture<BatchGetTargetDomainsResponse> batchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest)

      Retrieves information about one or more target domains.


      This is a convenience which creates an instance of the BatchGetTargetDomainsRequest.Builder avoiding the need to create one manually via BatchGetTargetDomainsRequest.builder()

      Parameters:
      batchGetTargetDomainsRequest - A Consumer that will call methods on BatchGetTargetDomainsRequest.Builder to create a request. Input for batch retrieving target domains.
      Returns:
      A Java Future containing the result of the BatchGetTargetDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreatModelJobTasks

      default CompletableFuture<BatchGetThreatModelJobTasksResponse> batchGetThreatModelJobTasks(BatchGetThreatModelJobTasksRequest batchGetThreatModelJobTasksRequest)

      Retrieves information about one or more tasks within a threat model job.

      Parameters:
      batchGetThreatModelJobTasksRequest - Input for retrieving multiple tasks associated with a threat model job.
      Returns:
      A Java Future containing the result of the BatchGetThreatModelJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreatModelJobTasks

      default CompletableFuture<BatchGetThreatModelJobTasksResponse> batchGetThreatModelJobTasks(Consumer<BatchGetThreatModelJobTasksRequest.Builder> batchGetThreatModelJobTasksRequest)

      Retrieves information about one or more tasks within a threat model job.


      This is a convenience which creates an instance of the BatchGetThreatModelJobTasksRequest.Builder avoiding the need to create one manually via BatchGetThreatModelJobTasksRequest.builder()

      Parameters:
      batchGetThreatModelJobTasksRequest - A Consumer that will call methods on BatchGetThreatModelJobTasksRequest.Builder to create a request. Input for retrieving multiple tasks associated with a threat model job.
      Returns:
      A Java Future containing the result of the BatchGetThreatModelJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreatModelJobs

      default CompletableFuture<BatchGetThreatModelJobsResponse> batchGetThreatModelJobs(BatchGetThreatModelJobsRequest batchGetThreatModelJobsRequest)

      Retrieves information about one or more threat model jobs in an agent space.

      Parameters:
      batchGetThreatModelJobsRequest - Input for BatchGetThreatModelJobs operation.
      Returns:
      A Java Future containing the result of the BatchGetThreatModelJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreatModelJobs

      default CompletableFuture<BatchGetThreatModelJobsResponse> batchGetThreatModelJobs(Consumer<BatchGetThreatModelJobsRequest.Builder> batchGetThreatModelJobsRequest)

      Retrieves information about one or more threat model jobs in an agent space.


      This is a convenience which creates an instance of the BatchGetThreatModelJobsRequest.Builder avoiding the need to create one manually via BatchGetThreatModelJobsRequest.builder()

      Parameters:
      batchGetThreatModelJobsRequest - A Consumer that will call methods on BatchGetThreatModelJobsRequest.Builder to create a request. Input for BatchGetThreatModelJobs operation.
      Returns:
      A Java Future containing the result of the BatchGetThreatModelJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreatModels

      default CompletableFuture<BatchGetThreatModelsResponse> batchGetThreatModels(BatchGetThreatModelsRequest batchGetThreatModelsRequest)

      Retrieves information about one or more threat models in an agent space.

      Parameters:
      batchGetThreatModelsRequest - Input for retrieving multiple threat models by their IDs.
      Returns:
      A Java Future containing the result of the BatchGetThreatModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreatModels

      default CompletableFuture<BatchGetThreatModelsResponse> batchGetThreatModels(Consumer<BatchGetThreatModelsRequest.Builder> batchGetThreatModelsRequest)

      Retrieves information about one or more threat models in an agent space.


      This is a convenience which creates an instance of the BatchGetThreatModelsRequest.Builder avoiding the need to create one manually via BatchGetThreatModelsRequest.builder()

      Parameters:
      batchGetThreatModelsRequest - A Consumer that will call methods on BatchGetThreatModelsRequest.Builder to create a request. Input for retrieving multiple threat models by their IDs.
      Returns:
      A Java Future containing the result of the BatchGetThreatModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreats

      default CompletableFuture<BatchGetThreatsResponse> batchGetThreats(BatchGetThreatsRequest batchGetThreatsRequest)

      Retrieves information about one or more threats.

      Parameters:
      batchGetThreatsRequest - Input for retrieving multiple threats.
      Returns:
      A Java Future containing the result of the BatchGetThreats operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetThreats

      default CompletableFuture<BatchGetThreatsResponse> batchGetThreats(Consumer<BatchGetThreatsRequest.Builder> batchGetThreatsRequest)

      Retrieves information about one or more threats.


      This is a convenience which creates an instance of the BatchGetThreatsRequest.Builder avoiding the need to create one manually via BatchGetThreatsRequest.builder()

      Parameters:
      batchGetThreatsRequest - A Consumer that will call methods on BatchGetThreatsRequest.Builder to create a request. Input for retrieving multiple threats.
      Returns:
      A Java Future containing the result of the BatchGetThreats operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateSecurityRequirements

      default CompletableFuture<BatchUpdateSecurityRequirementsResponse> batchUpdateSecurityRequirements(BatchUpdateSecurityRequirementsRequest batchUpdateSecurityRequirementsRequest)

      Batch updates security requirements within a customer managed pack.

      Parameters:
      batchUpdateSecurityRequirementsRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateSecurityRequirements

      default CompletableFuture<BatchUpdateSecurityRequirementsResponse> batchUpdateSecurityRequirements(Consumer<BatchUpdateSecurityRequirementsRequest.Builder> batchUpdateSecurityRequirementsRequest)

      Batch updates security requirements within a customer managed pack.


      This is a convenience which creates an instance of the BatchUpdateSecurityRequirementsRequest.Builder avoiding the need to create one manually via BatchUpdateSecurityRequirementsRequest.builder()

      Parameters:
      batchUpdateSecurityRequirementsRequest - A Consumer that will call methods on BatchUpdateSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAgentSpace

      default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest)

      Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.

      Parameters:
      createAgentSpaceRequest - Input for creating a new agent space.
      Returns:
      A Java Future containing the result of the CreateAgentSpace operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAgentSpace

      default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest)

      Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.


      This is a convenience which creates an instance of the CreateAgentSpaceRequest.Builder avoiding the need to create one manually via CreateAgentSpaceRequest.builder()

      Parameters:
      createAgentSpaceRequest - A Consumer that will call methods on CreateAgentSpaceRequest.Builder to create a request. Input for creating a new agent space.
      Returns:
      A Java Future containing the result of the CreateAgentSpace operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApplication

      default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest)

      Creates a new application. An application is the top-level organizational unit that supports IAM Identity Center integration.

      Parameters:
      createApplicationRequest -
      Returns:
      A Java Future containing the result of the CreateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApplication

      default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)

      Creates a new application. An application is the top-level organizational unit that supports IAM Identity Center integration.


      This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need to create one manually via CreateApplicationRequest.builder()

      Parameters:
      createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeReview

      default CompletableFuture<CreateCodeReviewResponse> createCodeReview(CreateCodeReviewRequest createCodeReviewRequest)

      Creates a new code review configuration in an agent space. A code review defines the parameters for automated security-focused code analysis.

      Parameters:
      createCodeReviewRequest - Input for creating a new code review.
      Returns:
      A Java Future containing the result of the CreateCodeReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeReview

      default CompletableFuture<CreateCodeReviewResponse> createCodeReview(Consumer<CreateCodeReviewRequest.Builder> createCodeReviewRequest)

      Creates a new code review configuration in an agent space. A code review defines the parameters for automated security-focused code analysis.


      This is a convenience which creates an instance of the CreateCodeReviewRequest.Builder avoiding the need to create one manually via CreateCodeReviewRequest.builder()

      Parameters:
      createCodeReviewRequest - A Consumer that will call methods on CreateCodeReviewRequest.Builder to create a request. Input for creating a new code review.
      Returns:
      A Java Future containing the result of the CreateCodeReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntegration

      default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest)

      Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.

      Parameters:
      createIntegrationRequest -
      Returns:
      A Java Future containing the result of the CreateIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntegration

      default CompletableFuture<CreateIntegrationResponse> createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest)

      Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.


      This is a convenience which creates an instance of the CreateIntegrationRequest.Builder avoiding the need to create one manually via CreateIntegrationRequest.builder()

      Parameters:
      createIntegrationRequest - A Consumer that will call methods on CreateIntegrationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMembership

      default CompletableFuture<CreateMembershipResponse> createMembership(CreateMembershipRequest createMembershipRequest)

      Creates a new membership, granting a user access to an agent space within an application.

      Parameters:
      createMembershipRequest - Request structure for adding a single member to an agent space.
      Returns:
      A Java Future containing the result of the CreateMembership operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMembership

      default CompletableFuture<CreateMembershipResponse> createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest)

      Creates a new membership, granting a user access to an agent space within an application.


      This is a convenience which creates an instance of the CreateMembershipRequest.Builder avoiding the need to create one manually via CreateMembershipRequest.builder()

      Parameters:
      createMembershipRequest - A Consumer that will call methods on CreateMembershipRequest.Builder to create a request. Request structure for adding a single member to an agent space.
      Returns:
      A Java Future containing the result of the CreateMembership operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPentest

      default CompletableFuture<CreatePentestResponse> createPentest(CreatePentestRequest createPentestRequest)

      Creates a new pentest configuration in an agent space. A pentest defines the security test parameters, including target assets, risk type exclusions, and logging configuration.

      Parameters:
      createPentestRequest - Input for creating a new pentest.
      Returns:
      A Java Future containing the result of the CreatePentest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPentest

      default CompletableFuture<CreatePentestResponse> createPentest(Consumer<CreatePentestRequest.Builder> createPentestRequest)

      Creates a new pentest configuration in an agent space. A pentest defines the security test parameters, including target assets, risk type exclusions, and logging configuration.


      This is a convenience which creates an instance of the CreatePentestRequest.Builder avoiding the need to create one manually via CreatePentestRequest.builder()

      Parameters:
      createPentestRequest - A Consumer that will call methods on CreatePentestRequest.Builder to create a request. Input for creating a new pentest.
      Returns:
      A Java Future containing the result of the CreatePentest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPrivateConnection

      default CompletableFuture<CreatePrivateConnectionResponse> createPrivateConnection(CreatePrivateConnectionRequest createPrivateConnectionRequest)

      Creates a private connection for reaching a self-hosted provider instance over private networking using Amazon VPC Lattice.

      Parameters:
      createPrivateConnectionRequest -
      Returns:
      A Java Future containing the result of the CreatePrivateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPrivateConnection

      default CompletableFuture<CreatePrivateConnectionResponse> createPrivateConnection(Consumer<CreatePrivateConnectionRequest.Builder> createPrivateConnectionRequest)

      Creates a private connection for reaching a self-hosted provider instance over private networking using Amazon VPC Lattice.


      This is a convenience which creates an instance of the CreatePrivateConnectionRequest.Builder avoiding the need to create one manually via CreatePrivateConnectionRequest.builder()

      Parameters:
      createPrivateConnectionRequest - A Consumer that will call methods on CreatePrivateConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreatePrivateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSecurityRequirementPack

      default CompletableFuture<CreateSecurityRequirementPackResponse> createSecurityRequirementPack(CreateSecurityRequirementPackRequest createSecurityRequirementPackRequest)

      Creates a customer managed security requirement pack.

      Parameters:
      createSecurityRequirementPackRequest -
      Returns:
      A Java Future containing the result of the CreateSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceQuotaExceededException The request exceeds a service quota. Review your current usage and request a quota increase if needed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSecurityRequirementPack

      default CompletableFuture<CreateSecurityRequirementPackResponse> createSecurityRequirementPack(Consumer<CreateSecurityRequirementPackRequest.Builder> createSecurityRequirementPackRequest)

      Creates a customer managed security requirement pack.


      This is a convenience which creates an instance of the CreateSecurityRequirementPackRequest.Builder avoiding the need to create one manually via CreateSecurityRequirementPackRequest.builder()

      Parameters:
      createSecurityRequirementPackRequest - A Consumer that will call methods on CreateSecurityRequirementPackRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceQuotaExceededException The request exceeds a service quota. Review your current usage and request a quota increase if needed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTargetDomain

      default CompletableFuture<CreateTargetDomainResponse> createTargetDomain(CreateTargetDomainRequest createTargetDomainRequest)

      Creates a new target domain for penetration testing. A target domain is a web domain that must be registered and verified before it can be tested.

      Parameters:
      createTargetDomainRequest - Input for creating a new target domain.
      Returns:
      A Java Future containing the result of the CreateTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTargetDomain

      default CompletableFuture<CreateTargetDomainResponse> createTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest)

      Creates a new target domain for penetration testing. A target domain is a web domain that must be registered and verified before it can be tested.


      This is a convenience which creates an instance of the CreateTargetDomainRequest.Builder avoiding the need to create one manually via CreateTargetDomainRequest.builder()

      Parameters:
      createTargetDomainRequest - A Consumer that will call methods on CreateTargetDomainRequest.Builder to create a request. Input for creating a new target domain.
      Returns:
      A Java Future containing the result of the CreateTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createThreat

      default CompletableFuture<CreateThreatResponse> createThreat(CreateThreatRequest createThreatRequest)

      Creates a new threat under a threat model job.

      Parameters:
      createThreatRequest - Input for creating a new threat.
      Returns:
      A Java Future containing the result of the CreateThreat operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createThreat

      default CompletableFuture<CreateThreatResponse> createThreat(Consumer<CreateThreatRequest.Builder> createThreatRequest)

      Creates a new threat under a threat model job.


      This is a convenience which creates an instance of the CreateThreatRequest.Builder avoiding the need to create one manually via CreateThreatRequest.builder()

      Parameters:
      createThreatRequest - A Consumer that will call methods on CreateThreatRequest.Builder to create a request. Input for creating a new threat.
      Returns:
      A Java Future containing the result of the CreateThreat operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createThreatModel

      default CompletableFuture<CreateThreatModelResponse> createThreatModel(CreateThreatModelRequest createThreatModelRequest)

      Creates a new threat model configuration in an agent space. A threat model defines the parameters for automated threat analysis.

      Parameters:
      createThreatModelRequest - Input for creating a new threat model.
      Returns:
      A Java Future containing the result of the CreateThreatModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createThreatModel

      default CompletableFuture<CreateThreatModelResponse> createThreatModel(Consumer<CreateThreatModelRequest.Builder> createThreatModelRequest)

      Creates a new threat model configuration in an agent space. A threat model defines the parameters for automated threat analysis.


      This is a convenience which creates an instance of the CreateThreatModelRequest.Builder avoiding the need to create one manually via CreateThreatModelRequest.builder()

      Parameters:
      createThreatModelRequest - A Consumer that will call methods on CreateThreatModelRequest.Builder to create a request. Input for creating a new threat model.
      Returns:
      A Java Future containing the result of the CreateThreatModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAgentSpace

      default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest)

      Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.

      Parameters:
      deleteAgentSpaceRequest - Input for deleting an agent space.
      Returns:
      A Java Future containing the result of the DeleteAgentSpace operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAgentSpace

      default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest)

      Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.


      This is a convenience which creates an instance of the DeleteAgentSpaceRequest.Builder avoiding the need to create one manually via DeleteAgentSpaceRequest.builder()

      Parameters:
      deleteAgentSpaceRequest - A Consumer that will call methods on DeleteAgentSpaceRequest.Builder to create a request. Input for deleting an agent space.
      Returns:
      A Java Future containing the result of the DeleteAgentSpace operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApplication

      default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest)

      Deletes an application and its associated configuration, including IAM Identity Center settings.

      Parameters:
      deleteApplicationRequest -
      Returns:
      A Java Future containing the result of the DeleteApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApplication

      default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)

      Deletes an application and its associated configuration, including IAM Identity Center settings.


      This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need to create one manually via DeleteApplicationRequest.builder()

      Parameters:
      deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteArtifact

      default CompletableFuture<DeleteArtifactResponse> deleteArtifact(DeleteArtifactRequest deleteArtifactRequest)

      Deletes an artifact from an agent space.

      Parameters:
      deleteArtifactRequest -
      Returns:
      A Java Future containing the result of the DeleteArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteArtifact

      default CompletableFuture<DeleteArtifactResponse> deleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest)

      Deletes an artifact from an agent space.


      This is a convenience which creates an instance of the DeleteArtifactRequest.Builder avoiding the need to create one manually via DeleteArtifactRequest.builder()

      Parameters:
      deleteArtifactRequest - A Consumer that will call methods on DeleteArtifactRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteIntegration

      default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest)

      Deletes an integration with a third-party provider.

      Parameters:
      deleteIntegrationRequest -
      Returns:
      A Java Future containing the result of the DeleteIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteIntegration

      default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest)

      Deletes an integration with a third-party provider.


      This is a convenience which creates an instance of the DeleteIntegrationRequest.Builder avoiding the need to create one manually via DeleteIntegrationRequest.builder()

      Parameters:
      deleteIntegrationRequest - A Consumer that will call methods on DeleteIntegrationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteMembership

      default CompletableFuture<DeleteMembershipResponse> deleteMembership(DeleteMembershipRequest deleteMembershipRequest)

      Deletes a membership, revoking a user's access to an agent space.

      Parameters:
      deleteMembershipRequest - Request structure for removing a single member from an agent space.
      Returns:
      A Java Future containing the result of the DeleteMembership operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteMembership

      default CompletableFuture<DeleteMembershipResponse> deleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest)

      Deletes a membership, revoking a user's access to an agent space.


      This is a convenience which creates an instance of the DeleteMembershipRequest.Builder avoiding the need to create one manually via DeleteMembershipRequest.builder()

      Parameters:
      deleteMembershipRequest - A Consumer that will call methods on DeleteMembershipRequest.Builder to create a request. Request structure for removing a single member from an agent space.
      Returns:
      A Java Future containing the result of the DeleteMembership operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePrivateConnection

      default CompletableFuture<DeletePrivateConnectionResponse> deletePrivateConnection(DeletePrivateConnectionRequest deletePrivateConnectionRequest)

      Deletes a private connection.

      Parameters:
      deletePrivateConnectionRequest -
      Returns:
      A Java Future containing the result of the DeletePrivateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePrivateConnection

      default CompletableFuture<DeletePrivateConnectionResponse> deletePrivateConnection(Consumer<DeletePrivateConnectionRequest.Builder> deletePrivateConnectionRequest)

      Deletes a private connection.


      This is a convenience which creates an instance of the DeletePrivateConnectionRequest.Builder avoiding the need to create one manually via DeletePrivateConnectionRequest.builder()

      Parameters:
      deletePrivateConnectionRequest - A Consumer that will call methods on DeletePrivateConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePrivateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSecurityRequirementPack

      default CompletableFuture<DeleteSecurityRequirementPackResponse> deleteSecurityRequirementPack(DeleteSecurityRequirementPackRequest deleteSecurityRequirementPackRequest)

      Deletes a customer managed security requirement pack and all its associated security requirements.

      Parameters:
      deleteSecurityRequirementPackRequest -
      Returns:
      A Java Future containing the result of the DeleteSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSecurityRequirementPack

      default CompletableFuture<DeleteSecurityRequirementPackResponse> deleteSecurityRequirementPack(Consumer<DeleteSecurityRequirementPackRequest.Builder> deleteSecurityRequirementPackRequest)

      Deletes a customer managed security requirement pack and all its associated security requirements.


      This is a convenience which creates an instance of the DeleteSecurityRequirementPackRequest.Builder avoiding the need to create one manually via DeleteSecurityRequirementPackRequest.builder()

      Parameters:
      deleteSecurityRequirementPackRequest - A Consumer that will call methods on DeleteSecurityRequirementPackRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTargetDomain

      default CompletableFuture<DeleteTargetDomainResponse> deleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest)

      Deletes a target domain registration. After deletion, the domain can no longer be used for penetration testing.

      Parameters:
      deleteTargetDomainRequest - Input for deleting a target domain.
      Returns:
      A Java Future containing the result of the DeleteTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTargetDomain

      default CompletableFuture<DeleteTargetDomainResponse> deleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest)

      Deletes a target domain registration. After deletion, the domain can no longer be used for penetration testing.


      This is a convenience which creates an instance of the DeleteTargetDomainRequest.Builder avoiding the need to create one manually via DeleteTargetDomainRequest.builder()

      Parameters:
      deleteTargetDomainRequest - A Consumer that will call methods on DeleteTargetDomainRequest.Builder to create a request. Input for deleting a target domain.
      Returns:
      A Java Future containing the result of the DeleteTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describePrivateConnection

      default CompletableFuture<DescribePrivateConnectionResponse> describePrivateConnection(DescribePrivateConnectionRequest describePrivateConnectionRequest)

      Retrieves the details of a private connection.

      Parameters:
      describePrivateConnectionRequest -
      Returns:
      A Java Future containing the result of the DescribePrivateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describePrivateConnection

      default CompletableFuture<DescribePrivateConnectionResponse> describePrivateConnection(Consumer<DescribePrivateConnectionRequest.Builder> describePrivateConnectionRequest)

      Retrieves the details of a private connection.


      This is a convenience which creates an instance of the DescribePrivateConnectionRequest.Builder avoiding the need to create one manually via DescribePrivateConnectionRequest.builder()

      Parameters:
      describePrivateConnectionRequest - A Consumer that will call methods on DescribePrivateConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribePrivateConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getApplication

      default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest)

      Retrieves information about an application.

      Parameters:
      getApplicationRequest -
      Returns:
      A Java Future containing the result of the GetApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getApplication

      default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)

      Retrieves information about an application.


      This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to create one manually via GetApplicationRequest.builder()

      Parameters:
      getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getArtifact

      default CompletableFuture<GetArtifactResponse> getArtifact(GetArtifactRequest getArtifactRequest)

      Retrieves an artifact from an agent space.

      Parameters:
      getArtifactRequest -
      Returns:
      A Java Future containing the result of the GetArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getArtifact

      default CompletableFuture<GetArtifactResponse> getArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest)

      Retrieves an artifact from an agent space.


      This is a convenience which creates an instance of the GetArtifactRequest.Builder avoiding the need to create one manually via GetArtifactRequest.builder()

      Parameters:
      getArtifactRequest - A Consumer that will call methods on GetArtifactRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getIntegration

      default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest)

      Retrieves information about an integration.

      Parameters:
      getIntegrationRequest -
      Returns:
      A Java Future containing the result of the GetIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getIntegration

      default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest)

      Retrieves information about an integration.


      This is a convenience which creates an instance of the GetIntegrationRequest.Builder avoiding the need to create one manually via GetIntegrationRequest.builder()

      Parameters:
      getIntegrationRequest - A Consumer that will call methods on GetIntegrationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSecurityRequirementPack

      default CompletableFuture<GetSecurityRequirementPackResponse> getSecurityRequirementPack(GetSecurityRequirementPackRequest getSecurityRequirementPackRequest)

      Retrieves information about a security requirement pack.

      Parameters:
      getSecurityRequirementPackRequest -
      Returns:
      A Java Future containing the result of the GetSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSecurityRequirementPack

      default CompletableFuture<GetSecurityRequirementPackResponse> getSecurityRequirementPack(Consumer<GetSecurityRequirementPackRequest.Builder> getSecurityRequirementPackRequest)

      Retrieves information about a security requirement pack.


      This is a convenience which creates an instance of the GetSecurityRequirementPackRequest.Builder avoiding the need to create one manually via GetSecurityRequirementPackRequest.builder()

      Parameters:
      getSecurityRequirementPackRequest - A Consumer that will call methods on GetSecurityRequirementPackRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importSecurityRequirements

      default CompletableFuture<ImportSecurityRequirementsResponse> importSecurityRequirements(ImportSecurityRequirementsRequest importSecurityRequirementsRequest)

      Imports security requirements from uploaded documents into a customer managed security requirement pack. The import process asynchronously extracts and generates structured security requirements from the provided source files.

      Parameters:
      importSecurityRequirementsRequest -
      Returns:
      A Java Future containing the result of the ImportSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceQuotaExceededException The request exceeds a service quota. Review your current usage and request a quota increase if needed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • importSecurityRequirements

      default CompletableFuture<ImportSecurityRequirementsResponse> importSecurityRequirements(Consumer<ImportSecurityRequirementsRequest.Builder> importSecurityRequirementsRequest)

      Imports security requirements from uploaded documents into a customer managed security requirement pack. The import process asynchronously extracts and generates structured security requirements from the provided source files.


      This is a convenience which creates an instance of the ImportSecurityRequirementsRequest.Builder avoiding the need to create one manually via ImportSecurityRequirementsRequest.builder()

      Parameters:
      importSecurityRequirementsRequest - A Consumer that will call methods on ImportSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ImportSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ServiceQuotaExceededException The request exceeds a service quota. Review your current usage and request a quota increase if needed.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • initiateProviderRegistration

      default CompletableFuture<InitiateProviderRegistrationResponse> initiateProviderRegistration(InitiateProviderRegistrationRequest initiateProviderRegistrationRequest)

      Initiates the OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.

      Parameters:
      initiateProviderRegistrationRequest -
      Returns:
      A Java Future containing the result of the InitiateProviderRegistration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • initiateProviderRegistration

      default CompletableFuture<InitiateProviderRegistrationResponse> initiateProviderRegistration(Consumer<InitiateProviderRegistrationRequest.Builder> initiateProviderRegistrationRequest)

      Initiates the OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.


      This is a convenience which creates an instance of the InitiateProviderRegistrationRequest.Builder avoiding the need to create one manually via InitiateProviderRegistrationRequest.builder()

      Parameters:
      initiateProviderRegistrationRequest - A Consumer that will call methods on InitiateProviderRegistrationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the InitiateProviderRegistration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentSpaces

      default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest)

      Returns a paginated list of agent space summaries in your account.

      Parameters:
      listAgentSpacesRequest - Input for listing agent spaces.
      Returns:
      A Java Future containing the result of the ListAgentSpaces operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentSpaces

      default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest)

      Returns a paginated list of agent space summaries in your account.


      This is a convenience which creates an instance of the ListAgentSpacesRequest.Builder avoiding the need to create one manually via ListAgentSpacesRequest.builder()

      Parameters:
      listAgentSpacesRequest - A Consumer that will call methods on ListAgentSpacesRequest.Builder to create a request. Input for listing agent spaces.
      Returns:
      A Java Future containing the result of the ListAgentSpaces operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentSpacesPaginator

      default ListAgentSpacesPublisher listAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest)

      This is a variant of listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest) operation.

      Parameters:
      listAgentSpacesRequest - Input for listing agent spaces.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAgentSpacesPaginator

      default ListAgentSpacesPublisher listAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest)

      This is a variant of listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest) operation.


      This is a convenience which creates an instance of the ListAgentSpacesRequest.Builder avoiding the need to create one manually via ListAgentSpacesRequest.builder()

      Parameters:
      listAgentSpacesRequest - A Consumer that will call methods on ListAgentSpacesRequest.Builder to create a request. Input for listing agent spaces.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplications

      default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)

      Returns a paginated list of application summaries in your account.

      Parameters:
      listApplicationsRequest -
      Returns:
      A Java Future containing the result of the ListApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplications

      default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

      Returns a paginated list of application summaries in your account.


      This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need to create one manually via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplicationsPaginator

      default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)

      This is a variant of listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest) operation.

      Parameters:
      listApplicationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplicationsPaginator

      default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

      This is a variant of listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest) operation.


      This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need to create one manually via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listArtifacts

      default CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest)

      Returns a paginated list of artifact summaries for the specified agent space.

      Parameters:
      listArtifactsRequest -
      Returns:
      A Java Future containing the result of the ListArtifacts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listArtifacts

      default CompletableFuture<ListArtifactsResponse> listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)

      Returns a paginated list of artifact summaries for the specified agent space.


      This is a convenience which creates an instance of the ListArtifactsRequest.Builder avoiding the need to create one manually via ListArtifactsRequest.builder()

      Parameters:
      listArtifactsRequest - A Consumer that will call methods on ListArtifactsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListArtifacts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listArtifactsPaginator

      default ListArtifactsPublisher listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest)

      This is a variant of listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest) operation.

      Parameters:
      listArtifactsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listArtifactsPaginator

      default ListArtifactsPublisher listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)

      This is a variant of listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest) operation.


      This is a convenience which creates an instance of the ListArtifactsRequest.Builder avoiding the need to create one manually via ListArtifactsRequest.builder()

      Parameters:
      listArtifactsRequest - A Consumer that will call methods on ListArtifactsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobTasks

      default CompletableFuture<ListCodeReviewJobTasksResponse> listCodeReviewJobTasks(ListCodeReviewJobTasksRequest listCodeReviewJobTasksRequest)

      Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.

      Parameters:
      listCodeReviewJobTasksRequest - Input for listing tasks associated with a code review job.
      Returns:
      A Java Future containing the result of the ListCodeReviewJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobTasks

      default CompletableFuture<ListCodeReviewJobTasksResponse> listCodeReviewJobTasks(Consumer<ListCodeReviewJobTasksRequest.Builder> listCodeReviewJobTasksRequest)

      Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.


      This is a convenience which creates an instance of the ListCodeReviewJobTasksRequest.Builder avoiding the need to create one manually via ListCodeReviewJobTasksRequest.builder()

      Parameters:
      listCodeReviewJobTasksRequest - A Consumer that will call methods on ListCodeReviewJobTasksRequest.Builder to create a request. Input for listing tasks associated with a code review job.
      Returns:
      A Java Future containing the result of the ListCodeReviewJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobTasksPaginator

      default ListCodeReviewJobTasksPublisher listCodeReviewJobTasksPaginator(ListCodeReviewJobTasksRequest listCodeReviewJobTasksRequest)

      This is a variant of listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest) operation.

      Parameters:
      listCodeReviewJobTasksRequest - Input for listing tasks associated with a code review job.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobTasksPaginator

      default ListCodeReviewJobTasksPublisher listCodeReviewJobTasksPaginator(Consumer<ListCodeReviewJobTasksRequest.Builder> listCodeReviewJobTasksRequest)

      This is a variant of listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest) operation.


      This is a convenience which creates an instance of the ListCodeReviewJobTasksRequest.Builder avoiding the need to create one manually via ListCodeReviewJobTasksRequest.builder()

      Parameters:
      listCodeReviewJobTasksRequest - A Consumer that will call methods on ListCodeReviewJobTasksRequest.Builder to create a request. Input for listing tasks associated with a code review job.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobsForCodeReview

      default CompletableFuture<ListCodeReviewJobsForCodeReviewResponse> listCodeReviewJobsForCodeReview(ListCodeReviewJobsForCodeReviewRequest listCodeReviewJobsForCodeReviewRequest)

      Returns a paginated list of code review job summaries for the specified code review configuration.

      Parameters:
      listCodeReviewJobsForCodeReviewRequest - Input for ListCodeReviewJobsForCodeReview operation.
      Returns:
      A Java Future containing the result of the ListCodeReviewJobsForCodeReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobsForCodeReview

      default CompletableFuture<ListCodeReviewJobsForCodeReviewResponse> listCodeReviewJobsForCodeReview(Consumer<ListCodeReviewJobsForCodeReviewRequest.Builder> listCodeReviewJobsForCodeReviewRequest)

      Returns a paginated list of code review job summaries for the specified code review configuration.


      This is a convenience which creates an instance of the ListCodeReviewJobsForCodeReviewRequest.Builder avoiding the need to create one manually via ListCodeReviewJobsForCodeReviewRequest.builder()

      Parameters:
      listCodeReviewJobsForCodeReviewRequest - A Consumer that will call methods on ListCodeReviewJobsForCodeReviewRequest.Builder to create a request. Input for ListCodeReviewJobsForCodeReview operation.
      Returns:
      A Java Future containing the result of the ListCodeReviewJobsForCodeReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobsForCodeReviewPaginator

      default ListCodeReviewJobsForCodeReviewPublisher listCodeReviewJobsForCodeReviewPaginator(ListCodeReviewJobsForCodeReviewRequest listCodeReviewJobsForCodeReviewRequest)

      This is a variant of listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest) operation.

      Parameters:
      listCodeReviewJobsForCodeReviewRequest - Input for ListCodeReviewJobsForCodeReview operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewJobsForCodeReviewPaginator

      default ListCodeReviewJobsForCodeReviewPublisher listCodeReviewJobsForCodeReviewPaginator(Consumer<ListCodeReviewJobsForCodeReviewRequest.Builder> listCodeReviewJobsForCodeReviewRequest)

      This is a variant of listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest) operation.


      This is a convenience which creates an instance of the ListCodeReviewJobsForCodeReviewRequest.Builder avoiding the need to create one manually via ListCodeReviewJobsForCodeReviewRequest.builder()

      Parameters:
      listCodeReviewJobsForCodeReviewRequest - A Consumer that will call methods on ListCodeReviewJobsForCodeReviewRequest.Builder to create a request. Input for ListCodeReviewJobsForCodeReview operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviews

      default CompletableFuture<ListCodeReviewsResponse> listCodeReviews(ListCodeReviewsRequest listCodeReviewsRequest)

      Returns a paginated list of code review summaries for the specified agent space.

      Parameters:
      listCodeReviewsRequest - Input for listing code reviews with optional filtering.
      Returns:
      A Java Future containing the result of the ListCodeReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviews

      default CompletableFuture<ListCodeReviewsResponse> listCodeReviews(Consumer<ListCodeReviewsRequest.Builder> listCodeReviewsRequest)

      Returns a paginated list of code review summaries for the specified agent space.


      This is a convenience which creates an instance of the ListCodeReviewsRequest.Builder avoiding the need to create one manually via ListCodeReviewsRequest.builder()

      Parameters:
      listCodeReviewsRequest - A Consumer that will call methods on ListCodeReviewsRequest.Builder to create a request. Input for listing code reviews with optional filtering.
      Returns:
      A Java Future containing the result of the ListCodeReviews operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewsPaginator

      default ListCodeReviewsPublisher listCodeReviewsPaginator(ListCodeReviewsRequest listCodeReviewsRequest)

      This is a variant of listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest) operation.

      Parameters:
      listCodeReviewsRequest - Input for listing code reviews with optional filtering.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeReviewsPaginator

      default ListCodeReviewsPublisher listCodeReviewsPaginator(Consumer<ListCodeReviewsRequest.Builder> listCodeReviewsRequest)

      This is a variant of listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest) operation.


      This is a convenience which creates an instance of the ListCodeReviewsRequest.Builder avoiding the need to create one manually via ListCodeReviewsRequest.builder()

      Parameters:
      listCodeReviewsRequest - A Consumer that will call methods on ListCodeReviewsRequest.Builder to create a request. Input for listing code reviews with optional filtering.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredEndpoints

      default CompletableFuture<ListDiscoveredEndpointsResponse> listDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest)

      Returns a paginated list of endpoints discovered during a pentest job execution.

      Parameters:
      listDiscoveredEndpointsRequest - Input for ListDiscoveredEndpoints operation.
      Returns:
      A Java Future containing the result of the ListDiscoveredEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredEndpoints

      default CompletableFuture<ListDiscoveredEndpointsResponse> listDiscoveredEndpoints(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest)

      Returns a paginated list of endpoints discovered during a pentest job execution.


      This is a convenience which creates an instance of the ListDiscoveredEndpointsRequest.Builder avoiding the need to create one manually via ListDiscoveredEndpointsRequest.builder()

      Parameters:
      listDiscoveredEndpointsRequest - A Consumer that will call methods on ListDiscoveredEndpointsRequest.Builder to create a request. Input for ListDiscoveredEndpoints operation.
      Returns:
      A Java Future containing the result of the ListDiscoveredEndpoints operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredEndpointsPaginator

      default ListDiscoveredEndpointsPublisher listDiscoveredEndpointsPaginator(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest)

      This is a variant of listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest) operation.

      Parameters:
      listDiscoveredEndpointsRequest - Input for ListDiscoveredEndpoints operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredEndpointsPaginator

      default ListDiscoveredEndpointsPublisher listDiscoveredEndpointsPaginator(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest)

      This is a variant of listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest) operation.


      This is a convenience which creates an instance of the ListDiscoveredEndpointsRequest.Builder avoiding the need to create one manually via ListDiscoveredEndpointsRequest.builder()

      Parameters:
      listDiscoveredEndpointsRequest - A Consumer that will call methods on ListDiscoveredEndpointsRequest.Builder to create a request. Input for ListDiscoveredEndpoints operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFindings

      default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest)

      Lists the security findings for a pentest job.

      Parameters:
      listFindingsRequest - Input for ListFindings operation with filtering support.
      Returns:
      A Java Future containing the result of the ListFindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFindings

      default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)

      Lists the security findings for a pentest job.


      This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to create one manually via ListFindingsRequest.builder()

      Parameters:
      listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request. Input for ListFindings operation with filtering support.
      Returns:
      A Java Future containing the result of the ListFindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFindingsPaginator

      default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest)

      This is a variant of listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListFindingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListFindingsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest) operation.

      Parameters:
      listFindingsRequest - Input for ListFindings operation with filtering support.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFindingsPaginator

      default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)

      This is a variant of listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListFindingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListFindingsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest) operation.


      This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to create one manually via ListFindingsRequest.builder()

      Parameters:
      listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request. Input for ListFindings operation with filtering support.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegratedResources

      default CompletableFuture<ListIntegratedResourcesResponse> listIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest)

      Lists the integrated resources for an agent space, optionally filtered by integration or resource type.

      Parameters:
      listIntegratedResourcesRequest -
      Returns:
      A Java Future containing the result of the ListIntegratedResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegratedResources

      default CompletableFuture<ListIntegratedResourcesResponse> listIntegratedResources(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest)

      Lists the integrated resources for an agent space, optionally filtered by integration or resource type.


      This is a convenience which creates an instance of the ListIntegratedResourcesRequest.Builder avoiding the need to create one manually via ListIntegratedResourcesRequest.builder()

      Parameters:
      listIntegratedResourcesRequest - A Consumer that will call methods on ListIntegratedResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIntegratedResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegratedResourcesPaginator

      default ListIntegratedResourcesPublisher listIntegratedResourcesPaginator(ListIntegratedResourcesRequest listIntegratedResourcesRequest)

      This is a variant of listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest) operation.

      Parameters:
      listIntegratedResourcesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegratedResourcesPaginator

      default ListIntegratedResourcesPublisher listIntegratedResourcesPaginator(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest)

      This is a variant of listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest) operation.


      This is a convenience which creates an instance of the ListIntegratedResourcesRequest.Builder avoiding the need to create one manually via ListIntegratedResourcesRequest.builder()

      Parameters:
      listIntegratedResourcesRequest - A Consumer that will call methods on ListIntegratedResourcesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrations

      default CompletableFuture<ListIntegrationsResponse> listIntegrations(ListIntegrationsRequest listIntegrationsRequest)

      Lists the integrations in your account, optionally filtered by provider or provider type.

      Parameters:
      listIntegrationsRequest -
      Returns:
      A Java Future containing the result of the ListIntegrations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrations

      default CompletableFuture<ListIntegrationsResponse> listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest)

      Lists the integrations in your account, optionally filtered by provider or provider type.


      This is a convenience which creates an instance of the ListIntegrationsRequest.Builder avoiding the need to create one manually via ListIntegrationsRequest.builder()

      Parameters:
      listIntegrationsRequest - A Consumer that will call methods on ListIntegrationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIntegrations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrationsPaginator

      default ListIntegrationsPublisher listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest)

      This is a variant of listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest) operation.

      Parameters:
      listIntegrationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrationsPaginator

      default ListIntegrationsPublisher listIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest)

      This is a variant of listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest) operation.


      This is a convenience which creates an instance of the ListIntegrationsRequest.Builder avoiding the need to create one manually via ListIntegrationsRequest.builder()

      Parameters:
      listIntegrationsRequest - A Consumer that will call methods on ListIntegrationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMemberships

      default CompletableFuture<ListMembershipsResponse> listMemberships(ListMembershipsRequest listMembershipsRequest)

      Returns a paginated list of membership summaries for the specified agent space within an application.

      Parameters:
      listMembershipsRequest - Request structure for listing agent space members.
      Returns:
      A Java Future containing the result of the ListMemberships operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMemberships

      default CompletableFuture<ListMembershipsResponse> listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest)

      Returns a paginated list of membership summaries for the specified agent space within an application.


      This is a convenience which creates an instance of the ListMembershipsRequest.Builder avoiding the need to create one manually via ListMembershipsRequest.builder()

      Parameters:
      listMembershipsRequest - A Consumer that will call methods on ListMembershipsRequest.Builder to create a request. Request structure for listing agent space members.
      Returns:
      A Java Future containing the result of the ListMemberships operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMembershipsPaginator

      default ListMembershipsPublisher listMembershipsPaginator(ListMembershipsRequest listMembershipsRequest)

      This is a variant of listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest) operation.

      Parameters:
      listMembershipsRequest - Request structure for listing agent space members.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMembershipsPaginator

      default ListMembershipsPublisher listMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest)

      This is a variant of listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest) operation.


      This is a convenience which creates an instance of the ListMembershipsRequest.Builder avoiding the need to create one manually via ListMembershipsRequest.builder()

      Parameters:
      listMembershipsRequest - A Consumer that will call methods on ListMembershipsRequest.Builder to create a request. Request structure for listing agent space members.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobTasks

      default CompletableFuture<ListPentestJobTasksResponse> listPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest)

      Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.

      Parameters:
      listPentestJobTasksRequest - Input for listing tasks associated with a pentest job.
      Returns:
      A Java Future containing the result of the ListPentestJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobTasks

      default CompletableFuture<ListPentestJobTasksResponse> listPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest)

      Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.


      This is a convenience which creates an instance of the ListPentestJobTasksRequest.Builder avoiding the need to create one manually via ListPentestJobTasksRequest.builder()

      Parameters:
      listPentestJobTasksRequest - A Consumer that will call methods on ListPentestJobTasksRequest.Builder to create a request. Input for listing tasks associated with a pentest job.
      Returns:
      A Java Future containing the result of the ListPentestJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobTasksPaginator

      default ListPentestJobTasksPublisher listPentestJobTasksPaginator(ListPentestJobTasksRequest listPentestJobTasksRequest)

      This is a variant of listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest) operation.

      Parameters:
      listPentestJobTasksRequest - Input for listing tasks associated with a pentest job.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobTasksPaginator

      default ListPentestJobTasksPublisher listPentestJobTasksPaginator(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest)

      This is a variant of listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest) operation.


      This is a convenience which creates an instance of the ListPentestJobTasksRequest.Builder avoiding the need to create one manually via ListPentestJobTasksRequest.builder()

      Parameters:
      listPentestJobTasksRequest - A Consumer that will call methods on ListPentestJobTasksRequest.Builder to create a request. Input for listing tasks associated with a pentest job.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobsForPentest

      default CompletableFuture<ListPentestJobsForPentestResponse> listPentestJobsForPentest(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest)

      Returns a paginated list of pentest job summaries for the specified pentest configuration.

      Parameters:
      listPentestJobsForPentestRequest - Input for ListPentestJobsForPentest operation.
      Returns:
      A Java Future containing the result of the ListPentestJobsForPentest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobsForPentest

      default CompletableFuture<ListPentestJobsForPentestResponse> listPentestJobsForPentest(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest)

      Returns a paginated list of pentest job summaries for the specified pentest configuration.


      This is a convenience which creates an instance of the ListPentestJobsForPentestRequest.Builder avoiding the need to create one manually via ListPentestJobsForPentestRequest.builder()

      Parameters:
      listPentestJobsForPentestRequest - A Consumer that will call methods on ListPentestJobsForPentestRequest.Builder to create a request. Input for ListPentestJobsForPentest operation.
      Returns:
      A Java Future containing the result of the ListPentestJobsForPentest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobsForPentestPaginator

      default ListPentestJobsForPentestPublisher listPentestJobsForPentestPaginator(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest)

      This is a variant of listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest) operation.

      Parameters:
      listPentestJobsForPentestRequest - Input for ListPentestJobsForPentest operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestJobsForPentestPaginator

      default ListPentestJobsForPentestPublisher listPentestJobsForPentestPaginator(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest)

      This is a variant of listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest) operation.


      This is a convenience which creates an instance of the ListPentestJobsForPentestRequest.Builder avoiding the need to create one manually via ListPentestJobsForPentestRequest.builder()

      Parameters:
      listPentestJobsForPentestRequest - A Consumer that will call methods on ListPentestJobsForPentestRequest.Builder to create a request. Input for ListPentestJobsForPentest operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentests

      default CompletableFuture<ListPentestsResponse> listPentests(ListPentestsRequest listPentestsRequest)

      Returns a paginated list of pentest summaries for the specified agent space.

      Parameters:
      listPentestsRequest - Input for listing pentests with optional filtering.
      Returns:
      A Java Future containing the result of the ListPentests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentests

      default CompletableFuture<ListPentestsResponse> listPentests(Consumer<ListPentestsRequest.Builder> listPentestsRequest)

      Returns a paginated list of pentest summaries for the specified agent space.


      This is a convenience which creates an instance of the ListPentestsRequest.Builder avoiding the need to create one manually via ListPentestsRequest.builder()

      Parameters:
      listPentestsRequest - A Consumer that will call methods on ListPentestsRequest.Builder to create a request. Input for listing pentests with optional filtering.
      Returns:
      A Java Future containing the result of the ListPentests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestsPaginator

      default ListPentestsPublisher listPentestsPaginator(ListPentestsRequest listPentestsRequest)

      This is a variant of listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest) operation.

      Parameters:
      listPentestsRequest - Input for listing pentests with optional filtering.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPentestsPaginator

      default ListPentestsPublisher listPentestsPaginator(Consumer<ListPentestsRequest.Builder> listPentestsRequest)

      This is a variant of listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest) operation.


      This is a convenience which creates an instance of the ListPentestsRequest.Builder avoiding the need to create one manually via ListPentestsRequest.builder()

      Parameters:
      listPentestsRequest - A Consumer that will call methods on ListPentestsRequest.Builder to create a request. Input for listing pentests with optional filtering.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPrivateConnections

      default CompletableFuture<ListPrivateConnectionsResponse> listPrivateConnections(ListPrivateConnectionsRequest listPrivateConnectionsRequest)

      Lists the private connections in your account.

      Parameters:
      listPrivateConnectionsRequest -
      Returns:
      A Java Future containing the result of the ListPrivateConnections operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPrivateConnections

      default CompletableFuture<ListPrivateConnectionsResponse> listPrivateConnections(Consumer<ListPrivateConnectionsRequest.Builder> listPrivateConnectionsRequest)

      Lists the private connections in your account.


      This is a convenience which creates an instance of the ListPrivateConnectionsRequest.Builder avoiding the need to create one manually via ListPrivateConnectionsRequest.builder()

      Parameters:
      listPrivateConnectionsRequest - A Consumer that will call methods on ListPrivateConnectionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPrivateConnections operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPrivateConnectionsPaginator

      default ListPrivateConnectionsPublisher listPrivateConnectionsPaginator(ListPrivateConnectionsRequest listPrivateConnectionsRequest)

      This is a variant of listPrivateConnections(software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPrivateConnectionsPublisher publisher = client.listPrivateConnectionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPrivateConnectionsPublisher publisher = client.listPrivateConnectionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPrivateConnections(software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsRequest) operation.

      Parameters:
      listPrivateConnectionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPrivateConnectionsPaginator

      default ListPrivateConnectionsPublisher listPrivateConnectionsPaginator(Consumer<ListPrivateConnectionsRequest.Builder> listPrivateConnectionsRequest)

      This is a variant of listPrivateConnections(software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListPrivateConnectionsPublisher publisher = client.listPrivateConnectionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListPrivateConnectionsPublisher publisher = client.listPrivateConnectionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listPrivateConnections(software.amazon.awssdk.services.securityagent.model.ListPrivateConnectionsRequest) operation.


      This is a convenience which creates an instance of the ListPrivateConnectionsRequest.Builder avoiding the need to create one manually via ListPrivateConnectionsRequest.builder()

      Parameters:
      listPrivateConnectionsRequest - A Consumer that will call methods on ListPrivateConnectionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirementPacks

      default CompletableFuture<ListSecurityRequirementPacksResponse> listSecurityRequirementPacks(ListSecurityRequirementPacksRequest listSecurityRequirementPacksRequest)

      Lists all security requirement packs in the caller's account.

      Parameters:
      listSecurityRequirementPacksRequest -
      Returns:
      A Java Future containing the result of the ListSecurityRequirementPacks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirementPacks

      default CompletableFuture<ListSecurityRequirementPacksResponse> listSecurityRequirementPacks(Consumer<ListSecurityRequirementPacksRequest.Builder> listSecurityRequirementPacksRequest)

      Lists all security requirement packs in the caller's account.


      This is a convenience which creates an instance of the ListSecurityRequirementPacksRequest.Builder avoiding the need to create one manually via ListSecurityRequirementPacksRequest.builder()

      Parameters:
      listSecurityRequirementPacksRequest - A Consumer that will call methods on ListSecurityRequirementPacksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSecurityRequirementPacks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirementPacksPaginator

      default ListSecurityRequirementPacksPublisher listSecurityRequirementPacksPaginator(ListSecurityRequirementPacksRequest listSecurityRequirementPacksRequest)

      This is a variant of listSecurityRequirementPacks(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementPacksPublisher publisher = client.listSecurityRequirementPacksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementPacksPublisher publisher = client.listSecurityRequirementPacksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSecurityRequirementPacks(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksRequest) operation.

      Parameters:
      listSecurityRequirementPacksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirementPacksPaginator

      default ListSecurityRequirementPacksPublisher listSecurityRequirementPacksPaginator(Consumer<ListSecurityRequirementPacksRequest.Builder> listSecurityRequirementPacksRequest)

      This is a variant of listSecurityRequirementPacks(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementPacksPublisher publisher = client.listSecurityRequirementPacksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementPacksPublisher publisher = client.listSecurityRequirementPacksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSecurityRequirementPacks(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementPacksRequest) operation.


      This is a convenience which creates an instance of the ListSecurityRequirementPacksRequest.Builder avoiding the need to create one manually via ListSecurityRequirementPacksRequest.builder()

      Parameters:
      listSecurityRequirementPacksRequest - A Consumer that will call methods on ListSecurityRequirementPacksRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirements

      default CompletableFuture<ListSecurityRequirementsResponse> listSecurityRequirements(ListSecurityRequirementsRequest listSecurityRequirementsRequest)

      Lists security requirements within a pack.

      Parameters:
      listSecurityRequirementsRequest -
      Returns:
      A Java Future containing the result of the ListSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirements

      default CompletableFuture<ListSecurityRequirementsResponse> listSecurityRequirements(Consumer<ListSecurityRequirementsRequest.Builder> listSecurityRequirementsRequest)

      Lists security requirements within a pack.


      This is a convenience which creates an instance of the ListSecurityRequirementsRequest.Builder avoiding the need to create one manually via ListSecurityRequirementsRequest.builder()

      Parameters:
      listSecurityRequirementsRequest - A Consumer that will call methods on ListSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSecurityRequirements operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirementsPaginator

      default ListSecurityRequirementsPublisher listSecurityRequirementsPaginator(ListSecurityRequirementsRequest listSecurityRequirementsRequest)

      This is a variant of listSecurityRequirements(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementsPublisher publisher = client.listSecurityRequirementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementsPublisher publisher = client.listSecurityRequirementsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSecurityRequirements(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsRequest) operation.

      Parameters:
      listSecurityRequirementsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSecurityRequirementsPaginator

      default ListSecurityRequirementsPublisher listSecurityRequirementsPaginator(Consumer<ListSecurityRequirementsRequest.Builder> listSecurityRequirementsRequest)

      This is a variant of listSecurityRequirements(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementsPublisher publisher = client.listSecurityRequirementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListSecurityRequirementsPublisher publisher = client.listSecurityRequirementsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSecurityRequirements(software.amazon.awssdk.services.securityagent.model.ListSecurityRequirementsRequest) operation.


      This is a convenience which creates an instance of the ListSecurityRequirementsRequest.Builder avoiding the need to create one manually via ListSecurityRequirementsRequest.builder()

      Parameters:
      listSecurityRequirementsRequest - A Consumer that will call methods on ListSecurityRequirementsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Returns the tags associated with the specified resource.

      Parameters:
      listTagsForResourceRequest - Input for ListTagsForResource operation.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Returns the tags associated with the specified resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request. Input for ListTagsForResource operation.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTargetDomains

      default CompletableFuture<ListTargetDomainsResponse> listTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest)

      Returns a paginated list of target domain summaries in your account.

      Parameters:
      listTargetDomainsRequest - Input for listing target domains.
      Returns:
      A Java Future containing the result of the ListTargetDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTargetDomains

      default CompletableFuture<ListTargetDomainsResponse> listTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest)

      Returns a paginated list of target domain summaries in your account.


      This is a convenience which creates an instance of the ListTargetDomainsRequest.Builder avoiding the need to create one manually via ListTargetDomainsRequest.builder()

      Parameters:
      listTargetDomainsRequest - A Consumer that will call methods on ListTargetDomainsRequest.Builder to create a request. Input for listing target domains.
      Returns:
      A Java Future containing the result of the ListTargetDomains operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTargetDomainsPaginator

      default ListTargetDomainsPublisher listTargetDomainsPaginator(ListTargetDomainsRequest listTargetDomainsRequest)

      This is a variant of listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest) operation.

      Parameters:
      listTargetDomainsRequest - Input for listing target domains.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTargetDomainsPaginator

      default ListTargetDomainsPublisher listTargetDomainsPaginator(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest)

      This is a variant of listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest) operation.


      This is a convenience which creates an instance of the ListTargetDomainsRequest.Builder avoiding the need to create one manually via ListTargetDomainsRequest.builder()

      Parameters:
      listTargetDomainsRequest - A Consumer that will call methods on ListTargetDomainsRequest.Builder to create a request. Input for listing target domains.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobTasks

      default CompletableFuture<ListThreatModelJobTasksResponse> listThreatModelJobTasks(ListThreatModelJobTasksRequest listThreatModelJobTasksRequest)

      Returns a paginated list of task summaries for the specified threat model job.

      Parameters:
      listThreatModelJobTasksRequest - Input for listing tasks associated with a threat model job.
      Returns:
      A Java Future containing the result of the ListThreatModelJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobTasks

      default CompletableFuture<ListThreatModelJobTasksResponse> listThreatModelJobTasks(Consumer<ListThreatModelJobTasksRequest.Builder> listThreatModelJobTasksRequest)

      Returns a paginated list of task summaries for the specified threat model job.


      This is a convenience which creates an instance of the ListThreatModelJobTasksRequest.Builder avoiding the need to create one manually via ListThreatModelJobTasksRequest.builder()

      Parameters:
      listThreatModelJobTasksRequest - A Consumer that will call methods on ListThreatModelJobTasksRequest.Builder to create a request. Input for listing tasks associated with a threat model job.
      Returns:
      A Java Future containing the result of the ListThreatModelJobTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobTasksPaginator

      default ListThreatModelJobTasksPublisher listThreatModelJobTasksPaginator(ListThreatModelJobTasksRequest listThreatModelJobTasksRequest)

      This is a variant of listThreatModelJobTasks(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobTasksPublisher publisher = client.listThreatModelJobTasksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobTasksPublisher publisher = client.listThreatModelJobTasksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreatModelJobTasks(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksRequest) operation.

      Parameters:
      listThreatModelJobTasksRequest - Input for listing tasks associated with a threat model job.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobTasksPaginator

      default ListThreatModelJobTasksPublisher listThreatModelJobTasksPaginator(Consumer<ListThreatModelJobTasksRequest.Builder> listThreatModelJobTasksRequest)

      This is a variant of listThreatModelJobTasks(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobTasksPublisher publisher = client.listThreatModelJobTasksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobTasksPublisher publisher = client.listThreatModelJobTasksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreatModelJobTasks(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobTasksRequest) operation.


      This is a convenience which creates an instance of the ListThreatModelJobTasksRequest.Builder avoiding the need to create one manually via ListThreatModelJobTasksRequest.builder()

      Parameters:
      listThreatModelJobTasksRequest - A Consumer that will call methods on ListThreatModelJobTasksRequest.Builder to create a request. Input for listing tasks associated with a threat model job.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobs

      default CompletableFuture<ListThreatModelJobsResponse> listThreatModelJobs(ListThreatModelJobsRequest listThreatModelJobsRequest)

      Returns a paginated list of threat model job summaries for the specified threat model.

      Parameters:
      listThreatModelJobsRequest - Input for ListThreatModelJobs operation.
      Returns:
      A Java Future containing the result of the ListThreatModelJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobs

      default CompletableFuture<ListThreatModelJobsResponse> listThreatModelJobs(Consumer<ListThreatModelJobsRequest.Builder> listThreatModelJobsRequest)

      Returns a paginated list of threat model job summaries for the specified threat model.


      This is a convenience which creates an instance of the ListThreatModelJobsRequest.Builder avoiding the need to create one manually via ListThreatModelJobsRequest.builder()

      Parameters:
      listThreatModelJobsRequest - A Consumer that will call methods on ListThreatModelJobsRequest.Builder to create a request. Input for ListThreatModelJobs operation.
      Returns:
      A Java Future containing the result of the ListThreatModelJobs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobsPaginator

      default ListThreatModelJobsPublisher listThreatModelJobsPaginator(ListThreatModelJobsRequest listThreatModelJobsRequest)

      This is a variant of listThreatModelJobs(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobsPublisher publisher = client.listThreatModelJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobsPublisher publisher = client.listThreatModelJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreatModelJobs(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsRequest) operation.

      Parameters:
      listThreatModelJobsRequest - Input for ListThreatModelJobs operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelJobsPaginator

      default ListThreatModelJobsPublisher listThreatModelJobsPaginator(Consumer<ListThreatModelJobsRequest.Builder> listThreatModelJobsRequest)

      This is a variant of listThreatModelJobs(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobsPublisher publisher = client.listThreatModelJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelJobsPublisher publisher = client.listThreatModelJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreatModelJobs(software.amazon.awssdk.services.securityagent.model.ListThreatModelJobsRequest) operation.


      This is a convenience which creates an instance of the ListThreatModelJobsRequest.Builder avoiding the need to create one manually via ListThreatModelJobsRequest.builder()

      Parameters:
      listThreatModelJobsRequest - A Consumer that will call methods on ListThreatModelJobsRequest.Builder to create a request. Input for ListThreatModelJobs operation.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModels

      default CompletableFuture<ListThreatModelsResponse> listThreatModels(ListThreatModelsRequest listThreatModelsRequest)

      Returns a paginated list of threat model summaries for the specified agent space.

      Parameters:
      listThreatModelsRequest - Input for listing threat models.
      Returns:
      A Java Future containing the result of the ListThreatModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModels

      default CompletableFuture<ListThreatModelsResponse> listThreatModels(Consumer<ListThreatModelsRequest.Builder> listThreatModelsRequest)

      Returns a paginated list of threat model summaries for the specified agent space.


      This is a convenience which creates an instance of the ListThreatModelsRequest.Builder avoiding the need to create one manually via ListThreatModelsRequest.builder()

      Parameters:
      listThreatModelsRequest - A Consumer that will call methods on ListThreatModelsRequest.Builder to create a request. Input for listing threat models.
      Returns:
      A Java Future containing the result of the ListThreatModels operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelsPaginator

      default ListThreatModelsPublisher listThreatModelsPaginator(ListThreatModelsRequest listThreatModelsRequest)

      This is a variant of listThreatModels(software.amazon.awssdk.services.securityagent.model.ListThreatModelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelsPublisher publisher = client.listThreatModelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelsPublisher publisher = client.listThreatModelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatModelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatModelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreatModels(software.amazon.awssdk.services.securityagent.model.ListThreatModelsRequest) operation.

      Parameters:
      listThreatModelsRequest - Input for listing threat models.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatModelsPaginator

      default ListThreatModelsPublisher listThreatModelsPaginator(Consumer<ListThreatModelsRequest.Builder> listThreatModelsRequest)

      This is a variant of listThreatModels(software.amazon.awssdk.services.securityagent.model.ListThreatModelsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelsPublisher publisher = client.listThreatModelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatModelsPublisher publisher = client.listThreatModelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatModelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatModelsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreatModels(software.amazon.awssdk.services.securityagent.model.ListThreatModelsRequest) operation.


      This is a convenience which creates an instance of the ListThreatModelsRequest.Builder avoiding the need to create one manually via ListThreatModelsRequest.builder()

      Parameters:
      listThreatModelsRequest - A Consumer that will call methods on ListThreatModelsRequest.Builder to create a request. Input for listing threat models.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreats

      default CompletableFuture<ListThreatsResponse> listThreats(ListThreatsRequest listThreatsRequest)

      Returns a paginated list of threats for a threat model job.

      Parameters:
      listThreatsRequest - Input for listing threats.
      Returns:
      A Java Future containing the result of the ListThreats operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreats

      default CompletableFuture<ListThreatsResponse> listThreats(Consumer<ListThreatsRequest.Builder> listThreatsRequest)

      Returns a paginated list of threats for a threat model job.


      This is a convenience which creates an instance of the ListThreatsRequest.Builder avoiding the need to create one manually via ListThreatsRequest.builder()

      Parameters:
      listThreatsRequest - A Consumer that will call methods on ListThreatsRequest.Builder to create a request. Input for listing threats.
      Returns:
      A Java Future containing the result of the ListThreats operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatsPaginator

      default ListThreatsPublisher listThreatsPaginator(ListThreatsRequest listThreatsRequest)

      This is a variant of listThreats(software.amazon.awssdk.services.securityagent.model.ListThreatsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatsPublisher publisher = client.listThreatsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatsPublisher publisher = client.listThreatsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreats(software.amazon.awssdk.services.securityagent.model.ListThreatsRequest) operation.

      Parameters:
      listThreatsRequest - Input for listing threats.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listThreatsPaginator

      default ListThreatsPublisher listThreatsPaginator(Consumer<ListThreatsRequest.Builder> listThreatsRequest)

      This is a variant of listThreats(software.amazon.awssdk.services.securityagent.model.ListThreatsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatsPublisher publisher = client.listThreatsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.securityagent.paginators.ListThreatsPublisher publisher = client.listThreatsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListThreatsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.securityagent.model.ListThreatsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listThreats(software.amazon.awssdk.services.securityagent.model.ListThreatsRequest) operation.


      This is a convenience which creates an instance of the ListThreatsRequest.Builder avoiding the need to create one manually via ListThreatsRequest.builder()

      Parameters:
      listThreatsRequest - A Consumer that will call methods on ListThreatsRequest.Builder to create a request. Input for listing threats.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startCodeRemediation

      default CompletableFuture<StartCodeRemediationResponse> startCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest)

      Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.

      Parameters:
      startCodeRemediationRequest - Input for the StartCodeRemediation operation.
      Returns:
      A Java Future containing the result of the StartCodeRemediation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startCodeRemediation

      default CompletableFuture<StartCodeRemediationResponse> startCodeRemediation(Consumer<StartCodeRemediationRequest.Builder> startCodeRemediationRequest)

      Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.


      This is a convenience which creates an instance of the StartCodeRemediationRequest.Builder avoiding the need to create one manually via StartCodeRemediationRequest.builder()

      Parameters:
      startCodeRemediationRequest - A Consumer that will call methods on StartCodeRemediationRequest.Builder to create a request. Input for the StartCodeRemediation operation.
      Returns:
      A Java Future containing the result of the StartCodeRemediation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startCodeReviewJob

      default CompletableFuture<StartCodeReviewJobResponse> startCodeReviewJob(StartCodeReviewJobRequest startCodeReviewJobRequest)

      Starts a new code review job for a code review configuration. The job executes the security-focused code analysis defined in the code review.

      Parameters:
      startCodeReviewJobRequest - Input for starting the execution of a code review.
      Returns:
      A Java Future containing the result of the StartCodeReviewJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startCodeReviewJob

      default CompletableFuture<StartCodeReviewJobResponse> startCodeReviewJob(Consumer<StartCodeReviewJobRequest.Builder> startCodeReviewJobRequest)

      Starts a new code review job for a code review configuration. The job executes the security-focused code analysis defined in the code review.


      This is a convenience which creates an instance of the StartCodeReviewJobRequest.Builder avoiding the need to create one manually via StartCodeReviewJobRequest.builder()

      Parameters:
      startCodeReviewJobRequest - A Consumer that will call methods on StartCodeReviewJobRequest.Builder to create a request. Input for starting the execution of a code review.
      Returns:
      A Java Future containing the result of the StartCodeReviewJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startPentestJob

      default CompletableFuture<StartPentestJobResponse> startPentestJob(StartPentestJobRequest startPentestJobRequest)

      Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.

      Parameters:
      startPentestJobRequest - Input for starting the execution of a pentest.
      Returns:
      A Java Future containing the result of the StartPentestJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startPentestJob

      default CompletableFuture<StartPentestJobResponse> startPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest)

      Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.


      This is a convenience which creates an instance of the StartPentestJobRequest.Builder avoiding the need to create one manually via StartPentestJobRequest.builder()

      Parameters:
      startPentestJobRequest - A Consumer that will call methods on StartPentestJobRequest.Builder to create a request. Input for starting the execution of a pentest.
      Returns:
      A Java Future containing the result of the StartPentestJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startThreatModelJob

      default CompletableFuture<StartThreatModelJobResponse> startThreatModelJob(StartThreatModelJobRequest startThreatModelJobRequest)

      Starts a new threat model job for a threat model configuration.

      Parameters:
      startThreatModelJobRequest - Input for starting a threat model job.
      Returns:
      A Java Future containing the result of the StartThreatModelJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startThreatModelJob

      default CompletableFuture<StartThreatModelJobResponse> startThreatModelJob(Consumer<StartThreatModelJobRequest.Builder> startThreatModelJobRequest)

      Starts a new threat model job for a threat model configuration.


      This is a convenience which creates an instance of the StartThreatModelJobRequest.Builder avoiding the need to create one manually via StartThreatModelJobRequest.builder()

      Parameters:
      startThreatModelJobRequest - A Consumer that will call methods on StartThreatModelJobRequest.Builder to create a request. Input for starting a threat model job.
      Returns:
      A Java Future containing the result of the StartThreatModelJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopCodeReviewJob

      default CompletableFuture<StopCodeReviewJobResponse> stopCodeReviewJob(StopCodeReviewJobRequest stopCodeReviewJobRequest)

      Stops a running code review job. The job transitions to a stopping state and then to stopped after cleanup completes.

      Parameters:
      stopCodeReviewJobRequest - Input for stopping the execution of a code review job.
      Returns:
      A Java Future containing the result of the StopCodeReviewJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopCodeReviewJob

      default CompletableFuture<StopCodeReviewJobResponse> stopCodeReviewJob(Consumer<StopCodeReviewJobRequest.Builder> stopCodeReviewJobRequest)

      Stops a running code review job. The job transitions to a stopping state and then to stopped after cleanup completes.


      This is a convenience which creates an instance of the StopCodeReviewJobRequest.Builder avoiding the need to create one manually via StopCodeReviewJobRequest.builder()

      Parameters:
      stopCodeReviewJobRequest - A Consumer that will call methods on StopCodeReviewJobRequest.Builder to create a request. Input for stopping the execution of a code review job.
      Returns:
      A Java Future containing the result of the StopCodeReviewJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopPentestJob

      default CompletableFuture<StopPentestJobResponse> stopPentestJob(StopPentestJobRequest stopPentestJobRequest)

      Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.

      Parameters:
      stopPentestJobRequest - Input for stopping the execution of a pentest.
      Returns:
      A Java Future containing the result of the StopPentestJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopPentestJob

      default CompletableFuture<StopPentestJobResponse> stopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest)

      Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.


      This is a convenience which creates an instance of the StopPentestJobRequest.Builder avoiding the need to create one manually via StopPentestJobRequest.builder()

      Parameters:
      stopPentestJobRequest - A Consumer that will call methods on StopPentestJobRequest.Builder to create a request. Input for stopping the execution of a pentest.
      Returns:
      A Java Future containing the result of the StopPentestJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopThreatModelJob

      default CompletableFuture<StopThreatModelJobResponse> stopThreatModelJob(StopThreatModelJobRequest stopThreatModelJobRequest)

      Stops a running threat model job.

      Parameters:
      stopThreatModelJobRequest - Input for stopping a threat model job.
      Returns:
      A Java Future containing the result of the StopThreatModelJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopThreatModelJob

      default CompletableFuture<StopThreatModelJobResponse> stopThreatModelJob(Consumer<StopThreatModelJobRequest.Builder> stopThreatModelJobRequest)

      Stops a running threat model job.


      This is a convenience which creates an instance of the StopThreatModelJobRequest.Builder avoiding the need to create one manually via StopThreatModelJobRequest.builder()

      Parameters:
      stopThreatModelJobRequest - A Consumer that will call methods on StopThreatModelJobRequest.Builder to create a request. Input for stopping a threat model job.
      Returns:
      A Java Future containing the result of the StopThreatModelJob operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds tags to a resource.

      Parameters:
      tagResourceRequest - Input for TagResource operation.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds tags to a resource.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request. Input for TagResource operation.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes tags from a resource.

      Parameters:
      untagResourceRequest - Input for UntagResource operation.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes tags from a resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request. Input for UntagResource operation.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAgentSpace

      default CompletableFuture<UpdateAgentSpaceResponse> updateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest)

      Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.

      Parameters:
      updateAgentSpaceRequest - Input for updating an agent space.
      Returns:
      A Java Future containing the result of the UpdateAgentSpace operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAgentSpace

      default CompletableFuture<UpdateAgentSpaceResponse> updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest)

      Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.


      This is a convenience which creates an instance of the UpdateAgentSpaceRequest.Builder avoiding the need to create one manually via UpdateAgentSpaceRequest.builder()

      Parameters:
      updateAgentSpaceRequest - A Consumer that will call methods on UpdateAgentSpaceRequest.Builder to create a request. Input for updating an agent space.
      Returns:
      A Java Future containing the result of the UpdateAgentSpace operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApplication

      default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest)

      Updates the configuration of an existing application, including the IAM role and default KMS key.

      Parameters:
      updateApplicationRequest -
      Returns:
      A Java Future containing the result of the UpdateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApplication

      default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)

      Updates the configuration of an existing application, including the IAM role and default KMS key.


      This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need to create one manually via UpdateApplicationRequest.builder()

      Parameters:
      updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCodeReview

      default CompletableFuture<UpdateCodeReviewResponse> updateCodeReview(UpdateCodeReviewRequest updateCodeReviewRequest)

      Updates an existing code review configuration.

      Parameters:
      updateCodeReviewRequest - Input for updating an existing code review.
      Returns:
      A Java Future containing the result of the UpdateCodeReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCodeReview

      default CompletableFuture<UpdateCodeReviewResponse> updateCodeReview(Consumer<UpdateCodeReviewRequest.Builder> updateCodeReviewRequest)

      Updates an existing code review configuration.


      This is a convenience which creates an instance of the UpdateCodeReviewRequest.Builder avoiding the need to create one manually via UpdateCodeReviewRequest.builder()

      Parameters:
      updateCodeReviewRequest - A Consumer that will call methods on UpdateCodeReviewRequest.Builder to create a request. Input for updating an existing code review.
      Returns:
      A Java Future containing the result of the UpdateCodeReview operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFinding

      default CompletableFuture<UpdateFindingResponse> updateFinding(UpdateFindingRequest updateFindingRequest)

      Updates the status or risk level of a security finding.

      Parameters:
      updateFindingRequest - Input for updating an existing security finding.
      Returns:
      A Java Future containing the result of the UpdateFinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFinding

      default CompletableFuture<UpdateFindingResponse> updateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest)

      Updates the status or risk level of a security finding.


      This is a convenience which creates an instance of the UpdateFindingRequest.Builder avoiding the need to create one manually via UpdateFindingRequest.builder()

      Parameters:
      updateFindingRequest - A Consumer that will call methods on UpdateFindingRequest.Builder to create a request. Input for updating an existing security finding.
      Returns:
      A Java Future containing the result of the UpdateFinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegratedResources

      default CompletableFuture<UpdateIntegratedResourcesResponse> updateIntegratedResources(UpdateIntegratedResourcesRequest updateIntegratedResourcesRequest)

      Updates the integrated resources for an agent space, including their capabilities.

      Parameters:
      updateIntegratedResourcesRequest -
      Returns:
      A Java Future containing the result of the UpdateIntegratedResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegratedResources

      default CompletableFuture<UpdateIntegratedResourcesResponse> updateIntegratedResources(Consumer<UpdateIntegratedResourcesRequest.Builder> updateIntegratedResourcesRequest)

      Updates the integrated resources for an agent space, including their capabilities.


      This is a convenience which creates an instance of the UpdateIntegratedResourcesRequest.Builder avoiding the need to create one manually via UpdateIntegratedResourcesRequest.builder()

      Parameters:
      updateIntegratedResourcesRequest - A Consumer that will call methods on UpdateIntegratedResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateIntegratedResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePentest

      default CompletableFuture<UpdatePentestResponse> updatePentest(UpdatePentestRequest updatePentestRequest)

      Updates an existing pentest configuration.

      Parameters:
      updatePentestRequest - Input for updating an existing pentest.
      Returns:
      A Java Future containing the result of the UpdatePentest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePentest

      default CompletableFuture<UpdatePentestResponse> updatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest)

      Updates an existing pentest configuration.


      This is a convenience which creates an instance of the UpdatePentestRequest.Builder avoiding the need to create one manually via UpdatePentestRequest.builder()

      Parameters:
      updatePentestRequest - A Consumer that will call methods on UpdatePentestRequest.Builder to create a request. Input for updating an existing pentest.
      Returns:
      A Java Future containing the result of the UpdatePentest operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePrivateConnectionCertificate

      default CompletableFuture<UpdatePrivateConnectionCertificateResponse> updatePrivateConnectionCertificate(UpdatePrivateConnectionCertificateRequest updatePrivateConnectionCertificateRequest)

      Updates the certificate associated with a private connection. Certificates can be added or replaced but not removed.

      Parameters:
      updatePrivateConnectionCertificateRequest -
      Returns:
      A Java Future containing the result of the UpdatePrivateConnectionCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePrivateConnectionCertificate

      default CompletableFuture<UpdatePrivateConnectionCertificateResponse> updatePrivateConnectionCertificate(Consumer<UpdatePrivateConnectionCertificateRequest.Builder> updatePrivateConnectionCertificateRequest)

      Updates the certificate associated with a private connection. Certificates can be added or replaced but not removed.


      This is a convenience which creates an instance of the UpdatePrivateConnectionCertificateRequest.Builder avoiding the need to create one manually via UpdatePrivateConnectionCertificateRequest.builder()

      Parameters:
      updatePrivateConnectionCertificateRequest - A Consumer that will call methods on UpdatePrivateConnectionCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePrivateConnectionCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSecurityRequirementPack

      default CompletableFuture<UpdateSecurityRequirementPackResponse> updateSecurityRequirementPack(UpdateSecurityRequirementPackRequest updateSecurityRequirementPackRequest)

      Updates a security requirement pack. For customer managed packs, both metadata and status can be updated. For AWS managed packs, only status can be updated.

      Parameters:
      updateSecurityRequirementPackRequest -
      Returns:
      A Java Future containing the result of the UpdateSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSecurityRequirementPack

      default CompletableFuture<UpdateSecurityRequirementPackResponse> updateSecurityRequirementPack(Consumer<UpdateSecurityRequirementPackRequest.Builder> updateSecurityRequirementPackRequest)

      Updates a security requirement pack. For customer managed packs, both metadata and status can be updated. For AWS managed packs, only status can be updated.


      This is a convenience which creates an instance of the UpdateSecurityRequirementPackRequest.Builder avoiding the need to create one manually via UpdateSecurityRequirementPackRequest.builder()

      Parameters:
      updateSecurityRequirementPackRequest - A Consumer that will call methods on UpdateSecurityRequirementPackRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSecurityRequirementPack operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input fails to satisfy the constraints specified by the service.
      • InternalServerException An unexpected error occurred during the processing of your request.
      • ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateTargetDomain

      default CompletableFuture<UpdateTargetDomainResponse> updateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest)

      Updates the verification method for a target domain.

      Parameters:
      updateTargetDomainRequest - Input for updating a target domain.
      Returns:
      A Java Future containing the result of the UpdateTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateTargetDomain

      default CompletableFuture<UpdateTargetDomainResponse> updateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest)

      Updates the verification method for a target domain.


      This is a convenience which creates an instance of the UpdateTargetDomainRequest.Builder avoiding the need to create one manually via UpdateTargetDomainRequest.builder()

      Parameters:
      updateTargetDomainRequest - A Consumer that will call methods on UpdateTargetDomainRequest.Builder to create a request. Input for updating a target domain.
      Returns:
      A Java Future containing the result of the UpdateTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateThreat

      default CompletableFuture<UpdateThreatResponse> updateThreat(UpdateThreatRequest updateThreatRequest)

      Updates a threat.

      Parameters:
      updateThreatRequest - Input for updating an existing threat.
      Returns:
      A Java Future containing the result of the UpdateThreat operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateThreat

      default CompletableFuture<UpdateThreatResponse> updateThreat(Consumer<UpdateThreatRequest.Builder> updateThreatRequest)

      Updates a threat.


      This is a convenience which creates an instance of the UpdateThreatRequest.Builder avoiding the need to create one manually via UpdateThreatRequest.builder()

      Parameters:
      updateThreatRequest - A Consumer that will call methods on UpdateThreatRequest.Builder to create a request. Input for updating an existing threat.
      Returns:
      A Java Future containing the result of the UpdateThreat operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateThreatModel

      default CompletableFuture<UpdateThreatModelResponse> updateThreatModel(UpdateThreatModelRequest updateThreatModelRequest)

      Updates an existing threat model configuration.

      Parameters:
      updateThreatModelRequest - Input for updating an existing threat model.
      Returns:
      A Java Future containing the result of the UpdateThreatModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateThreatModel

      default CompletableFuture<UpdateThreatModelResponse> updateThreatModel(Consumer<UpdateThreatModelRequest.Builder> updateThreatModelRequest)

      Updates an existing threat model configuration.


      This is a convenience which creates an instance of the UpdateThreatModelRequest.Builder avoiding the need to create one manually via UpdateThreatModelRequest.builder()

      Parameters:
      updateThreatModelRequest - A Consumer that will call methods on UpdateThreatModelRequest.Builder to create a request. Input for updating an existing threat model.
      Returns:
      A Java Future containing the result of the UpdateThreatModel operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • verifyTargetDomain

      default CompletableFuture<VerifyTargetDomainResponse> verifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest)

      Initiates verification of a target domain. This checks whether the domain ownership verification token has been properly configured.

      Parameters:
      verifyTargetDomainRequest - Input for verifying ownership for a registered target domain in an agent space.
      Returns:
      A Java Future containing the result of the VerifyTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • verifyTargetDomain

      default CompletableFuture<VerifyTargetDomainResponse> verifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest)

      Initiates verification of a target domain. This checks whether the domain ownership verification token has been properly configured.


      This is a convenience which creates an instance of the VerifyTargetDomainRequest.Builder avoiding the need to create one manually via VerifyTargetDomainRequest.builder()

      Parameters:
      verifyTargetDomainRequest - A Consumer that will call methods on VerifyTargetDomainRequest.Builder to create a request. Input for verifying ownership for a registered target domain in an agent space.
      Returns:
      A Java Future containing the result of the VerifyTargetDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default SecurityAgentServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static SecurityAgentAsyncClient create()
      Create a SecurityAgentAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a SecurityAgentAsyncClient.