Interface ContinuumAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
AWS Continuum finds, validates, prioritizes, and remediates code vulnerabilities across the source repositories and AWS resources in your environments.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateCollector(Consumer<AssociateCollectorRequest.Builder> associateCollectorRequest) Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data.associateCollector(AssociateCollectorRequest associateCollectorRequest) Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data.static ContinuumAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aContinuumAsyncClient.static ContinuumAsyncClientcreate()Create aContinuumAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createCodeFinding(Consumer<CreateCodeFindingRequest.Builder> createCodeFindingRequest) Ingests a customer-supplied security finding into an environment.createCodeFinding(CreateCodeFindingRequest createCodeFindingRequest) Ingests a customer-supplied security finding into an environment.default CompletableFuture<CreateCodeScanResponse> createCodeScan(Consumer<CreateCodeScanRequest.Builder> createCodeScanRequest) Creates an explicit scan request for one environment.default CompletableFuture<CreateCodeScanResponse> createCodeScan(CreateCodeScanRequest createCodeScanRequest) Creates an explicit scan request for one environment.default CompletableFuture<CreateCollectorResponse> createCollector(Consumer<CreateCollectorRequest.Builder> createCollectorRequest) Creates the Collector for the caller's account.default CompletableFuture<CreateCollectorResponse> createCollector(CreateCollectorRequest createCollectorRequest) Creates the Collector for the caller's account.createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates an environment and starts its validation and any requested provisioning.createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates an environment and starts its validation and any requested provisioning.createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates a new integration with an external source provider.createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a new integration with an external source provider.default CompletableFuture<DeleteCollectorResponse> deleteCollector(Consumer<DeleteCollectorRequest.Builder> deleteCollectorRequest) Deletes the Collector for the caller's account.default CompletableFuture<DeleteCollectorResponse> deleteCollector(DeleteCollectorRequest deleteCollectorRequest) Deletes the Collector for the caller's account.deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment and its associated resources.deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment and its associated resources.deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an integration and releases its name and account quota.deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an integration and releases its name and account quota.disassociateCollector(Consumer<DisassociateCollectorRequest.Builder> disassociateCollectorRequest) Removes one Collector association from this Environment, preserving its other associations.disassociateCollector(DisassociateCollectorRequest disassociateCollectorRequest) Removes one Collector association from this Environment, preserving its other associations.default CompletableFuture<GetCodeFindingResponse> getCodeFinding(Consumer<GetCodeFindingRequest.Builder> getCodeFindingRequest) Retrieves the current state and details of a finding.default CompletableFuture<GetCodeFindingResponse> getCodeFinding(GetCodeFindingRequest getCodeFindingRequest) Retrieves the current state and details of a finding.default CompletableFuture<GetCodeIssueResponse> getCodeIssue(Consumer<GetCodeIssueRequest.Builder> getCodeIssueRequest) Retrieves the current state and details of an issue.default CompletableFuture<GetCodeIssueResponse> getCodeIssue(GetCodeIssueRequest getCodeIssueRequest) Retrieves the current state and details of an issue.getCodeIssueArtifact(Consumer<GetCodeIssueArtifactRequest.Builder> getCodeIssueArtifactRequest) Retrieves one immutable artifact attached to an issue, including its content.getCodeIssueArtifact(GetCodeIssueArtifactRequest getCodeIssueArtifactRequest) Retrieves one immutable artifact attached to an issue, including its content.default CompletableFuture<GetCodeScanResponse> getCodeScan(Consumer<GetCodeScanRequest.Builder> getCodeScanRequest) Retrieves one customer-visible environment scan.default CompletableFuture<GetCodeScanResponse> getCodeScan(GetCodeScanRequest getCodeScanRequest) Retrieves one customer-visible environment scan.default CompletableFuture<GetCollectorResponse> getCollector(Consumer<GetCollectorRequest.Builder> getCollectorRequest) Retrieves the current state of the Collector for the caller's account.default CompletableFuture<GetCollectorResponse> getCollector(GetCollectorRequest getCollectorRequest) Retrieves the current state of the Collector for the caller's account.getCollectorDataAccessAuthorization(Consumer<GetCollectorDataAccessAuthorizationRequest.Builder> getCollectorDataAccessAuthorizationRequest) Authorizes an Environment's access to a Collector's data.getCollectorDataAccessAuthorization(GetCollectorDataAccessAuthorizationRequest getCollectorDataAccessAuthorizationRequest) Authorizes an Environment's access to a Collector's data.default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves the current state and configuration of an environment.default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves the current state and configuration of an environment.default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Retrieves information about an integration.default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Retrieves information about an integration.getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource policy attached to a Continuum resource.getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource policy attached to a Continuum resource.listAssociatedCollectors(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) Lists the Collectors currently associated with one Environment in ascending collectorId order.listAssociatedCollectors(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) Lists the Collectors currently associated with one Environment in ascending collectorId order.listAssociatedCollectorsPaginator(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) This is a variant oflistAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation.listAssociatedCollectorsPaginator(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) This is a variant oflistAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation.listAssociatedEnvironments(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest) Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order.listAssociatedEnvironments(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest) Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order.listAssociatedEnvironmentsPaginator(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest) This is a variant oflistAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest)operation.listAssociatedEnvironmentsPaginator(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest) This is a variant oflistAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest)operation.listCodeFindings(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) Lists the findings in an environment in descending findingId order.listCodeFindings(ListCodeFindingsRequest listCodeFindingsRequest) Lists the findings in an environment in descending findingId order.default ListCodeFindingsPublisherlistCodeFindingsPaginator(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) This is a variant oflistCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation.default ListCodeFindingsPublisherlistCodeFindingsPaginator(ListCodeFindingsRequest listCodeFindingsRequest) This is a variant oflistCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation.listCodeIssueArtifacts(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) Lists the artifacts attached to an issue in descending artifactId order.listCodeIssueArtifacts(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) Lists the artifacts attached to an issue in descending artifactId order.default ListCodeIssueArtifactsPublisherlistCodeIssueArtifactsPaginator(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) This is a variant oflistCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation.default ListCodeIssueArtifactsPublisherlistCodeIssueArtifactsPaginator(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) This is a variant oflistCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation.default CompletableFuture<ListCodeIssuesResponse> listCodeIssues(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) Lists the issues in an environment in descending issueId order.default CompletableFuture<ListCodeIssuesResponse> listCodeIssues(ListCodeIssuesRequest listCodeIssuesRequest) Lists the issues in an environment in descending issueId order.default ListCodeIssuesPublisherlistCodeIssuesPaginator(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) This is a variant oflistCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation.default ListCodeIssuesPublisherlistCodeIssuesPaginator(ListCodeIssuesRequest listCodeIssuesRequest) This is a variant oflistCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation.default CompletableFuture<ListCodeScansResponse> listCodeScans(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) Lists customer-visible scans for one environment in descending scanRunId order.default CompletableFuture<ListCodeScansResponse> listCodeScans(ListCodeScansRequest listCodeScansRequest) Lists customer-visible scans for one environment in descending scanRunId order.default ListCodeScansPublisherlistCodeScansPaginator(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) This is a variant oflistCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation.default ListCodeScansPublisherlistCodeScansPaginator(ListCodeScansRequest listCodeScansRequest) This is a variant oflistCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation.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.default CompletableFuture<ListCollectorsResponse> listCollectors(ListCollectorsRequest listCollectorsRequest) Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress.listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists all environments in your account in descending environmentId order.listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists all environments in your account in descending environmentId order.default ListEnvironmentsPublisherlistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation.default ListEnvironmentsPublisherlistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation.listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) Lists the integrations in your account in descending integrationId order.listIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists the integrations in your account in descending integrationId order.default ListIntegrationsPublisherlistIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation.default ListIntegrationsPublisherlistIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation.putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or replaces the resource policy attached to a Continuum resource.putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Creates or replaces the resource policy attached to a Continuum resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartIntegrationAuthorization(Consumer<StartIntegrationAuthorizationRequest.Builder> startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint.startIntegrationAuthorization(StartIntegrationAuthorizationRequest startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint.default CompletableFuture<UpdateCollectorResponse> updateCollector(Consumer<UpdateCollectorRequest.Builder> updateCollectorRequest) Updates the customer-controlled mutable properties of a Collector.default CompletableFuture<UpdateCollectorResponse> updateCollector(UpdateCollectorRequest updateCollectorRequest) Updates the customer-controlled mutable properties of a Collector.updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates the customer-controlled mutable properties of an environment.updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates the customer-controlled mutable properties of an environment.updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) Rotates the credentials used by an Amazon S3 integration.updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Rotates the credentials used by an Amazon S3 integration.default ContinuumAsyncWaiterwaiter()Create an instance ofContinuumAsyncWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaAssociateCollectorRequest.builder()- Parameters:
associateCollectorRequest- AConsumerthat will call methods onAssociateCollectorRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaCreateCodeFindingRequest.builder()- Parameters:
createCodeFindingRequest- AConsumerthat will call methods onCreateCodeFindingRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaCreateCodeScanRequest.builder()- Parameters:
createCodeScanRequest- AConsumerthat will call methods onCreateCodeScanRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaCreateCollectorRequest.builder()- Parameters:
createCollectorRequest- AConsumerthat will call methods onCreateCollectorRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request. Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration.- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 new integration with an external source provider. Repeating an identical request with the same clientToken returns the original integrationId, integrationArn, and createdAt. Token records are retained for eight hours after success or terminal failure, including after the integration is deleted; replaying a deleted integration's token does not recreate it. An identical request with a retained terminal failure returns the recorded error.
Reusing a token with different parameters returns ValidationException. A fresh token starts a new create attempt; if the name is already owned by another integration, ConflictException includes that integration's identifier. An attempt still in progress may return ThrottlingException with retryAfterSeconds set to 1; retry with the same token and identical parameters.
GitHub authorization codes are single use. Retry an unresolved attempt with its original token and unchanged parameters first. If the service reports a terminal failure, an expired attempt, or a successful token exchange whose integration could not be saved, restart GitHub authorization with a fresh token and authorization code. The service does not checkpoint provider results for recovery by another request.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 new integration with an external source provider. Repeating an identical request with the same clientToken returns the original integrationId, integrationArn, and createdAt. Token records are retained for eight hours after success or terminal failure, including after the integration is deleted; replaying a deleted integration's token does not recreate it. An identical request with a retained terminal failure returns the recorded error.
Reusing a token with different parameters returns ValidationException. A fresh token starts a new create attempt; if the name is already owned by another integration, ConflictException includes that integration's identifier. An attempt still in progress may return ThrottlingException with retryAfterSeconds set to 1; retry with the same token and identical parameters.
GitHub authorization codes are single use. Retry an unresolved attempt with its original token and unchanged parameters first. If the service reports a terminal failure, an expired attempt, or a successful token exchange whose integration could not be saved, restart GitHub authorization with a fresh token and authorization code. The service does not checkpoint provider results for recovery by another request.
This is a convenience which creates an instance of the
CreateIntegrationRequest.Builderavoiding the need to create one manually viaCreateIntegrationRequest.builder()- Parameters:
createIntegrationRequest- AConsumerthat will call methods onCreateIntegrationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ServiceQuotaExceededException The request would exceed a service quota. Review your quota and request an increase if needed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaDeleteCollectorRequest.builder()- Parameters:
deleteCollectorRequest- AConsumerthat will call methods onDeleteCollectorRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 an integration and releases its name and account quota. Its retained CreateIntegration token receipt can still replay the original result without recreating the integration. Shared provider registrations are retained: deleting one integration does not remove provider access used by another integration. A fresh GitHub CreateIntegration attempt requires a fresh OAuth authorization code and a new clientToken.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 an integration and releases its name and account quota. Its retained CreateIntegration token receipt can still replay the original result without recreating the integration. Shared provider registrations are retained: deleting one integration does not remove provider access used by another integration. A fresh GitHub CreateIntegration attempt requires a fresh OAuth authorization code and a new clientToken.
This is a convenience which creates an instance of the
DeleteIntegrationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationRequest.builder()- Parameters:
deleteIntegrationRequest- AConsumerthat will call methods onDeleteIntegrationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaDisassociateCollectorRequest.builder()- Parameters:
disassociateCollectorRequest- AConsumerthat will call methods onDisassociateCollectorRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetCodeFindingRequest.builder()- Parameters:
getCodeFindingRequest- AConsumerthat will call methods onGetCodeFindingRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetCodeIssueRequest.builder()- Parameters:
getCodeIssueRequest- AConsumerthat will call methods onGetCodeIssueRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetCodeIssueArtifactRequest.builder()- Parameters:
getCodeIssueArtifactRequest- AConsumerthat will call methods onGetCodeIssueArtifactRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeScan
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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetCodeScanRequest.builder()- Parameters:
getCodeScanRequest- AConsumerthat will call methods onGetCodeScanRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetCollectorRequest.builder()- Parameters:
getCollectorRequest- AConsumerthat will call methods onGetCollectorRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetCollectorDataAccessAuthorizationRequest.builder()- Parameters:
getCollectorDataAccessAuthorizationRequest- AConsumerthat will call methods onGetCollectorDataAccessAuthorizationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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) Retrieves information about an integration.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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) Retrieves information about an integration.
This is a convenience which creates an instance of the
GetIntegrationRequest.Builderavoiding the need to create one manually viaGetIntegrationRequest.builder()- Parameters:
getIntegrationRequest- AConsumerthat will call methods onGetIntegrationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListAssociatedCollectorsRequest.builder()- Parameters:
listAssociatedCollectorsRequest- AConsumerthat will call methods onListAssociatedCollectorsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsPublisher publisher = client.listAssociatedCollectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsPublisher publisher = client.listAssociatedCollectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListAssociatedCollectorsRequest.builder()- Parameters:
listAssociatedCollectorsRequest- AConsumerthat will call methods onListAssociatedCollectorsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListAssociatedEnvironmentsRequest.builder()- Parameters:
listAssociatedEnvironmentsRequest- AConsumerthat will call methods onListAssociatedEnvironmentsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsPublisher publisher = client.listAssociatedEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsPublisher publisher = client.listAssociatedEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListAssociatedEnvironmentsRequest.builder()- Parameters:
listAssociatedEnvironmentsRequest- AConsumerthat will call methods onListAssociatedEnvironmentsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListCodeFindingsRequest.builder()- Parameters:
listCodeFindingsRequest- AConsumerthat will call methods onListCodeFindingsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeFindingsPublisher publisher = client.listCodeFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeFindingsPublisher publisher = client.listCodeFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListCodeFindingsRequest.builder()- Parameters:
listCodeFindingsRequest- AConsumerthat will call methods onListCodeFindingsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListCodeIssueArtifactsRequest.builder()- Parameters:
listCodeIssueArtifactsRequest- AConsumerthat will call methods onListCodeIssueArtifactsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsPublisher publisher = client.listCodeIssueArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsPublisher publisher = client.listCodeIssueArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListCodeIssueArtifactsRequest.builder()- Parameters:
listCodeIssueArtifactsRequest- AConsumerthat will call methods onListCodeIssueArtifactsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListCodeIssuesRequest.builder()- Parameters:
listCodeIssuesRequest- AConsumerthat will call methods onListCodeIssuesRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssuesPublisher publisher = client.listCodeIssuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssuesPublisher publisher = client.listCodeIssuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListCodeIssuesRequest.builder()- Parameters:
listCodeIssuesRequest- AConsumerthat will call methods onListCodeIssuesRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListCodeScansRequest.builder()- Parameters:
listCodeScansRequest- AConsumerthat will call methods onListCodeScansRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeScansPaginator
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeScansPublisher publisher = client.listCodeScansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListCodeScansPublisher publisher = client.listCodeScansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListCodeScansRequest.builder()- Parameters:
listCodeScansRequest- AConsumerthat will call methods onListCodeScansRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListCollectorsRequest.builder()- Parameters:
listCollectorsRequest- AConsumerthat will call methods onListCollectorsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 the integrations in your account in descending integrationId order.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 the integrations in your account in descending integrationId order.
This is a convenience which creates an instance of the
ListIntegrationsRequest.Builderavoiding the need to create one manually viaListIntegrationsRequest.builder()- Parameters:
listIntegrationsRequest- AConsumerthat will call methods onListIntegrationsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.continuum.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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) { //... }; });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.Builderavoiding the need to create one manually viaListIntegrationsRequest.builder()- Parameters:
listIntegrationsRequest- AConsumerthat will call methods onListIntegrationsRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.
This is a convenience which creates an instance of the
StartIntegrationAuthorizationRequest.Builderavoiding the need to create one manually viaStartIntegrationAuthorizationRequest.builder()- Parameters:
startIntegrationAuthorizationRequest- AConsumerthat will call methods onStartIntegrationAuthorizationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.Builderavoiding the need to create one manually viaUpdateCollectorRequest.builder()- Parameters:
updateCollectorRequest- AConsumerthat will call methods onUpdateCollectorRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, and its patch creation policy can be changed.
- Parameters:
updateEnvironmentRequest- Specifies the mutable environment properties. Supply a name or a change under configuration.codeConfiguration. 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 and patchCreationPolicy replace the corresponding policies.- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, and its patch creation policy can be changed.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request. Specifies the mutable environment properties. Supply a name or a change under configuration.codeConfiguration. 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 and patchCreationPolicy replace the corresponding policies.- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Rotates the credentials used by an Amazon S3 integration. Only S3 integrations can be updated; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.
The caller must have iam:PassRole permission for the supplied role, including when only the external ID changes. Continuum verifies that the role can be assumed with the requested external ID and can access the existing bucket before saving both credentials atomically. Omitting externalId preserves its current value. Repeating both current credentials leaves updatedAt unchanged, but still requires authorization and access validation.
- 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Rotates the credentials used by an Amazon S3 integration. Only S3 integrations can be updated; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.
The caller must have iam:PassRole permission for the supplied role, including when only the external ID changes. Continuum verifies that the role can be assumed with the requested external ID and can access the existing bucket before saving both credentials atomically. Omitting externalId preserves its current value. Repeating both current credentials leaves updatedAt unchanged, but still requires authorization and access validation.
This is a convenience which creates an instance of the
UpdateIntegrationRequest.Builderavoiding the need to create one manually viaUpdateIntegrationRequest.builder()- Parameters:
updateIntegrationRequest- AConsumerthat will call methods onUpdateIntegrationRequest.Builderto 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 invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException
- InternalServerException The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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
Create an instance ofContinuumAsyncWaiterusing 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
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aContinuumAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aContinuumAsyncClient.
-