Interface ContinuumAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ContinuumAsyncClient extends AwsClient
Service client for accessing AWS Continuum 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 Continuum finds, validates, prioritizes, and remediates code vulnerabilities across the source repositories and AWS resources in your environments.

  • Field Details

  • Method Details

    • associateCollector

      default CompletableFuture<AssociateCollectorResponse> associateCollector(AssociateCollectorRequest associateCollectorRequest)

      Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data. The caller must have permission on the Environment and permission to pass the role. Continuum assumes the supplied role and calls GetCollectorDataAccessAuthorization on the requested Collector; only a successful authorization response permits the association. The caller does not need Collector data-access permission. The Environment retains its other Collector associations. Calling again with an existing association is safe and does not create a duplicate.

      Parameters:
      associateCollectorRequest - Specifies the Collector ARN and data-access role to associate with this Environment.
      Returns:
      A Java Future containing the result of the AssociateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateCollector

      default CompletableFuture<AssociateCollectorResponse> associateCollector(Consumer<AssociateCollectorRequest.Builder> associateCollectorRequest)

      Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data. The caller must have permission on the Environment and permission to pass the role. Continuum assumes the supplied role and calls GetCollectorDataAccessAuthorization on the requested Collector; only a successful authorization response permits the association. The caller does not need Collector data-access permission. The Environment retains its other Collector associations. Calling again with an existing association is safe and does not create a duplicate.


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

      Parameters:
      associateCollectorRequest - A Consumer that will call methods on AssociateCollectorRequest.Builder to create a request. Specifies the Collector ARN and data-access role to associate with this Environment.
      Returns:
      A Java Future containing the result of the AssociateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeFinding

      default CompletableFuture<CreateCodeFindingResponse> createCodeFinding(CreateCodeFindingRequest createCodeFindingRequest)

      Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.

      Parameters:
      createCodeFindingRequest - Specifies the environment and the finding document to ingest.
      Returns:
      A Java Future containing the result of the CreateCodeFinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeFinding

      default CompletableFuture<CreateCodeFindingResponse> createCodeFinding(Consumer<CreateCodeFindingRequest.Builder> createCodeFindingRequest)

      Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.


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

      Parameters:
      createCodeFindingRequest - A Consumer that will call methods on CreateCodeFindingRequest.Builder to create a request. Specifies the environment and the finding document to ingest.
      Returns:
      A Java Future containing the result of the CreateCodeFinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeScan

      default CompletableFuture<CreateCodeScanResponse> createCodeScan(CreateCodeScanRequest createCodeScanRequest)

      Creates an explicit scan request for one environment. CP creates durable work before any queue delivery occurs.

      Retrying a request that succeeded, with the same clientToken on the same environment, returns the original scan instead of starting another one. Token handling is not yet atomic: requests with the same token that run at the same time, or a retry after a request that failed partway through, can leave an additional scan, which may end in the FAILED state with a message that it was superseded. Deleting the environment makes its tokens unusable; a later request with one of them returns ResourceNotFoundException.

      Each environment can have a limited number of scans in progress at the same time. Once that limit is enforced, a request that would exceed it returns ServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each scan's status), then retry.

      Parameters:
      createCodeScanRequest -
      Returns:
      A Java Future containing the result of the CreateCodeScan operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCodeScan

      default CompletableFuture<CreateCodeScanResponse> createCodeScan(Consumer<CreateCodeScanRequest.Builder> createCodeScanRequest)

      Creates an explicit scan request for one environment. CP creates durable work before any queue delivery occurs.

      Retrying a request that succeeded, with the same clientToken on the same environment, returns the original scan instead of starting another one. Token handling is not yet atomic: requests with the same token that run at the same time, or a retry after a request that failed partway through, can leave an additional scan, which may end in the FAILED state with a message that it was superseded. Deleting the environment makes its tokens unusable; a later request with one of them returns ResourceNotFoundException.

      Each environment can have a limited number of scans in progress at the same time. Once that limit is enforced, a request that would exceed it returns ServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each scan's status), then retry.


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

      Parameters:
      createCodeScanRequest - A Consumer that will call methods on CreateCodeScanRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateCodeScan operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCollector

      default CompletableFuture<CreateCollectorResponse> createCollector(CreateCollectorRequest createCollectorRequest)

      Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.

      Parameters:
      createCollectorRequest - Creates a Collector for the authenticated caller.
      Returns:
      A Java Future containing the result of the CreateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCollector

      default CompletableFuture<CreateCollectorResponse> createCollector(Consumer<CreateCollectorRequest.Builder> createCollectorRequest)

      Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.


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

      Parameters:
      createCollectorRequest - A Consumer that will call methods on CreateCollectorRequest.Builder to create a request. Creates a Collector for the authenticated caller.
      Returns:
      A Java Future containing the result of the CreateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironment

      default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)

      Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.

      Parameters:
      createEnvironmentRequest - Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration. Pentest settings belong to configuration.pentestConfiguration.
      Returns:
      A Java Future containing the result of the CreateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironment

      default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)

      Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.


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

      Parameters:
      createEnvironmentRequest - A Consumer that will call methods on CreateEnvironmentRequest.Builder to create a request. Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration. Pentest settings belong to configuration.pentestConfiguration.
      Returns:
      A Java Future containing the result of the CreateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntegration

      default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest)

      Creates a Continuum Integration. The ContinuumControlPlane adapter Lambda forwards the API Gateway event (customer identity + FAS) to HoFES, which executes this operation.

      Parameters:
      createIntegrationRequest - Specifies the provider configuration and name for the new integration.
      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.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntegration

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

      Creates a Continuum Integration. The ContinuumControlPlane adapter Lambda forwards the API Gateway event (customer identity + FAS) to HoFES, which executes this operation.


      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. Specifies the provider configuration and name for the new integration.
      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.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPackageDecision

      default CompletableFuture<CreatePackageDecisionResponse> createPackageDecision(CreatePackageDecisionRequest createPackageDecisionRequest)

      Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision. Call it before installing a package to learn whether to allow or deny it.

      Parameters:
      createPackageDecisionRequest - Input for CreatePackageDecision.
      Returns:
      A Java Future containing the result of the CreatePackageDecision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPackageDecision

      default CompletableFuture<CreatePackageDecisionResponse> createPackageDecision(Consumer<CreatePackageDecisionRequest.Builder> createPackageDecisionRequest)

      Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision. Call it before installing a package to learn whether to allow or deny it.


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

      Parameters:
      createPackageDecisionRequest - A Consumer that will call methods on CreatePackageDecisionRequest.Builder to create a request. Input for CreatePackageDecision.
      Returns:
      A Java Future containing the result of the CreatePackageDecision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSupplyChainPolicy

      default CompletableFuture<CreateSupplyChainPolicyResponse> createSupplyChainPolicy(CreateSupplyChainPolicyRequest createSupplyChainPolicyRequest)

      Creates a Supply Chain policy in the calling account and Region. A policy holds up to five deny rules, which CreatePackageDecision evaluates for every package.

      Parameters:
      createSupplyChainPolicyRequest - Input for CreateSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the CreateSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSupplyChainPolicy

      default CompletableFuture<CreateSupplyChainPolicyResponse> createSupplyChainPolicy(Consumer<CreateSupplyChainPolicyRequest.Builder> createSupplyChainPolicyRequest)

      Creates a Supply Chain policy in the calling account and Region. A policy holds up to five deny rules, which CreatePackageDecision evaluates for every package.


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

      Parameters:
      createSupplyChainPolicyRequest - A Consumer that will call methods on CreateSupplyChainPolicyRequest.Builder to create a request. Input for CreateSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the CreateSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSupplyChainPolicyException

      default CompletableFuture<CreateSupplyChainPolicyExceptionResponse> createSupplyChainPolicyException(CreateSupplyChainPolicyExceptionRequest createSupplyChainPolicyExceptionRequest)

      Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires. An exception never produces an allow decision on its own.

      Parameters:
      createSupplyChainPolicyExceptionRequest - Input for CreateSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the CreateSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSupplyChainPolicyException

      default CompletableFuture<CreateSupplyChainPolicyExceptionResponse> createSupplyChainPolicyException(Consumer<CreateSupplyChainPolicyExceptionRequest.Builder> createSupplyChainPolicyExceptionRequest)

      Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires. An exception never produces an allow decision on its own.


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

      Parameters:
      createSupplyChainPolicyExceptionRequest - A Consumer that will call methods on CreateSupplyChainPolicyExceptionRequest.Builder to create a request. Input for CreateSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the CreateSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCollector

      default CompletableFuture<DeleteCollectorResponse> deleteCollector(DeleteCollectorRequest deleteCollectorRequest)

      Deletes the Collector for the caller's account. The Collector first enters PENDING_DELETION, then the service removes its schedule, AWS Config service-linked recorder, versioned S3 bucket, KMS key, and persisted record.

      Parameters:
      deleteCollectorRequest - Specifies the Collector to delete.
      Returns:
      A Java Future containing the result of the DeleteCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCollector

      default CompletableFuture<DeleteCollectorResponse> deleteCollector(Consumer<DeleteCollectorRequest.Builder> deleteCollectorRequest)

      Deletes the Collector for the caller's account. The Collector first enters PENDING_DELETION, then the service removes its schedule, AWS Config service-linked recorder, versioned S3 bucket, KMS key, and persisted record.


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

      Parameters:
      deleteCollectorRequest - A Consumer that will call methods on DeleteCollectorRequest.Builder to create a request. Specifies the Collector to delete.
      Returns:
      A Java Future containing the result of the DeleteCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironment

      default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)

      Deletes an environment and its associated resources.

      Parameters:
      deleteEnvironmentRequest - Specifies the environment to delete.
      Returns:
      A Java Future containing the result of the DeleteEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironment

      default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)

      Deletes an environment and its associated resources.


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

      Parameters:
      deleteEnvironmentRequest - A Consumer that will call methods on DeleteEnvironmentRequest.Builder to create a request. Specifies the environment to delete.
      Returns:
      A Java Future containing the result of the DeleteEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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 a Continuum integration owned by the forwarded customer account.

      Parameters:
      deleteIntegrationRequest - Specifies the integration to delete.
      Returns:
      A Java Future containing the result of the DeleteIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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 a Continuum integration owned by the forwarded customer account.


      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. Specifies the integration to delete.
      Returns:
      A Java Future containing the result of the DeleteIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSupplyChainPolicy

      default CompletableFuture<DeleteSupplyChainPolicyResponse> deleteSupplyChainPolicy(DeleteSupplyChainPolicyRequest deleteSupplyChainPolicyRequest)

      Deletes a policy and every policy exception that references it.

      Parameters:
      deleteSupplyChainPolicyRequest - Input for DeleteSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the DeleteSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSupplyChainPolicy

      default CompletableFuture<DeleteSupplyChainPolicyResponse> deleteSupplyChainPolicy(Consumer<DeleteSupplyChainPolicyRequest.Builder> deleteSupplyChainPolicyRequest)

      Deletes a policy and every policy exception that references it.


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

      Parameters:
      deleteSupplyChainPolicyRequest - A Consumer that will call methods on DeleteSupplyChainPolicyRequest.Builder to create a request. Input for DeleteSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the DeleteSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSupplyChainPolicyException

      default CompletableFuture<DeleteSupplyChainPolicyExceptionResponse> deleteSupplyChainPolicyException(DeleteSupplyChainPolicyExceptionRequest deleteSupplyChainPolicyExceptionRequest)

      Deletes a policy exception. Subsequent decisions no longer consider this exception.

      Parameters:
      deleteSupplyChainPolicyExceptionRequest - Input for DeleteSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the DeleteSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSupplyChainPolicyException

      default CompletableFuture<DeleteSupplyChainPolicyExceptionResponse> deleteSupplyChainPolicyException(Consumer<DeleteSupplyChainPolicyExceptionRequest.Builder> deleteSupplyChainPolicyExceptionRequest)

      Deletes a policy exception. Subsequent decisions no longer consider this exception.


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

      Parameters:
      deleteSupplyChainPolicyExceptionRequest - A Consumer that will call methods on DeleteSupplyChainPolicyExceptionRequest.Builder to create a request. Input for DeleteSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the DeleteSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateCollector

      default CompletableFuture<DisassociateCollectorResponse> disassociateCollector(DisassociateCollectorRequest disassociateCollectorRequest)

      Removes one Collector association from this Environment, preserving its other associations. The stored Collector data-access role is cleared when no Collector associations remain. The Environment owner must have permission to disassociate. A current Collector access grant is not required, and the Collector does not need to remain active or present, so stale or revoked associations can be cleaned up.

      Parameters:
      disassociateCollectorRequest - Specifies the Collector to disassociate from this Environment.
      Returns:
      A Java Future containing the result of the DisassociateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateCollector

      default CompletableFuture<DisassociateCollectorResponse> disassociateCollector(Consumer<DisassociateCollectorRequest.Builder> disassociateCollectorRequest)

      Removes one Collector association from this Environment, preserving its other associations. The stored Collector data-access role is cleared when no Collector associations remain. The Environment owner must have permission to disassociate. A current Collector access grant is not required, and the Collector does not need to remain active or present, so stale or revoked associations can be cleaned up.


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

      Parameters:
      disassociateCollectorRequest - A Consumer that will call methods on DisassociateCollectorRequest.Builder to create a request. Specifies the Collector to disassociate from this Environment.
      Returns:
      A Java Future containing the result of the DisassociateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeFinding

      default CompletableFuture<GetCodeFindingResponse> getCodeFinding(GetCodeFindingRequest getCodeFindingRequest)

      Retrieves the current state and details of a finding.

      Parameters:
      getCodeFindingRequest - Specifies the finding to retrieve.
      Returns:
      A Java Future containing the result of the GetCodeFinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeFinding

      default CompletableFuture<GetCodeFindingResponse> getCodeFinding(Consumer<GetCodeFindingRequest.Builder> getCodeFindingRequest)

      Retrieves the current state and details of a finding.


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

      Parameters:
      getCodeFindingRequest - A Consumer that will call methods on GetCodeFindingRequest.Builder to create a request. Specifies the finding to retrieve.
      Returns:
      A Java Future containing the result of the GetCodeFinding operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeIssue

      default CompletableFuture<GetCodeIssueResponse> getCodeIssue(GetCodeIssueRequest getCodeIssueRequest)

      Retrieves the current state and details of an issue.

      Parameters:
      getCodeIssueRequest - Specifies the issue to retrieve.
      Returns:
      A Java Future containing the result of the GetCodeIssue operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeIssue

      default CompletableFuture<GetCodeIssueResponse> getCodeIssue(Consumer<GetCodeIssueRequest.Builder> getCodeIssueRequest)

      Retrieves the current state and details of an issue.


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

      Parameters:
      getCodeIssueRequest - A Consumer that will call methods on GetCodeIssueRequest.Builder to create a request. Specifies the issue to retrieve.
      Returns:
      A Java Future containing the result of the GetCodeIssue operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeIssueArtifact

      default CompletableFuture<GetCodeIssueArtifactResponse> getCodeIssueArtifact(GetCodeIssueArtifactRequest getCodeIssueArtifactRequest)

      Retrieves one immutable artifact attached to an issue, including its content.

      Parameters:
      getCodeIssueArtifactRequest - Specifies the artifact to retrieve.
      Returns:
      A Java Future containing the result of the GetCodeIssueArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeIssueArtifact

      default CompletableFuture<GetCodeIssueArtifactResponse> getCodeIssueArtifact(Consumer<GetCodeIssueArtifactRequest.Builder> getCodeIssueArtifactRequest)

      Retrieves one immutable artifact attached to an issue, including its content.


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

      Parameters:
      getCodeIssueArtifactRequest - A Consumer that will call methods on GetCodeIssueArtifactRequest.Builder to create a request. Specifies the artifact to retrieve.
      Returns:
      A Java Future containing the result of the GetCodeIssueArtifact operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeScan

      default CompletableFuture<GetCodeScanResponse> getCodeScan(GetCodeScanRequest getCodeScanRequest)

      Retrieves one customer-visible environment scan.

      Parameters:
      getCodeScanRequest -
      Returns:
      A Java Future containing the result of the GetCodeScan operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCodeScan

      default CompletableFuture<GetCodeScanResponse> getCodeScan(Consumer<GetCodeScanRequest.Builder> getCodeScanRequest)

      Retrieves one customer-visible environment scan.


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

      Parameters:
      getCodeScanRequest - A Consumer that will call methods on GetCodeScanRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetCodeScan operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCollector

      default CompletableFuture<GetCollectorResponse> getCollector(GetCollectorRequest getCollectorRequest)

      Retrieves the current state of the Collector for the caller's account.

      Parameters:
      getCollectorRequest - Specifies the Collector to retrieve.
      Returns:
      A Java Future containing the result of the GetCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCollector

      default CompletableFuture<GetCollectorResponse> getCollector(Consumer<GetCollectorRequest.Builder> getCollectorRequest)

      Retrieves the current state of the Collector for the caller's account.


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

      Parameters:
      getCollectorRequest - A Consumer that will call methods on GetCollectorRequest.Builder to create a request. Specifies the Collector to retrieve.
      Returns:
      A Java Future containing the result of the GetCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCollectorDataAccessAuthorization

      default CompletableFuture<GetCollectorDataAccessAuthorizationResponse> getCollectorDataAccessAuthorization(GetCollectorDataAccessAuthorizationRequest getCollectorDataAccessAuthorizationRequest)

      Authorizes an Environment's access to a Collector's data. Continuum calls this operation with the Environment's Collector data-access role before it reads the Collector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to that role and, for a Collector in another account, in the Collector's resource policy. The operation evaluates the action against the exact Collector ARN and the Collector's current resource policy using IAM and the caller's authenticated request context, with environmentArn as the continuum:EnvironmentArn condition key. A successful request returns HTTP 200 with no response members. If access is not granted, the operation returns AccessDeniedException without disclosing Collector existence, ownership, or the policy layer that denied access. The service does not reinterpret the policy using only an account ID.

      Parameters:
      getCollectorDataAccessAuthorizationRequest - Identifies the Collector whose inventory is requested.
      Returns:
      A Java Future containing the result of the GetCollectorDataAccessAuthorization operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getCollectorDataAccessAuthorization

      default CompletableFuture<GetCollectorDataAccessAuthorizationResponse> getCollectorDataAccessAuthorization(Consumer<GetCollectorDataAccessAuthorizationRequest.Builder> getCollectorDataAccessAuthorizationRequest)

      Authorizes an Environment's access to a Collector's data. Continuum calls this operation with the Environment's Collector data-access role before it reads the Collector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to that role and, for a Collector in another account, in the Collector's resource policy. The operation evaluates the action against the exact Collector ARN and the Collector's current resource policy using IAM and the caller's authenticated request context, with environmentArn as the continuum:EnvironmentArn condition key. A successful request returns HTTP 200 with no response members. If access is not granted, the operation returns AccessDeniedException without disclosing Collector existence, ownership, or the policy layer that denied access. The service does not reinterpret the policy using only an account ID.


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

      Parameters:
      getCollectorDataAccessAuthorizationRequest - A Consumer that will call methods on GetCollectorDataAccessAuthorizationRequest.Builder to create a request. Identifies the Collector whose inventory is requested.
      Returns:
      A Java Future containing the result of the GetCollectorDataAccessAuthorization operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEnvironment

      default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest)

      Retrieves the current state and configuration of an environment.

      Parameters:
      getEnvironmentRequest - Specifies the environment to retrieve.
      Returns:
      A Java Future containing the result of the GetEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEnvironment

      default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)

      Retrieves the current state and configuration of an environment.


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

      Parameters:
      getEnvironmentRequest - A Consumer that will call methods on GetEnvironmentRequest.Builder to create a request. Specifies the environment to retrieve.
      Returns:
      A Java Future containing the result of the GetEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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)

      Reads a Continuum integration owned by the forwarded customer account.

      Parameters:
      getIntegrationRequest - Specifies the integration to retrieve.
      Returns:
      A Java Future containing the result of the GetIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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)

      Reads a Continuum integration owned by the forwarded customer account.


      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. Specifies the integration to retrieve.
      Returns:
      A Java Future containing the result of the GetIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPackageDecision

      default CompletableFuture<GetPackageDecisionResponse> getPackageDecision(GetPackageDecisionRequest getPackageDecisionRequest)

      Returns one package decision owned by the calling account. Never re-evaluates. Use ListDecisionEvidence to read the evidence recorded for the decision.

      Parameters:
      getPackageDecisionRequest - Input for GetPackageDecision.
      Returns:
      A Java Future containing the result of the GetPackageDecision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPackageDecision

      default CompletableFuture<GetPackageDecisionResponse> getPackageDecision(Consumer<GetPackageDecisionRequest.Builder> getPackageDecisionRequest)

      Returns one package decision owned by the calling account. Never re-evaluates. Use ListDecisionEvidence to read the evidence recorded for the decision.


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

      Parameters:
      getPackageDecisionRequest - A Consumer that will call methods on GetPackageDecisionRequest.Builder to create a request. Input for GetPackageDecision.
      Returns:
      A Java Future containing the result of the GetPackageDecision operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)

      Retrieves the resource policy attached to a Continuum resource.

      Parameters:
      getResourcePolicyRequest - Specifies the resource.
      Returns:
      A Java Future containing the result of the GetResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)

      Retrieves the resource policy attached to a Continuum resource.


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

      Parameters:
      getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request. Specifies the resource.
      Returns:
      A Java Future containing the result of the GetResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSupplyChainManagedPolicy

      default CompletableFuture<GetSupplyChainManagedPolicyResponse> getSupplyChainManagedPolicy(GetSupplyChainManagedPolicyRequest getSupplyChainManagedPolicyRequest)

      Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline. You can read a service-managed policy and create policy exceptions for it, but you can't change or delete it.

      Parameters:
      getSupplyChainManagedPolicyRequest - Input for GetSupplyChainManagedPolicy.
      Returns:
      A Java Future containing the result of the GetSupplyChainManagedPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSupplyChainManagedPolicy

      default CompletableFuture<GetSupplyChainManagedPolicyResponse> getSupplyChainManagedPolicy(Consumer<GetSupplyChainManagedPolicyRequest.Builder> getSupplyChainManagedPolicyRequest)

      Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline. You can read a service-managed policy and create policy exceptions for it, but you can't change or delete it.


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

      Parameters:
      getSupplyChainManagedPolicyRequest - A Consumer that will call methods on GetSupplyChainManagedPolicyRequest.Builder to create a request. Input for GetSupplyChainManagedPolicy.
      Returns:
      A Java Future containing the result of the GetSupplyChainManagedPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSupplyChainPolicy

      default CompletableFuture<GetSupplyChainPolicyResponse> getSupplyChainPolicy(GetSupplyChainPolicyRequest getSupplyChainPolicyRequest)

      Returns one policy owned by the calling account. The path identifier is the opaque ID returned by CreateSupplyChainPolicy.

      Parameters:
      getSupplyChainPolicyRequest - Input for GetSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the GetSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSupplyChainPolicy

      default CompletableFuture<GetSupplyChainPolicyResponse> getSupplyChainPolicy(Consumer<GetSupplyChainPolicyRequest.Builder> getSupplyChainPolicyRequest)

      Returns one policy owned by the calling account. The path identifier is the opaque ID returned by CreateSupplyChainPolicy.


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

      Parameters:
      getSupplyChainPolicyRequest - A Consumer that will call methods on GetSupplyChainPolicyRequest.Builder to create a request. Input for GetSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the GetSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSupplyChainPolicyException

      default CompletableFuture<GetSupplyChainPolicyExceptionResponse> getSupplyChainPolicyException(GetSupplyChainPolicyExceptionRequest getSupplyChainPolicyExceptionRequest)

      Returns one policy exception owned by the calling account, with its status computed from expiresAt. The path identifier is the opaque ID returned by CreateSupplyChainPolicyException.

      Parameters:
      getSupplyChainPolicyExceptionRequest - Input for GetSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the GetSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSupplyChainPolicyException

      default CompletableFuture<GetSupplyChainPolicyExceptionResponse> getSupplyChainPolicyException(Consumer<GetSupplyChainPolicyExceptionRequest.Builder> getSupplyChainPolicyExceptionRequest)

      Returns one policy exception owned by the calling account, with its status computed from expiresAt. The path identifier is the opaque ID returned by CreateSupplyChainPolicyException.


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

      Parameters:
      getSupplyChainPolicyExceptionRequest - A Consumer that will call methods on GetSupplyChainPolicyExceptionRequest.Builder to create a request. Input for GetSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the GetSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getVulnerability

      default CompletableFuture<GetVulnerabilityResponse> getVulnerability(GetVulnerabilityRequest getVulnerabilityRequest)

      Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.

      Parameters:
      getVulnerabilityRequest - Input for GetVulnerability.
      Returns:
      A Java Future containing the result of the GetVulnerability operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getVulnerability

      default CompletableFuture<GetVulnerabilityResponse> getVulnerability(Consumer<GetVulnerabilityRequest.Builder> getVulnerabilityRequest)

      Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.


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

      Parameters:
      getVulnerabilityRequest - A Consumer that will call methods on GetVulnerabilityRequest.Builder to create a request. Input for GetVulnerability.
      Returns:
      A Java Future containing the result of the GetVulnerability operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedCollectors

      default CompletableFuture<ListAssociatedCollectorsResponse> listAssociatedCollectors(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest)

      Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.

      Parameters:
      listAssociatedCollectorsRequest - Specifies the Environment whose Collector associations to list.
      Returns:
      A Java Future containing the result of the ListAssociatedCollectors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedCollectors

      default CompletableFuture<ListAssociatedCollectorsResponse> listAssociatedCollectors(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest)

      Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.


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

      Parameters:
      listAssociatedCollectorsRequest - A Consumer that will call methods on ListAssociatedCollectorsRequest.Builder to create a request. Specifies the Environment whose Collector associations to list.
      Returns:
      A Java Future containing the result of the ListAssociatedCollectors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedCollectorsPaginator

      default ListAssociatedCollectorsPublisher listAssociatedCollectorsPaginator(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest)

      This is a variant of listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest) 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.continuum.paginators.ListAssociatedCollectorsPublisher publisher = client.listAssociatedCollectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsPublisher publisher = client.listAssociatedCollectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsResponse 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 listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest) operation.

      Parameters:
      listAssociatedCollectorsRequest - Specifies the Environment whose Collector associations to list.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedCollectorsPaginator

      default ListAssociatedCollectorsPublisher listAssociatedCollectorsPaginator(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest)

      This is a variant of listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest) 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.continuum.paginators.ListAssociatedCollectorsPublisher publisher = client.listAssociatedCollectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsPublisher publisher = client.listAssociatedCollectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsResponse 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 listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest) operation.


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

      Parameters:
      listAssociatedCollectorsRequest - A Consumer that will call methods on ListAssociatedCollectorsRequest.Builder to create a request. Specifies the Environment whose Collector associations to list.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedEnvironments

      default CompletableFuture<ListAssociatedEnvironmentsResponse> listAssociatedEnvironments(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest)

      Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.

      Parameters:
      listAssociatedEnvironmentsRequest - Specifies the Collector whose Environment associations to list.
      Returns:
      A Java Future containing the result of the ListAssociatedEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedEnvironments

      default CompletableFuture<ListAssociatedEnvironmentsResponse> listAssociatedEnvironments(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest)

      Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.


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

      Parameters:
      listAssociatedEnvironmentsRequest - A Consumer that will call methods on ListAssociatedEnvironmentsRequest.Builder to create a request. Specifies the Collector whose Environment associations to list.
      Returns:
      A Java Future containing the result of the ListAssociatedEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedEnvironmentsPaginator

      default ListAssociatedEnvironmentsPublisher listAssociatedEnvironmentsPaginator(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest)

      This is a variant of listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest) 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.continuum.paginators.ListAssociatedEnvironmentsPublisher publisher = client.listAssociatedEnvironmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsPublisher publisher = client.listAssociatedEnvironmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsResponse 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 listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest) operation.

      Parameters:
      listAssociatedEnvironmentsRequest - Specifies the Collector whose Environment associations to list.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedEnvironmentsPaginator

      default ListAssociatedEnvironmentsPublisher listAssociatedEnvironmentsPaginator(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest)

      This is a variant of listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest) 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.continuum.paginators.ListAssociatedEnvironmentsPublisher publisher = client.listAssociatedEnvironmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsPublisher publisher = client.listAssociatedEnvironmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsResponse 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 listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest) operation.


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

      Parameters:
      listAssociatedEnvironmentsRequest - A Consumer that will call methods on ListAssociatedEnvironmentsRequest.Builder to create a request. Specifies the Collector whose Environment associations to list.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeFindings

      default CompletableFuture<ListCodeFindingsResponse> listCodeFindings(ListCodeFindingsRequest listCodeFindingsRequest)

      Lists the findings in an environment in descending findingId order.

      Parameters:
      listCodeFindingsRequest - Specifies the environment and pagination parameters for listing findings.
      Returns:
      A Java Future containing the result of the ListCodeFindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeFindings

      default CompletableFuture<ListCodeFindingsResponse> listCodeFindings(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest)

      Lists the findings in an environment in descending findingId order.


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

      Parameters:
      listCodeFindingsRequest - A Consumer that will call methods on ListCodeFindingsRequest.Builder to create a request. Specifies the environment and pagination parameters for listing findings.
      Returns:
      A Java Future containing the result of the ListCodeFindings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeFindingsPaginator

      default ListCodeFindingsPublisher listCodeFindingsPaginator(ListCodeFindingsRequest listCodeFindingsRequest)

      This is a variant of listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest) 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.continuum.paginators.ListCodeFindingsPublisher publisher = client.listCodeFindingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeFindingsPublisher publisher = client.listCodeFindingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeFindingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeFindingsResponse 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 listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest) operation.

      Parameters:
      listCodeFindingsRequest - Specifies the environment and pagination parameters for listing findings.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeFindingsPaginator

      default ListCodeFindingsPublisher listCodeFindingsPaginator(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest)

      This is a variant of listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest) 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.continuum.paginators.ListCodeFindingsPublisher publisher = client.listCodeFindingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeFindingsPublisher publisher = client.listCodeFindingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeFindingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeFindingsResponse 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 listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest) operation.


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

      Parameters:
      listCodeFindingsRequest - A Consumer that will call methods on ListCodeFindingsRequest.Builder to create a request. Specifies the environment and pagination parameters for listing findings.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssueArtifacts

      default CompletableFuture<ListCodeIssueArtifactsResponse> listCodeIssueArtifacts(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest)

      Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.

      Parameters:
      listCodeIssueArtifactsRequest - Specifies the issue, optional filter, and pagination parameters for listing artifacts.
      Returns:
      A Java Future containing the result of the ListCodeIssueArtifacts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssueArtifacts

      default CompletableFuture<ListCodeIssueArtifactsResponse> listCodeIssueArtifacts(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest)

      Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.


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

      Parameters:
      listCodeIssueArtifactsRequest - A Consumer that will call methods on ListCodeIssueArtifactsRequest.Builder to create a request. Specifies the issue, optional filter, and pagination parameters for listing artifacts.
      Returns:
      A Java Future containing the result of the ListCodeIssueArtifacts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssueArtifactsPaginator

      default ListCodeIssueArtifactsPublisher listCodeIssueArtifactsPaginator(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest)

      This is a variant of listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest) 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.continuum.paginators.ListCodeIssueArtifactsPublisher publisher = client.listCodeIssueArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsPublisher publisher = client.listCodeIssueArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsResponse 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 listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest) operation.

      Parameters:
      listCodeIssueArtifactsRequest - Specifies the issue, optional filter, and pagination parameters for listing artifacts.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssueArtifactsPaginator

      default ListCodeIssueArtifactsPublisher listCodeIssueArtifactsPaginator(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest)

      This is a variant of listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest) 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.continuum.paginators.ListCodeIssueArtifactsPublisher publisher = client.listCodeIssueArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsPublisher publisher = client.listCodeIssueArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsResponse 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 listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest) operation.


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

      Parameters:
      listCodeIssueArtifactsRequest - A Consumer that will call methods on ListCodeIssueArtifactsRequest.Builder to create a request. Specifies the issue, optional filter, and pagination parameters for listing artifacts.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssues

      default CompletableFuture<ListCodeIssuesResponse> listCodeIssues(ListCodeIssuesRequest listCodeIssuesRequest)

      Lists the issues in an environment in descending issueId order.

      Parameters:
      listCodeIssuesRequest - Specifies the environment and pagination parameters for listing issues.
      Returns:
      A Java Future containing the result of the ListCodeIssues operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssues

      default CompletableFuture<ListCodeIssuesResponse> listCodeIssues(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest)

      Lists the issues in an environment in descending issueId order.


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

      Parameters:
      listCodeIssuesRequest - A Consumer that will call methods on ListCodeIssuesRequest.Builder to create a request. Specifies the environment and pagination parameters for listing issues.
      Returns:
      A Java Future containing the result of the ListCodeIssues operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssuesPaginator

      default ListCodeIssuesPublisher listCodeIssuesPaginator(ListCodeIssuesRequest listCodeIssuesRequest)

      This is a variant of listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest) 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.continuum.paginators.ListCodeIssuesPublisher publisher = client.listCodeIssuesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeIssuesPublisher publisher = client.listCodeIssuesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeIssuesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeIssuesResponse 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 listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest) operation.

      Parameters:
      listCodeIssuesRequest - Specifies the environment and pagination parameters for listing issues.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeIssuesPaginator

      default ListCodeIssuesPublisher listCodeIssuesPaginator(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest)

      This is a variant of listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest) 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.continuum.paginators.ListCodeIssuesPublisher publisher = client.listCodeIssuesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeIssuesPublisher publisher = client.listCodeIssuesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeIssuesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeIssuesResponse 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 listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest) operation.


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

      Parameters:
      listCodeIssuesRequest - A Consumer that will call methods on ListCodeIssuesRequest.Builder to create a request. Specifies the environment and pagination parameters for listing issues.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeScans

      default CompletableFuture<ListCodeScansResponse> listCodeScans(ListCodeScansRequest listCodeScansRequest)

      Lists customer-visible scans for one environment in descending scanRunId order.

      Parameters:
      listCodeScansRequest -
      Returns:
      A Java Future containing the result of the ListCodeScans operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeScans

      default CompletableFuture<ListCodeScansResponse> listCodeScans(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest)

      Lists customer-visible scans for one environment in descending scanRunId order.


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

      Parameters:
      listCodeScansRequest - A Consumer that will call methods on ListCodeScansRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCodeScans operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeScansPaginator

      default ListCodeScansPublisher listCodeScansPaginator(ListCodeScansRequest listCodeScansRequest)

      This is a variant of listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest) 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.continuum.paginators.ListCodeScansPublisher publisher = client.listCodeScansPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeScansPublisher publisher = client.listCodeScansPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeScansResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeScansResponse 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 listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest) operation.

      Parameters:
      listCodeScansRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCodeScansPaginator

      default ListCodeScansPublisher listCodeScansPaginator(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest)

      This is a variant of listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest) 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.continuum.paginators.ListCodeScansPublisher publisher = client.listCodeScansPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListCodeScansPublisher publisher = client.listCodeScansPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListCodeScansResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListCodeScansResponse 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 listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest) operation.


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

      Parameters:
      listCodeScansRequest - A Consumer that will call methods on ListCodeScansRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCollectors

      default CompletableFuture<ListCollectorsResponse> listCollectors(ListCollectorsRequest listCollectorsRequest)

      Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.

      Parameters:
      listCollectorsRequest - Specifies no request parameters. The target account is derived exclusively from the authenticated calling context.
      Returns:
      A Java Future containing the result of the ListCollectors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCollectors

      default CompletableFuture<ListCollectorsResponse> listCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest)

      Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.


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

      Parameters:
      listCollectorsRequest - A Consumer that will call methods on ListCollectorsRequest.Builder to create a request. Specifies no request parameters. The target account is derived exclusively from the authenticated calling context.
      Returns:
      A Java Future containing the result of the ListCollectors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDecisionEvidence

      default CompletableFuture<ListDecisionEvidenceResponse> listDecisionEvidence(ListDecisionEvidenceRequest listDecisionEvidenceRequest)

      Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package. Never re-evaluates.

      Parameters:
      listDecisionEvidenceRequest - Input for ListDecisionEvidence.
      Returns:
      A Java Future containing the result of the ListDecisionEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDecisionEvidence

      default CompletableFuture<ListDecisionEvidenceResponse> listDecisionEvidence(Consumer<ListDecisionEvidenceRequest.Builder> listDecisionEvidenceRequest)

      Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package. Never re-evaluates.


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

      Parameters:
      listDecisionEvidenceRequest - A Consumer that will call methods on ListDecisionEvidenceRequest.Builder to create a request. Input for ListDecisionEvidence.
      Returns:
      A Java Future containing the result of the ListDecisionEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDecisionEvidencePaginator

      default ListDecisionEvidencePublisher listDecisionEvidencePaginator(ListDecisionEvidenceRequest listDecisionEvidenceRequest)

      This is a variant of listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest) 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.continuum.paginators.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse 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 listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest) operation.

      Parameters:
      listDecisionEvidenceRequest - Input for ListDecisionEvidence.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDecisionEvidencePaginator

      default ListDecisionEvidencePublisher listDecisionEvidencePaginator(Consumer<ListDecisionEvidenceRequest.Builder> listDecisionEvidenceRequest)

      This is a variant of listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest) 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.continuum.paginators.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse 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 listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest) operation.


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

      Parameters:
      listDecisionEvidenceRequest - A Consumer that will call methods on ListDecisionEvidenceRequest.Builder to create a request. Input for ListDecisionEvidence.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironments

      default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)

      Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.

      Parameters:
      listEnvironmentsRequest - Specifies pagination parameters for listing environments.

      Response-filtering justification: filtering is intentionally omitted because every current consumer needs the canonical complete, account-scoped environment inventory, and no useful selective server-side query use case is defined. Environment ID already has the GetEnvironment lookup operation, and status, name, or timestamp filtering is not needed by any current workflow. Adding speculative filters would require unsupported access patterns and ambiguous semantics without reducing data returned for existing consumers. If a concrete indexed query use case is introduced later, its filter values must be bound to pagination tokens so a token cannot be replayed against a different query. The formal API standards decision is recorded in the package-root BR_EXCEPTIONS.md file.

      Returns:
      A Java Future containing the result of the ListEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironments

      default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)

      Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.


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

      Parameters:
      listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request. Specifies pagination parameters for listing environments.

      Response-filtering justification: filtering is intentionally omitted because every current consumer needs the canonical complete, account-scoped environment inventory, and no useful selective server-side query use case is defined. Environment ID already has the GetEnvironment lookup operation, and status, name, or timestamp filtering is not needed by any current workflow. Adding speculative filters would require unsupported access patterns and ambiguous semantics without reducing data returned for existing consumers. If a concrete indexed query use case is introduced later, its filter values must be bound to pagination tokens so a token cannot be replayed against a different query. The formal API standards decision is recorded in the package-root BR_EXCEPTIONS.md file.

      Returns:
      A Java Future containing the result of the ListEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentsPaginator

      default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)

      This is a variant of listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest) 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.continuum.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListEnvironmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListEnvironmentsResponse 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 listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest) operation.

      Parameters:
      listEnvironmentsRequest - Specifies pagination parameters for listing environments.

      Response-filtering justification: filtering is intentionally omitted because every current consumer needs the canonical complete, account-scoped environment inventory, and no useful selective server-side query use case is defined. Environment ID already has the GetEnvironment lookup operation, and status, name, or timestamp filtering is not needed by any current workflow. Adding speculative filters would require unsupported access patterns and ambiguous semantics without reducing data returned for existing consumers. If a concrete indexed query use case is introduced later, its filter values must be bound to pagination tokens so a token cannot be replayed against a different query. The formal API standards decision is recorded in the package-root BR_EXCEPTIONS.md file.

      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentsPaginator

      default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)

      This is a variant of listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest) 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.continuum.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListEnvironmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListEnvironmentsResponse 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 listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest) operation.


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

      Parameters:
      listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request. Specifies pagination parameters for listing environments.

      Response-filtering justification: filtering is intentionally omitted because every current consumer needs the canonical complete, account-scoped environment inventory, and no useful selective server-side query use case is defined. Environment ID already has the GetEnvironment lookup operation, and status, name, or timestamp filtering is not needed by any current workflow. Adding speculative filters would require unsupported access patterns and ambiguous semantics without reducing data returned for existing consumers. If a concrete indexed query use case is introduced later, its filter values must be bound to pagination tokens so a token cannot be replayed against a different query. The formal API standards decision is recorded in the package-root BR_EXCEPTIONS.md file.

      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrations

      default CompletableFuture<ListIntegrationsResponse> listIntegrations(ListIntegrationsRequest listIntegrationsRequest)

      Lists Continuum integrations owned by the forwarded customer account.

      Parameters:
      listIntegrationsRequest - Specifies pagination parameters for listing integrations.
      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.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntegrations

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

      Lists Continuum integrations owned by the forwarded customer 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. Specifies pagination parameters for listing integrations.
      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.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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.continuum.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.continuum.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.continuum.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListIntegrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.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.continuum.model.ListIntegrationsRequest) operation.

      Parameters:
      listIntegrationsRequest - Specifies pagination parameters for listing integrations.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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.continuum.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.continuum.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.continuum.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListIntegrationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.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.continuum.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. Specifies pagination parameters for listing integrations.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPackageDecisions

      default CompletableFuture<ListPackageDecisionsResponse> listPackageDecisions(ListPackageDecisionsRequest listPackageDecisionsRequest)

      Lists the package decisions made for the calling account, newest first by completedAt. Decisions are retained for 45 days.

      Parameters:
      listPackageDecisionsRequest - Input for ListPackageDecisions.
      Returns:
      A Java Future containing the result of the ListPackageDecisions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPackageDecisions

      default CompletableFuture<ListPackageDecisionsResponse> listPackageDecisions(Consumer<ListPackageDecisionsRequest.Builder> listPackageDecisionsRequest)

      Lists the package decisions made for the calling account, newest first by completedAt. Decisions are retained for 45 days.


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

      Parameters:
      listPackageDecisionsRequest - A Consumer that will call methods on ListPackageDecisionsRequest.Builder to create a request. Input for ListPackageDecisions.
      Returns:
      A Java Future containing the result of the ListPackageDecisions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPackageDecisionsPaginator

      default ListPackageDecisionsPublisher listPackageDecisionsPaginator(ListPackageDecisionsRequest listPackageDecisionsRequest)

      This is a variant of listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest) 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.continuum.paginators.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse 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 listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest) operation.

      Parameters:
      listPackageDecisionsRequest - Input for ListPackageDecisions.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPackageDecisionsPaginator

      default ListPackageDecisionsPublisher listPackageDecisionsPaginator(Consumer<ListPackageDecisionsRequest.Builder> listPackageDecisionsRequest)

      This is a variant of listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest) 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.continuum.paginators.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse 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 listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest) operation.


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

      Parameters:
      listPackageDecisionsRequest - A Consumer that will call methods on ListPackageDecisionsRequest.Builder to create a request. Input for ListPackageDecisions.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPolicies

      default CompletableFuture<ListSupplyChainPoliciesResponse> listSupplyChainPolicies(ListSupplyChainPoliciesRequest listSupplyChainPoliciesRequest)

      Lists customer-managed and service-managed policies visible to the calling account in the current Region.

      Parameters:
      listSupplyChainPoliciesRequest - Input for ListSupplyChainPolicies.
      Returns:
      A Java Future containing the result of the ListSupplyChainPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPolicies

      default CompletableFuture<ListSupplyChainPoliciesResponse> listSupplyChainPolicies(Consumer<ListSupplyChainPoliciesRequest.Builder> listSupplyChainPoliciesRequest)

      Lists customer-managed and service-managed policies visible to the calling account in the current Region.


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

      Parameters:
      listSupplyChainPoliciesRequest - A Consumer that will call methods on ListSupplyChainPoliciesRequest.Builder to create a request. Input for ListSupplyChainPolicies.
      Returns:
      A Java Future containing the result of the ListSupplyChainPolicies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPoliciesPaginator

      default ListSupplyChainPoliciesPublisher listSupplyChainPoliciesPaginator(ListSupplyChainPoliciesRequest listSupplyChainPoliciesRequest)

      This is a variant of listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest) 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.continuum.paginators.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse 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 listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest) operation.

      Parameters:
      listSupplyChainPoliciesRequest - Input for ListSupplyChainPolicies.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPoliciesPaginator

      default ListSupplyChainPoliciesPublisher listSupplyChainPoliciesPaginator(Consumer<ListSupplyChainPoliciesRequest.Builder> listSupplyChainPoliciesRequest)

      This is a variant of listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest) 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.continuum.paginators.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse 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 listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest) operation.


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

      Parameters:
      listSupplyChainPoliciesRequest - A Consumer that will call methods on ListSupplyChainPoliciesRequest.Builder to create a request. Input for ListSupplyChainPolicies.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPolicyExceptions

      default CompletableFuture<ListSupplyChainPolicyExceptionsResponse> listSupplyChainPolicyExceptions(ListSupplyChainPolicyExceptionsRequest listSupplyChainPolicyExceptionsRequest)

      Lists policy exceptions owned by the calling account in the current Region.

      Parameters:
      listSupplyChainPolicyExceptionsRequest - Input for ListSupplyChainPolicyExceptions.
      Returns:
      A Java Future containing the result of the ListSupplyChainPolicyExceptions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPolicyExceptions

      default CompletableFuture<ListSupplyChainPolicyExceptionsResponse> listSupplyChainPolicyExceptions(Consumer<ListSupplyChainPolicyExceptionsRequest.Builder> listSupplyChainPolicyExceptionsRequest)

      Lists policy exceptions owned by the calling account in the current Region.


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

      Parameters:
      listSupplyChainPolicyExceptionsRequest - A Consumer that will call methods on ListSupplyChainPolicyExceptionsRequest.Builder to create a request. Input for ListSupplyChainPolicyExceptions.
      Returns:
      A Java Future containing the result of the ListSupplyChainPolicyExceptions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPolicyExceptionsPaginator

      default ListSupplyChainPolicyExceptionsPublisher listSupplyChainPolicyExceptionsPaginator(ListSupplyChainPolicyExceptionsRequest listSupplyChainPolicyExceptionsRequest)

      This is a variant of listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest) 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.continuum.paginators.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse 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 listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest) operation.

      Parameters:
      listSupplyChainPolicyExceptionsRequest - Input for ListSupplyChainPolicyExceptions.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSupplyChainPolicyExceptionsPaginator

      default ListSupplyChainPolicyExceptionsPublisher listSupplyChainPolicyExceptionsPaginator(Consumer<ListSupplyChainPolicyExceptionsRequest.Builder> listSupplyChainPolicyExceptionsRequest)

      This is a variant of listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest) 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.continuum.paginators.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.continuum.paginators.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse 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 listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest) operation.


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

      Parameters:
      listSupplyChainPolicyExceptionsRequest - A Consumer that will call methods on ListSupplyChainPolicyExceptionsRequest.Builder to create a request. Input for ListSupplyChainPolicyExceptions.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Returns the tags on a Continuum resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

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

      Returns the tags on a Continuum 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.
      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.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResourcePolicy

      default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)

      Creates or replaces the resource policy attached to a Continuum resource.

      Parameters:
      putResourcePolicyRequest - Specifies the resource and its new policy.
      Returns:
      A Java Future containing the result of the PutResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putResourcePolicy

      default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)

      Creates or replaces the resource policy attached to a Continuum resource.


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

      Parameters:
      putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request. Specifies the resource and its new policy.
      Returns:
      A Java Future containing the result of the PutResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startIntegrationAuthorization

      default CompletableFuture<StartIntegrationAuthorizationResponse> startIntegrationAuthorization(StartIntegrationAuthorizationRequest startIntegrationAuthorizationRequest)

      Starts an OAuth authorization for a new Continuum integration. Returns a server-stored OAuth state nonce and the PKCE code challenge for the matching code verifier HoFES retains. The caller sends the state and code challenge to the provider's authorize endpoint; CreateIntegration redeems the authorization code with the matching state.

      Parameters:
      startIntegrationAuthorizationRequest - Specifies the provider to authorize and, optionally, the name the new integration will use.
      Returns:
      A Java Future containing the result of the StartIntegrationAuthorization operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startIntegrationAuthorization

      default CompletableFuture<StartIntegrationAuthorizationResponse> startIntegrationAuthorization(Consumer<StartIntegrationAuthorizationRequest.Builder> startIntegrationAuthorizationRequest)

      Starts an OAuth authorization for a new Continuum integration. Returns a server-stored OAuth state nonce and the PKCE code challenge for the matching code verifier HoFES retains. The caller sends the state and code challenge to the provider's authorize endpoint; CreateIntegration redeems the authorization code with the matching state.


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

      Parameters:
      startIntegrationAuthorizationRequest - A Consumer that will call methods on StartIntegrationAuthorizationRequest.Builder to create a request. Specifies the provider to authorize and, optionally, the name the new integration will use.
      Returns:
      A Java Future containing the result of the StartIntegrationAuthorization operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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 Continuum resource, or changes the values of tags that it already has. Tags that the request doesn't name stay as they are.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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 Continuum resource, or changes the values of tags that it already has. Tags that the request doesn't name stay as they are.


      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.
      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.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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 Continuum resource. A key that the resource doesn't have is ignored.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException 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 Continuum resource. A key that the resource doesn't have is ignored.


      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.
      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.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCollector

      default CompletableFuture<UpdateCollectorResponse> updateCollector(UpdateCollectorRequest updateCollectorRequest)

      Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.

      Parameters:
      updateCollectorRequest - Specifies the mutable Collector properties. At least one property must be supplied. k8ClusterRole models an atomic set-or-remove mutation, so roleArn and externalId are replaced or removed together.
      Returns:
      A Java Future containing the result of the UpdateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCollector

      default CompletableFuture<UpdateCollectorResponse> updateCollector(Consumer<UpdateCollectorRequest.Builder> updateCollectorRequest)

      Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.


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

      Parameters:
      updateCollectorRequest - A Consumer that will call methods on UpdateCollectorRequest.Builder to create a request. Specifies the mutable Collector properties. At least one property must be supplied. k8ClusterRole models an atomic set-or-remove mutation, so roleArn and externalId are replaced or removed together.
      Returns:
      A Java Future containing the result of the UpdateCollector operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEnvironment

      default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)

      Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, its patch creation policy, its focus mode, and its pentest configuration can be changed.

      Parameters:
      updateEnvironmentRequest - Specifies the mutable environment properties. Supply a name, a change under configuration.codeConfiguration, or configuration.pentestConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network, patchCreationPolicy and focusMode replace the corresponding policies. A focusMode change applies only to findings created after it; findings created before it are unaffected.
      Returns:
      A Java Future containing the result of the UpdateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEnvironment

      default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)

      Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, its patch creation policy, its focus mode, and its pentest configuration can be changed.


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

      Parameters:
      updateEnvironmentRequest - A Consumer that will call methods on UpdateEnvironmentRequest.Builder to create a request. Specifies the mutable environment properties. Supply a name, a change under configuration.codeConfiguration, or configuration.pentestConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network, patchCreationPolicy and focusMode replace the corresponding policies. A focusMode change applies only to findings created after it; findings created before it are unaffected.
      Returns:
      A Java Future containing the result of the UpdateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegration

      default CompletableFuture<UpdateIntegrationResponse> updateIntegration(UpdateIntegrationRequest updateIntegrationRequest)

      Updates a Continuum integration. Only S3 integrations can be updated today; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.

      Parameters:
      updateIntegrationRequest - Specifies the S3 integration and the credentials to validate and save.
      Returns:
      A Java Future containing the result of the UpdateIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntegration

      default CompletableFuture<UpdateIntegrationResponse> updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest)

      Updates a Continuum integration. Only S3 integrations can be updated today; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.


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

      Parameters:
      updateIntegrationRequest - A Consumer that will call methods on UpdateIntegrationRequest.Builder to create a request. Specifies the S3 integration and the credentials to validate and save.
      Returns:
      A Java Future containing the result of the UpdateIntegration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSupplyChainPolicy

      default CompletableFuture<UpdateSupplyChainPolicyResponse> updateSupplyChainPolicy(UpdateSupplyChainPolicyRequest updateSupplyChainPolicyRequest)

      Updates an existing policy. You can change the description, add rules, and change rules that have no active policy exception. The name can't be changed, existing rules can't be removed, and rules with an active policy exception can't be changed until the exception expires or is deleted. The policy's ID, ARN, and tags don't change.

      Parameters:
      updateSupplyChainPolicyRequest - Input for UpdateSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the UpdateSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSupplyChainPolicy

      default CompletableFuture<UpdateSupplyChainPolicyResponse> updateSupplyChainPolicy(Consumer<UpdateSupplyChainPolicyRequest.Builder> updateSupplyChainPolicyRequest)

      Updates an existing policy. You can change the description, add rules, and change rules that have no active policy exception. The name can't be changed, existing rules can't be removed, and rules with an active policy exception can't be changed until the exception expires or is deleted. The policy's ID, ARN, and tags don't change.


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

      Parameters:
      updateSupplyChainPolicyRequest - A Consumer that will call methods on UpdateSupplyChainPolicyRequest.Builder to create a request. Input for UpdateSupplyChainPolicy.
      Returns:
      A Java Future containing the result of the UpdateSupplyChainPolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSupplyChainPolicyException

      default CompletableFuture<UpdateSupplyChainPolicyExceptionResponse> updateSupplyChainPolicyException(UpdateSupplyChainPolicyExceptionRequest updateSupplyChainPolicyExceptionRequest)

      Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time. The name and the referenced policy can't be changed, and an expired exception can't be updated. The exception's ID, ARN, and tags don't change.

      Parameters:
      updateSupplyChainPolicyExceptionRequest - Input for UpdateSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the UpdateSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSupplyChainPolicyException

      default CompletableFuture<UpdateSupplyChainPolicyExceptionResponse> updateSupplyChainPolicyException(Consumer<UpdateSupplyChainPolicyExceptionRequest.Builder> updateSupplyChainPolicyExceptionRequest)

      Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time. The name and the referenced policy can't be changed, and an expired exception can't be updated. The exception's ID, ARN, and tags don't change.


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

      Parameters:
      updateSupplyChainPolicyExceptionRequest - A Consumer that will call methods on UpdateSupplyChainPolicyExceptionRequest.Builder to create a request. Input for UpdateSupplyChainPolicyException.
      Returns:
      A Java Future containing the result of the UpdateSupplyChainPolicyException operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
      • InternalServerException An unexpected error occurred on the server. Try the request again.
      • AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The request isn't valid. Check the request parameters and try again.
      • ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default ContinuumAsyncWaiter waiter()
      Create an instance of ContinuumAsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of ContinuumAsyncWaiter
    • serviceClientConfiguration

      default ContinuumServiceClientConfiguration 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 ContinuumAsyncClient create()
      Create a ContinuumAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static ContinuumAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a ContinuumAsyncClient.