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 service documentation.

  • Field Details

  • Method Details

    • addArtifact

      default CompletableFuture<AddArtifactResponse> addArtifact(AddArtifactRequest addArtifactRequest)

      Adds an Artifact for the given agent space

      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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Adds an Artifact for the given agent space


      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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 multiple pentests in a single request

      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 multiple pentests in a single request


      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:
    • batchGetAgentSpaces

      default CompletableFuture<BatchGetAgentSpacesResponse> batchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest)

      Retrieves multiple agent spaces in a single request

      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 multiple agent spaces in a single request


      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)

      Retrieve the list of artifact metadata for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Retrieve the list of artifact metadata for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 multiple findings in a single request

      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 multiple findings in a single request


      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 multiple tasks for a pentest job in a single request

      Parameters:
      batchGetPentestJobTasksRequest - Input for retrieving multiple tasks by their IDs for 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 multiple tasks for a pentest job in a single request


      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 by their IDs for 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 multiple pentest jobs in a single request

      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 multiple pentest jobs in a single request


      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 multiple pentests in a single request

      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 multiple pentests in a single request


      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:
    • batchGetTargetDomains

      default CompletableFuture<BatchGetTargetDomainsResponse> batchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest)

      Retrieves multiple target domains in a single request

      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 multiple target domains in a single request


      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:
    • createAgentSpace

      default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest)

      Creates an agent space record

      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 an agent space record


      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

      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


      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:
    • createIntegration

      default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest)

      Creates the Integration of the Security Agent App with an external Provider

      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 the Integration of the Security Agent App with an external Provider


      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Adds a single member to an agent space with specified role

      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)

      Adds a single member to an agent space with specified role


      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

      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


      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:
    • createTargetDomain

      default CompletableFuture<CreateTargetDomainResponse> createTargetDomain(CreateTargetDomainRequest createTargetDomainRequest)

      Creates a target domain record

      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 target domain record


      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:
    • deleteAgentSpace

      default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest)

      Deletes an agent space record

      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 record


      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

      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


      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)

      Delete an Artifact from the given 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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Delete an Artifact from the given 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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 the Integration of the Security Agent App with an external 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 Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 the Integration of the Security Agent App with an external 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 Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Removes a single member associated 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)

      Removes a single member associated 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:
    • deleteTargetDomain

      default CompletableFuture<DeleteTargetDomainResponse> deleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest)

      Deletes a target domain record

      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 record


      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:
    • getApplication

      default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest)

      Retrieves application details by application ID

      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 application details by application ID


      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)

      Retrieve an Artifact for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Retrieve an Artifact for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Gets Integration metadata from the provided id

      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 Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Gets Integration metadata from the provided id


      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 Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • InternalServerException Unexpected server error occurred
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 registration of Security Agent App for an external Provider

      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 registration of Security Agent App for an external Provider


      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Lists agent spaces

      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)

      Lists agent spaces


      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)

      Lists all applications in the 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)

      Lists all applications in the 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)

      Lists the artifacts for the associated 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 Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Lists the artifacts for the associated 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 Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Unexpected server error occurred
      • ResourceNotFoundException Specified resource was not found
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Lists discovered endpoints associated with a pentest job with optional URI prefix filtering

      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)

      Lists discovered endpoints associated with a pentest job with optional URI prefix filtering


      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 findings with filtering and pagination support. When filters are applied, the actual number of results returned may be less than the specified limit

      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 findings with filtering and pagination support. When filters are applied, the actual number of results returned may be less than the specified limit


      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

      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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


      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Retrieves the Integrations associated with the user's account

      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Retrieves the Integrations associated with the user's account


      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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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)

      Lists all members associated to an agent space with pagination support

      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)

      Lists all members associated to an agent space with pagination support


      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)

      Lists tasks associated with a specific pentest job

      Parameters:
      listPentestJobTasksRequest - Input for listing tasks associated with a specific 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)

      Lists tasks associated with a specific pentest job


      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 specific 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 specific 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 specific 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)

      Lists pentest jobs associated with a pentest

      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)

      Lists pentest jobs associated with a pentest


      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)

      Lists pentests with optional filtering by status

      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)

      Lists pentests with optional filtering by status


      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:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists tags for a Security Agent 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)

      Lists tags for a Security Agent 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)

      Lists target domains

      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)

      Lists target domains


      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:
    • startCodeRemediation

      default CompletableFuture<StartCodeRemediationResponse> startCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest)

      Starts code remediation for the specified findings

      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)

      Starts code remediation for the specified findings


      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:
    • startPentestJob

      default CompletableFuture<StartPentestJobResponse> startPentestJob(StartPentestJobRequest startPentestJobRequest)

      Initiates the execution of a 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)

      Initiates the execution of a 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:
    • stopPentestJob

      default CompletableFuture<StopPentestJobResponse> stopPentestJob(StopPentestJobRequest stopPentestJobRequest)

      Stops the execution of a running pentest

      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 the execution of a running pentest


      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:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds tags to a Security Agent 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 Security Agent 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 Security Agent 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 Security Agent 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 an agent space record

      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 an agent space record


      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 application configuration

      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 application configuration


      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:
    • updateFinding

      default CompletableFuture<UpdateFindingResponse> updateFinding(UpdateFindingRequest updateFindingRequest)

      Updates an existing security finding with new details or status

      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 an existing security finding with new details or status


      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

      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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ResourceNotFoundException Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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


      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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
      • ResourceNotFoundException Specified resource was not found
      • InternalServerException Unexpected server error occurred
      • ConflictException Request conflicts with current resource state
      • ThrottlingException Request denied due to throttling
      • AccessDeniedException Request denied due to insufficient permissions
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 with new configuration or settings

      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 with new configuration or settings


      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:
    • updateTargetDomain

      default CompletableFuture<UpdateTargetDomainResponse> updateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest)

      Updates a target domain record

      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 a target domain record


      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:
    • verifyTargetDomain

      default CompletableFuture<VerifyTargetDomainResponse> verifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest)

      Verifies ownership for a registered target domain

      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)

      Verifies ownership for a registered target domain


      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.