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 Continuum Integration.createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a Continuum Integration.createPackageDecision(Consumer<CreatePackageDecisionRequest.Builder> createPackageDecisionRequest) Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision.createPackageDecision(CreatePackageDecisionRequest createPackageDecisionRequest) Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision.createSupplyChainPolicy(Consumer<CreateSupplyChainPolicyRequest.Builder> createSupplyChainPolicyRequest) Creates a Supply Chain policy in the calling account and Region.createSupplyChainPolicy(CreateSupplyChainPolicyRequest createSupplyChainPolicyRequest) Creates a Supply Chain policy in the calling account and Region.createSupplyChainPolicyException(Consumer<CreateSupplyChainPolicyExceptionRequest.Builder> createSupplyChainPolicyExceptionRequest) Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires.createSupplyChainPolicyException(CreateSupplyChainPolicyExceptionRequest createSupplyChainPolicyExceptionRequest) Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires.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 a Continuum integration owned by the forwarded customer account.deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes a Continuum integration owned by the forwarded customer account.deleteSupplyChainPolicy(Consumer<DeleteSupplyChainPolicyRequest.Builder> deleteSupplyChainPolicyRequest) Deletes a policy and every policy exception that references it.deleteSupplyChainPolicy(DeleteSupplyChainPolicyRequest deleteSupplyChainPolicyRequest) Deletes a policy and every policy exception that references it.deleteSupplyChainPolicyException(Consumer<DeleteSupplyChainPolicyExceptionRequest.Builder> deleteSupplyChainPolicyExceptionRequest) Deletes a policy exception.deleteSupplyChainPolicyException(DeleteSupplyChainPolicyExceptionRequest deleteSupplyChainPolicyExceptionRequest) Deletes a policy exception.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) Reads a Continuum integration owned by the forwarded customer account.default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Reads a Continuum integration owned by the forwarded customer account.getPackageDecision(Consumer<GetPackageDecisionRequest.Builder> getPackageDecisionRequest) Returns one package decision owned by the calling account.getPackageDecision(GetPackageDecisionRequest getPackageDecisionRequest) Returns one package decision owned by the calling account.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.getSupplyChainManagedPolicy(Consumer<GetSupplyChainManagedPolicyRequest.Builder> getSupplyChainManagedPolicyRequest) Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline.getSupplyChainManagedPolicy(GetSupplyChainManagedPolicyRequest getSupplyChainManagedPolicyRequest) Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline.getSupplyChainPolicy(Consumer<GetSupplyChainPolicyRequest.Builder> getSupplyChainPolicyRequest) Returns one policy owned by the calling account.getSupplyChainPolicy(GetSupplyChainPolicyRequest getSupplyChainPolicyRequest) Returns one policy owned by the calling account.getSupplyChainPolicyException(Consumer<GetSupplyChainPolicyExceptionRequest.Builder> getSupplyChainPolicyExceptionRequest) Returns one policy exception owned by the calling account, with its status computed from expiresAt.getSupplyChainPolicyException(GetSupplyChainPolicyExceptionRequest getSupplyChainPolicyExceptionRequest) Returns one policy exception owned by the calling account, with its status computed from expiresAt.getVulnerability(Consumer<GetVulnerabilityRequest.Builder> getVulnerabilityRequest) Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.getVulnerability(GetVulnerabilityRequest getVulnerabilityRequest) Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.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.listDecisionEvidence(Consumer<ListDecisionEvidenceRequest.Builder> listDecisionEvidenceRequest) Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package.listDecisionEvidence(ListDecisionEvidenceRequest listDecisionEvidenceRequest) Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package.default ListDecisionEvidencePublisherlistDecisionEvidencePaginator(Consumer<ListDecisionEvidenceRequest.Builder> listDecisionEvidenceRequest) This is a variant oflistDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest)operation.default ListDecisionEvidencePublisherlistDecisionEvidencePaginator(ListDecisionEvidenceRequest listDecisionEvidenceRequest) This is a variant oflistDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest)operation.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 Continuum integrations owned by the forwarded customer account.listIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists Continuum integrations owned by the forwarded customer account.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.listPackageDecisions(Consumer<ListPackageDecisionsRequest.Builder> listPackageDecisionsRequest) Lists the package decisions made for the calling account, newest first by completedAt.listPackageDecisions(ListPackageDecisionsRequest listPackageDecisionsRequest) Lists the package decisions made for the calling account, newest first by completedAt.default ListPackageDecisionsPublisherlistPackageDecisionsPaginator(Consumer<ListPackageDecisionsRequest.Builder> listPackageDecisionsRequest) This is a variant oflistPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest)operation.default ListPackageDecisionsPublisherlistPackageDecisionsPaginator(ListPackageDecisionsRequest listPackageDecisionsRequest) This is a variant oflistPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest)operation.listSupplyChainPolicies(Consumer<ListSupplyChainPoliciesRequest.Builder> listSupplyChainPoliciesRequest) Lists customer-managed and service-managed policies visible to the calling account in the current Region.listSupplyChainPolicies(ListSupplyChainPoliciesRequest listSupplyChainPoliciesRequest) Lists customer-managed and service-managed policies visible to the calling account in the current Region.default ListSupplyChainPoliciesPublisherlistSupplyChainPoliciesPaginator(Consumer<ListSupplyChainPoliciesRequest.Builder> listSupplyChainPoliciesRequest) This is a variant oflistSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest)operation.default ListSupplyChainPoliciesPublisherlistSupplyChainPoliciesPaginator(ListSupplyChainPoliciesRequest listSupplyChainPoliciesRequest) This is a variant oflistSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest)operation.listSupplyChainPolicyExceptions(Consumer<ListSupplyChainPolicyExceptionsRequest.Builder> listSupplyChainPolicyExceptionsRequest) Lists policy exceptions owned by the calling account in the current Region.listSupplyChainPolicyExceptions(ListSupplyChainPolicyExceptionsRequest listSupplyChainPolicyExceptionsRequest) Lists policy exceptions owned by the calling account in the current Region.listSupplyChainPolicyExceptionsPaginator(Consumer<ListSupplyChainPolicyExceptionsRequest.Builder> listSupplyChainPolicyExceptionsRequest) This is a variant oflistSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest)operation.listSupplyChainPolicyExceptionsPaginator(ListSupplyChainPolicyExceptionsRequest listSupplyChainPolicyExceptionsRequest) This is a variant oflistSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags on a Continuum resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags on a Continuum resource.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 Continuum integration.startIntegrationAuthorization(StartIntegrationAuthorizationRequest startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new Continuum integration.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a Continuum resource, or changes the values of tags that it already has.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to a Continuum resource, or changes the values of tags that it already has.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Continuum resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Continuum resource.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) Updates a Continuum integration.updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Updates a Continuum integration.updateSupplyChainPolicy(Consumer<UpdateSupplyChainPolicyRequest.Builder> updateSupplyChainPolicyRequest) Updates an existing policy.updateSupplyChainPolicy(UpdateSupplyChainPolicyRequest updateSupplyChainPolicyRequest) Updates an existing policy.updateSupplyChainPolicyException(Consumer<UpdateSupplyChainPolicyExceptionRequest.Builder> updateSupplyChainPolicyExceptionRequest) Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time.updateSupplyChainPolicyException(UpdateSupplyChainPolicyExceptionRequest updateSupplyChainPolicyExceptionRequest) Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateCollector
default CompletableFuture<AssociateCollectorResponse> associateCollector(Consumer<AssociateCollectorRequest.Builder> associateCollectorRequest) Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data. The caller must have permission on the Environment and permission to pass the role. Continuum assumes the supplied role and calls GetCollectorDataAccessAuthorization on the requested Collector; only a successful authorization response permits the association. The caller does not need Collector data-access permission. The Environment retains its other Collector associations. Calling again with an existing association is safe and does not create a duplicate.
This is a convenience which creates an instance of the
AssociateCollectorRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCodeFinding
default CompletableFuture<CreateCodeFindingResponse> createCodeFinding(CreateCodeFindingRequest createCodeFindingRequest) Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.
- Parameters:
createCodeFindingRequest- Specifies the environment and the finding document to ingest.- Returns:
- A Java Future containing the result of the CreateCodeFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCodeFinding
default CompletableFuture<CreateCodeFindingResponse> createCodeFinding(Consumer<CreateCodeFindingRequest.Builder> createCodeFindingRequest) Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.
This is a convenience which creates an instance of the
CreateCodeFindingRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCodeScan
default CompletableFuture<CreateCodeScanResponse> createCodeScan(CreateCodeScanRequest createCodeScanRequest) Creates an explicit scan request for one environment. CP creates durable work before any queue delivery occurs.
Retrying a request that succeeded, with the same clientToken on the same environment, returns the original scan instead of starting another one. Token handling is not yet atomic: requests with the same token that run at the same time, or a retry after a request that failed partway through, can leave an additional scan, which may end in the FAILED state with a message that it was superseded. Deleting the environment makes its tokens unusable; a later request with one of them returns ResourceNotFoundException.
Each environment can have a limited number of scans in progress at the same time. Once that limit is enforced, a request that would exceed it returns ServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each scan's status), then retry.
- Parameters:
createCodeScanRequest-- Returns:
- A Java Future containing the result of the CreateCodeScan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCodeScan
default CompletableFuture<CreateCodeScanResponse> createCodeScan(Consumer<CreateCodeScanRequest.Builder> createCodeScanRequest) Creates an explicit scan request for one environment. CP creates durable work before any queue delivery occurs.
Retrying a request that succeeded, with the same clientToken on the same environment, returns the original scan instead of starting another one. Token handling is not yet atomic: requests with the same token that run at the same time, or a retry after a request that failed partway through, can leave an additional scan, which may end in the FAILED state with a message that it was superseded. Deleting the environment makes its tokens unusable; a later request with one of them returns ResourceNotFoundException.
Each environment can have a limited number of scans in progress at the same time. Once that limit is enforced, a request that would exceed it returns ServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each scan's status), then retry.
This is a convenience which creates an instance of the
CreateCodeScanRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCollector
default CompletableFuture<CreateCollectorResponse> createCollector(CreateCollectorRequest createCollectorRequest) Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.
- Parameters:
createCollectorRequest- Creates a Collector for the authenticated caller.- Returns:
- A Java Future containing the result of the CreateCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCollector
default CompletableFuture<CreateCollectorResponse> createCollector(Consumer<CreateCollectorRequest.Builder> createCollectorRequest) Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.
This is a convenience which creates an instance of the
CreateCollectorRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.
- Parameters:
createEnvironmentRequest- Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration. Pentest settings belong to configuration.pentestConfiguration.- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.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. Pentest settings belong to configuration.pentestConfiguration.- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a Continuum Integration. The ContinuumControlPlane adapter Lambda forwards the API Gateway event (customer identity + FAS) to HoFES, which executes this operation.
- Parameters:
createIntegrationRequest- Specifies the provider configuration and name for the new integration.- Returns:
- A Java Future containing the result of the CreateIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates a Continuum Integration. The ContinuumControlPlane adapter Lambda forwards the API Gateway event (customer identity + FAS) to HoFES, which executes this operation.
This is a convenience which creates an instance of the
CreateIntegrationRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPackageDecision
default CompletableFuture<CreatePackageDecisionResponse> createPackageDecision(CreatePackageDecisionRequest createPackageDecisionRequest) Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision. Call it before installing a package to learn whether to allow or deny it.
- Parameters:
createPackageDecisionRequest- Input forCreatePackageDecision.- Returns:
- A Java Future containing the result of the CreatePackageDecision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPackageDecision
default CompletableFuture<CreatePackageDecisionResponse> createPackageDecision(Consumer<CreatePackageDecisionRequest.Builder> createPackageDecisionRequest) Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision. Call it before installing a package to learn whether to allow or deny it.
This is a convenience which creates an instance of the
CreatePackageDecisionRequest.Builderavoiding the need to create one manually viaCreatePackageDecisionRequest.builder()- Parameters:
createPackageDecisionRequest- AConsumerthat will call methods onCreatePackageDecisionRequest.Builderto create a request. Input forCreatePackageDecision.- Returns:
- A Java Future containing the result of the CreatePackageDecision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSupplyChainPolicy
default CompletableFuture<CreateSupplyChainPolicyResponse> createSupplyChainPolicy(CreateSupplyChainPolicyRequest createSupplyChainPolicyRequest) Creates a Supply Chain policy in the calling account and Region. A policy holds up to five deny rules, which CreatePackageDecision evaluates for every package.
- Parameters:
createSupplyChainPolicyRequest- Input forCreateSupplyChainPolicy.- Returns:
- A Java Future containing the result of the CreateSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSupplyChainPolicy
default CompletableFuture<CreateSupplyChainPolicyResponse> createSupplyChainPolicy(Consumer<CreateSupplyChainPolicyRequest.Builder> createSupplyChainPolicyRequest) Creates a Supply Chain policy in the calling account and Region. A policy holds up to five deny rules, which CreatePackageDecision evaluates for every package.
This is a convenience which creates an instance of the
CreateSupplyChainPolicyRequest.Builderavoiding the need to create one manually viaCreateSupplyChainPolicyRequest.builder()- Parameters:
createSupplyChainPolicyRequest- AConsumerthat will call methods onCreateSupplyChainPolicyRequest.Builderto create a request. Input forCreateSupplyChainPolicy.- Returns:
- A Java Future containing the result of the CreateSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSupplyChainPolicyException
default CompletableFuture<CreateSupplyChainPolicyExceptionResponse> createSupplyChainPolicyException(CreateSupplyChainPolicyExceptionRequest createSupplyChainPolicyExceptionRequest) Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires. An exception never produces an allow decision on its own.
- Parameters:
createSupplyChainPolicyExceptionRequest- Input forCreateSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the CreateSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSupplyChainPolicyException
default CompletableFuture<CreateSupplyChainPolicyExceptionResponse> createSupplyChainPolicyException(Consumer<CreateSupplyChainPolicyExceptionRequest.Builder> createSupplyChainPolicyExceptionRequest) Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires. An exception never produces an allow decision on its own.
This is a convenience which creates an instance of the
CreateSupplyChainPolicyExceptionRequest.Builderavoiding the need to create one manually viaCreateSupplyChainPolicyExceptionRequest.builder()- Parameters:
createSupplyChainPolicyExceptionRequest- AConsumerthat will call methods onCreateSupplyChainPolicyExceptionRequest.Builderto create a request. Input forCreateSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the CreateSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCollector
default CompletableFuture<DeleteCollectorResponse> deleteCollector(DeleteCollectorRequest deleteCollectorRequest) Deletes the Collector for the caller's account. The Collector first enters PENDING_DELETION, then the service removes its schedule, AWS Config service-linked recorder, versioned S3 bucket, KMS key, and persisted record.
- Parameters:
deleteCollectorRequest- Specifies the Collector to delete.- Returns:
- A Java Future containing the result of the DeleteCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCollector
default CompletableFuture<DeleteCollectorResponse> deleteCollector(Consumer<DeleteCollectorRequest.Builder> deleteCollectorRequest) Deletes the Collector for the caller's account. The Collector first enters PENDING_DELETION, then the service removes its schedule, AWS Config service-linked recorder, versioned S3 bucket, KMS key, and persisted record.
This is a convenience which creates an instance of the
DeleteCollectorRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment and its associated resources.
- Parameters:
deleteEnvironmentRequest- Specifies the environment to delete.- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment and its associated resources.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegration
default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes a Continuum integration owned by the forwarded customer account.
- Parameters:
deleteIntegrationRequest- Specifies the integration to delete.- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegration
default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes a Continuum integration owned by the forwarded customer account.
This is a convenience which creates an instance of the
DeleteIntegrationRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSupplyChainPolicy
default CompletableFuture<DeleteSupplyChainPolicyResponse> deleteSupplyChainPolicy(DeleteSupplyChainPolicyRequest deleteSupplyChainPolicyRequest) Deletes a policy and every policy exception that references it.
- Parameters:
deleteSupplyChainPolicyRequest- Input forDeleteSupplyChainPolicy.- Returns:
- A Java Future containing the result of the DeleteSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSupplyChainPolicy
default CompletableFuture<DeleteSupplyChainPolicyResponse> deleteSupplyChainPolicy(Consumer<DeleteSupplyChainPolicyRequest.Builder> deleteSupplyChainPolicyRequest) Deletes a policy and every policy exception that references it.
This is a convenience which creates an instance of the
DeleteSupplyChainPolicyRequest.Builderavoiding the need to create one manually viaDeleteSupplyChainPolicyRequest.builder()- Parameters:
deleteSupplyChainPolicyRequest- AConsumerthat will call methods onDeleteSupplyChainPolicyRequest.Builderto create a request. Input forDeleteSupplyChainPolicy.- Returns:
- A Java Future containing the result of the DeleteSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSupplyChainPolicyException
default CompletableFuture<DeleteSupplyChainPolicyExceptionResponse> deleteSupplyChainPolicyException(DeleteSupplyChainPolicyExceptionRequest deleteSupplyChainPolicyExceptionRequest) Deletes a policy exception. Subsequent decisions no longer consider this exception.
- Parameters:
deleteSupplyChainPolicyExceptionRequest- Input forDeleteSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the DeleteSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSupplyChainPolicyException
default CompletableFuture<DeleteSupplyChainPolicyExceptionResponse> deleteSupplyChainPolicyException(Consumer<DeleteSupplyChainPolicyExceptionRequest.Builder> deleteSupplyChainPolicyExceptionRequest) Deletes a policy exception. Subsequent decisions no longer consider this exception.
This is a convenience which creates an instance of the
DeleteSupplyChainPolicyExceptionRequest.Builderavoiding the need to create one manually viaDeleteSupplyChainPolicyExceptionRequest.builder()- Parameters:
deleteSupplyChainPolicyExceptionRequest- AConsumerthat will call methods onDeleteSupplyChainPolicyExceptionRequest.Builderto create a request. Input forDeleteSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the DeleteSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateCollector
default CompletableFuture<DisassociateCollectorResponse> disassociateCollector(DisassociateCollectorRequest disassociateCollectorRequest) Removes one Collector association from this Environment, preserving its other associations. The stored Collector data-access role is cleared when no Collector associations remain. The Environment owner must have permission to disassociate. A current Collector access grant is not required, and the Collector does not need to remain active or present, so stale or revoked associations can be cleaned up.
- Parameters:
disassociateCollectorRequest- Specifies the Collector to disassociate from this Environment.- Returns:
- A Java Future containing the result of the DisassociateCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateCollector
default CompletableFuture<DisassociateCollectorResponse> disassociateCollector(Consumer<DisassociateCollectorRequest.Builder> disassociateCollectorRequest) Removes one Collector association from this Environment, preserving its other associations. The stored Collector data-access role is cleared when no Collector associations remain. The Environment owner must have permission to disassociate. A current Collector access grant is not required, and the Collector does not need to remain active or present, so stale or revoked associations can be cleaned up.
This is a convenience which creates an instance of the
DisassociateCollectorRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeFinding
default CompletableFuture<GetCodeFindingResponse> getCodeFinding(GetCodeFindingRequest getCodeFindingRequest) Retrieves the current state and details of a finding.
- Parameters:
getCodeFindingRequest- Specifies the finding to retrieve.- Returns:
- A Java Future containing the result of the GetCodeFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeFinding
default CompletableFuture<GetCodeFindingResponse> getCodeFinding(Consumer<GetCodeFindingRequest.Builder> getCodeFindingRequest) Retrieves the current state and details of a finding.
This is a convenience which creates an instance of the
GetCodeFindingRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeIssue
default CompletableFuture<GetCodeIssueResponse> getCodeIssue(GetCodeIssueRequest getCodeIssueRequest) Retrieves the current state and details of an issue.
- Parameters:
getCodeIssueRequest- Specifies the issue to retrieve.- Returns:
- A Java Future containing the result of the GetCodeIssue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeIssue
default CompletableFuture<GetCodeIssueResponse> getCodeIssue(Consumer<GetCodeIssueRequest.Builder> getCodeIssueRequest) Retrieves the current state and details of an issue.
This is a convenience which creates an instance of the
GetCodeIssueRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeIssueArtifact
default CompletableFuture<GetCodeIssueArtifactResponse> getCodeIssueArtifact(GetCodeIssueArtifactRequest getCodeIssueArtifactRequest) Retrieves one immutable artifact attached to an issue, including its content.
- Parameters:
getCodeIssueArtifactRequest- Specifies the artifact to retrieve.- Returns:
- A Java Future containing the result of the GetCodeIssueArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeIssueArtifact
default CompletableFuture<GetCodeIssueArtifactResponse> getCodeIssueArtifact(Consumer<GetCodeIssueArtifactRequest.Builder> getCodeIssueArtifactRequest) Retrieves one immutable artifact attached to an issue, including its content.
This is a convenience which creates an instance of the
GetCodeIssueArtifactRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeScan
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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeScan
default CompletableFuture<GetCodeScanResponse> getCodeScan(Consumer<GetCodeScanRequest.Builder> getCodeScanRequest) Retrieves one customer-visible environment scan.
This is a convenience which creates an instance of the
GetCodeScanRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCollector
default CompletableFuture<GetCollectorResponse> getCollector(GetCollectorRequest getCollectorRequest) Retrieves the current state of the Collector for the caller's account.
- Parameters:
getCollectorRequest- Specifies the Collector to retrieve.- Returns:
- A Java Future containing the result of the GetCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCollector
default CompletableFuture<GetCollectorResponse> getCollector(Consumer<GetCollectorRequest.Builder> getCollectorRequest) Retrieves the current state of the Collector for the caller's account.
This is a convenience which creates an instance of the
GetCollectorRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCollectorDataAccessAuthorization
default CompletableFuture<GetCollectorDataAccessAuthorizationResponse> getCollectorDataAccessAuthorization(GetCollectorDataAccessAuthorizationRequest getCollectorDataAccessAuthorizationRequest) Authorizes an Environment's access to a Collector's data. Continuum calls this operation with the Environment's Collector data-access role before it reads the Collector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to that role and, for a Collector in another account, in the Collector's resource policy. The operation evaluates the action against the exact Collector ARN and the Collector's current resource policy using IAM and the caller's authenticated request context, with environmentArn as the continuum:EnvironmentArn condition key. A successful request returns HTTP 200 with no response members. If access is not granted, the operation returns AccessDeniedException without disclosing Collector existence, ownership, or the policy layer that denied access. The service does not reinterpret the policy using only an account ID.
- Parameters:
getCollectorDataAccessAuthorizationRequest- Identifies the Collector whose inventory is requested.- Returns:
- A Java Future containing the result of the GetCollectorDataAccessAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCollectorDataAccessAuthorization
default CompletableFuture<GetCollectorDataAccessAuthorizationResponse> getCollectorDataAccessAuthorization(Consumer<GetCollectorDataAccessAuthorizationRequest.Builder> getCollectorDataAccessAuthorizationRequest) Authorizes an Environment's access to a Collector's data. Continuum calls this operation with the Environment's Collector data-access role before it reads the Collector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to that role and, for a Collector in another account, in the Collector's resource policy. The operation evaluates the action against the exact Collector ARN and the Collector's current resource policy using IAM and the caller's authenticated request context, with environmentArn as the continuum:EnvironmentArn condition key. A successful request returns HTTP 200 with no response members. If access is not granted, the operation returns AccessDeniedException without disclosing Collector existence, ownership, or the policy layer that denied access. The service does not reinterpret the policy using only an account ID.
This is a convenience which creates an instance of the
GetCollectorDataAccessAuthorizationRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves the current state and configuration of an environment.
- Parameters:
getEnvironmentRequest- Specifies the environment to retrieve.- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves the current state and configuration of an environment.
This is a convenience which creates an instance of the
GetEnvironmentRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegration
default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Reads a Continuum integration owned by the forwarded customer account.
- Parameters:
getIntegrationRequest- Specifies the integration to retrieve.- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegration
default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Reads a Continuum integration owned by the forwarded customer account.
This is a convenience which creates an instance of the
GetIntegrationRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPackageDecision
default CompletableFuture<GetPackageDecisionResponse> getPackageDecision(GetPackageDecisionRequest getPackageDecisionRequest) Returns one package decision owned by the calling account. Never re-evaluates. Use ListDecisionEvidence to read the evidence recorded for the decision.
- Parameters:
getPackageDecisionRequest- Input forGetPackageDecision.- Returns:
- A Java Future containing the result of the GetPackageDecision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPackageDecision
default CompletableFuture<GetPackageDecisionResponse> getPackageDecision(Consumer<GetPackageDecisionRequest.Builder> getPackageDecisionRequest) Returns one package decision owned by the calling account. Never re-evaluates. Use ListDecisionEvidence to read the evidence recorded for the decision.
This is a convenience which creates an instance of the
GetPackageDecisionRequest.Builderavoiding the need to create one manually viaGetPackageDecisionRequest.builder()- Parameters:
getPackageDecisionRequest- AConsumerthat will call methods onGetPackageDecisionRequest.Builderto create a request. Input forGetPackageDecision.- Returns:
- A Java Future containing the result of the GetPackageDecision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource policy attached to a Continuum resource.
- Parameters:
getResourcePolicyRequest- Specifies the resource.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource policy attached to a Continuum resource.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupplyChainManagedPolicy
default CompletableFuture<GetSupplyChainManagedPolicyResponse> getSupplyChainManagedPolicy(GetSupplyChainManagedPolicyRequest getSupplyChainManagedPolicyRequest) Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline. You can read a service-managed policy and create policy exceptions for it, but you can't change or delete it.
- Parameters:
getSupplyChainManagedPolicyRequest- Input forGetSupplyChainManagedPolicy.- Returns:
- A Java Future containing the result of the GetSupplyChainManagedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupplyChainManagedPolicy
default CompletableFuture<GetSupplyChainManagedPolicyResponse> getSupplyChainManagedPolicy(Consumer<GetSupplyChainManagedPolicyRequest.Builder> getSupplyChainManagedPolicyRequest) Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline. You can read a service-managed policy and create policy exceptions for it, but you can't change or delete it.
This is a convenience which creates an instance of the
GetSupplyChainManagedPolicyRequest.Builderavoiding the need to create one manually viaGetSupplyChainManagedPolicyRequest.builder()- Parameters:
getSupplyChainManagedPolicyRequest- AConsumerthat will call methods onGetSupplyChainManagedPolicyRequest.Builderto create a request. Input forGetSupplyChainManagedPolicy.- Returns:
- A Java Future containing the result of the GetSupplyChainManagedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupplyChainPolicy
default CompletableFuture<GetSupplyChainPolicyResponse> getSupplyChainPolicy(GetSupplyChainPolicyRequest getSupplyChainPolicyRequest) Returns one policy owned by the calling account. The path identifier is the opaque ID returned by CreateSupplyChainPolicy.
- Parameters:
getSupplyChainPolicyRequest- Input forGetSupplyChainPolicy.- Returns:
- A Java Future containing the result of the GetSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupplyChainPolicy
default CompletableFuture<GetSupplyChainPolicyResponse> getSupplyChainPolicy(Consumer<GetSupplyChainPolicyRequest.Builder> getSupplyChainPolicyRequest) Returns one policy owned by the calling account. The path identifier is the opaque ID returned by CreateSupplyChainPolicy.
This is a convenience which creates an instance of the
GetSupplyChainPolicyRequest.Builderavoiding the need to create one manually viaGetSupplyChainPolicyRequest.builder()- Parameters:
getSupplyChainPolicyRequest- AConsumerthat will call methods onGetSupplyChainPolicyRequest.Builderto create a request. Input forGetSupplyChainPolicy.- Returns:
- A Java Future containing the result of the GetSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupplyChainPolicyException
default CompletableFuture<GetSupplyChainPolicyExceptionResponse> getSupplyChainPolicyException(GetSupplyChainPolicyExceptionRequest getSupplyChainPolicyExceptionRequest) Returns one policy exception owned by the calling account, with its status computed from expiresAt. The path identifier is the opaque ID returned by CreateSupplyChainPolicyException.
- Parameters:
getSupplyChainPolicyExceptionRequest- Input forGetSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the GetSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSupplyChainPolicyException
default CompletableFuture<GetSupplyChainPolicyExceptionResponse> getSupplyChainPolicyException(Consumer<GetSupplyChainPolicyExceptionRequest.Builder> getSupplyChainPolicyExceptionRequest) Returns one policy exception owned by the calling account, with its status computed from expiresAt. The path identifier is the opaque ID returned by CreateSupplyChainPolicyException.
This is a convenience which creates an instance of the
GetSupplyChainPolicyExceptionRequest.Builderavoiding the need to create one manually viaGetSupplyChainPolicyExceptionRequest.builder()- Parameters:
getSupplyChainPolicyExceptionRequest- AConsumerthat will call methods onGetSupplyChainPolicyExceptionRequest.Builderto create a request. Input forGetSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the GetSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVulnerability
default CompletableFuture<GetVulnerabilityResponse> getVulnerability(GetVulnerabilityRequest getVulnerabilityRequest) Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.
- Parameters:
getVulnerabilityRequest- Input forGetVulnerability.- Returns:
- A Java Future containing the result of the GetVulnerability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVulnerability
default CompletableFuture<GetVulnerabilityResponse> getVulnerability(Consumer<GetVulnerabilityRequest.Builder> getVulnerabilityRequest) Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.
This is a convenience which creates an instance of the
GetVulnerabilityRequest.Builderavoiding the need to create one manually viaGetVulnerabilityRequest.builder()- Parameters:
getVulnerabilityRequest- AConsumerthat will call methods onGetVulnerabilityRequest.Builderto create a request. Input forGetVulnerability.- Returns:
- A Java Future containing the result of the GetVulnerability operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedCollectors
default CompletableFuture<ListAssociatedCollectorsResponse> listAssociatedCollectors(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.
- Parameters:
listAssociatedCollectorsRequest- Specifies the Environment whose Collector associations to list.- Returns:
- A Java Future containing the result of the ListAssociatedCollectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedCollectors
default CompletableFuture<ListAssociatedCollectorsResponse> listAssociatedCollectors(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.
This is a convenience which creates an instance of the
ListAssociatedCollectorsRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedCollectorsPaginator
default ListAssociatedCollectorsPublisher listAssociatedCollectorsPaginator(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) This is a variant of
listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedCollectorsPaginator
default ListAssociatedCollectorsPublisher listAssociatedCollectorsPaginator(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) This is a variant of
listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedEnvironments
default CompletableFuture<ListAssociatedEnvironmentsResponse> listAssociatedEnvironments(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest) Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.
- Parameters:
listAssociatedEnvironmentsRequest- Specifies the Collector whose Environment associations to list.- Returns:
- A Java Future containing the result of the ListAssociatedEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedEnvironments
default CompletableFuture<ListAssociatedEnvironmentsResponse> listAssociatedEnvironments(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest) Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.
This is a convenience which creates an instance of the
ListAssociatedEnvironmentsRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedEnvironmentsPaginator
default ListAssociatedEnvironmentsPublisher listAssociatedEnvironmentsPaginator(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest) This is a variant of
listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedEnvironmentsPaginator
default ListAssociatedEnvironmentsPublisher listAssociatedEnvironmentsPaginator(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest) This is a variant of
listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeFindings
default CompletableFuture<ListCodeFindingsResponse> listCodeFindings(ListCodeFindingsRequest listCodeFindingsRequest) Lists the findings in an environment in descending findingId order.
- Parameters:
listCodeFindingsRequest- Specifies the environment and pagination parameters for listing findings.- Returns:
- A Java Future containing the result of the ListCodeFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeFindings
default CompletableFuture<ListCodeFindingsResponse> listCodeFindings(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) Lists the findings in an environment in descending findingId order.
This is a convenience which creates an instance of the
ListCodeFindingsRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeFindingsPaginator
default ListCodeFindingsPublisher listCodeFindingsPaginator(ListCodeFindingsRequest listCodeFindingsRequest) This is a variant of
listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeFindingsPaginator
default ListCodeFindingsPublisher listCodeFindingsPaginator(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) This is a variant of
listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssueArtifacts
default CompletableFuture<ListCodeIssueArtifactsResponse> listCodeIssueArtifacts(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.
- Parameters:
listCodeIssueArtifactsRequest- Specifies the issue, optional filter, and pagination parameters for listing artifacts.- Returns:
- A Java Future containing the result of the ListCodeIssueArtifacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssueArtifacts
default CompletableFuture<ListCodeIssueArtifactsResponse> listCodeIssueArtifacts(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.
This is a convenience which creates an instance of the
ListCodeIssueArtifactsRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssueArtifactsPaginator
default ListCodeIssueArtifactsPublisher listCodeIssueArtifactsPaginator(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) This is a variant of
listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssueArtifactsPaginator
default ListCodeIssueArtifactsPublisher listCodeIssueArtifactsPaginator(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) This is a variant of
listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssues
default CompletableFuture<ListCodeIssuesResponse> listCodeIssues(ListCodeIssuesRequest listCodeIssuesRequest) Lists the issues in an environment in descending issueId order.
- Parameters:
listCodeIssuesRequest- Specifies the environment and pagination parameters for listing issues.- Returns:
- A Java Future containing the result of the ListCodeIssues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssues
default CompletableFuture<ListCodeIssuesResponse> listCodeIssues(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) Lists the issues in an environment in descending issueId order.
This is a convenience which creates an instance of the
ListCodeIssuesRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssuesPaginator
default ListCodeIssuesPublisher listCodeIssuesPaginator(ListCodeIssuesRequest listCodeIssuesRequest) This is a variant of
listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeIssuesPaginator
default ListCodeIssuesPublisher listCodeIssuesPaginator(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) This is a variant of
listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeScans
default CompletableFuture<ListCodeScansResponse> listCodeScans(ListCodeScansRequest listCodeScansRequest) Lists customer-visible scans for one environment in descending scanRunId order.
- Parameters:
listCodeScansRequest-- Returns:
- A Java Future containing the result of the ListCodeScans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeScans
default CompletableFuture<ListCodeScansResponse> listCodeScans(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) Lists customer-visible scans for one environment in descending scanRunId order.
This is a convenience which creates an instance of the
ListCodeScansRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeScansPaginator
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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeScansPaginator
default ListCodeScansPublisher listCodeScansPaginator(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) This is a variant of
listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCollectors
default CompletableFuture<ListCollectorsResponse> listCollectors(ListCollectorsRequest listCollectorsRequest) Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.
- Parameters:
listCollectorsRequest- Specifies no request parameters. The target account is derived exclusively from the authenticated calling context.- Returns:
- A Java Future containing the result of the ListCollectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCollectors
default CompletableFuture<ListCollectorsResponse> listCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.
This is a convenience which creates an instance of the
ListCollectorsRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDecisionEvidence
default CompletableFuture<ListDecisionEvidenceResponse> listDecisionEvidence(ListDecisionEvidenceRequest listDecisionEvidenceRequest) Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package. Never re-evaluates.
- Parameters:
listDecisionEvidenceRequest- Input forListDecisionEvidence.- Returns:
- A Java Future containing the result of the ListDecisionEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDecisionEvidence
default CompletableFuture<ListDecisionEvidenceResponse> listDecisionEvidence(Consumer<ListDecisionEvidenceRequest.Builder> listDecisionEvidenceRequest) Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package. Never re-evaluates.
This is a convenience which creates an instance of the
ListDecisionEvidenceRequest.Builderavoiding the need to create one manually viaListDecisionEvidenceRequest.builder()- Parameters:
listDecisionEvidenceRequest- AConsumerthat will call methods onListDecisionEvidenceRequest.Builderto create a request. Input forListDecisionEvidence.- Returns:
- A Java Future containing the result of the ListDecisionEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDecisionEvidencePaginator
default ListDecisionEvidencePublisher listDecisionEvidencePaginator(ListDecisionEvidenceRequest listDecisionEvidenceRequest) This is a variant of
listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(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.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest)operation.- Parameters:
listDecisionEvidenceRequest- Input forListDecisionEvidence.- 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDecisionEvidencePaginator
default ListDecisionEvidencePublisher listDecisionEvidencePaginator(Consumer<ListDecisionEvidenceRequest.Builder> listDecisionEvidenceRequest) This is a variant of
listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(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.ListDecisionEvidencePublisher publisher = client.listDecisionEvidencePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDecisionEvidence(software.amazon.awssdk.services.continuum.model.ListDecisionEvidenceRequest)operation.
This is a convenience which creates an instance of the
ListDecisionEvidenceRequest.Builderavoiding the need to create one manually viaListDecisionEvidenceRequest.builder()- Parameters:
listDecisionEvidenceRequest- AConsumerthat will call methods onListDecisionEvidenceRequest.Builderto create a request. Input forListDecisionEvidence.- 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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.
- Parameters:
listEnvironmentsRequest- Specifies pagination parameters for listing environments.Response-filtering justification: filtering is intentionally omitted because every current consumer needs the canonical complete, account-scoped environment inventory, and no useful selective server-side query use case is defined. Environment ID already has the GetEnvironment lookup operation, and status, name, or timestamp filtering is not needed by any current workflow. Adding speculative filters would require unsupported access patterns and ambiguous semantics without reducing data returned for existing consumers. If a concrete indexed query use case is introduced later, its filter values must be bound to pagination tokens so a token cannot be replayed against a different query. The formal API standards decision is recorded in the package-root BR_EXCEPTIONS.md file.
- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrations
default CompletableFuture<ListIntegrationsResponse> listIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists Continuum integrations owned by the forwarded customer account.
- Parameters:
listIntegrationsRequest- Specifies pagination parameters for listing integrations.- Returns:
- A Java Future containing the result of the ListIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrations
default CompletableFuture<ListIntegrationsResponse> listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) Lists Continuum integrations owned by the forwarded customer account.
This is a convenience which creates an instance of the
ListIntegrationsRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsPublisher listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) This is a variant of
listIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsPublisher listIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) This is a variant of
listIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPackageDecisions
default CompletableFuture<ListPackageDecisionsResponse> listPackageDecisions(ListPackageDecisionsRequest listPackageDecisionsRequest) Lists the package decisions made for the calling account, newest first by completedAt. Decisions are retained for 45 days.
- Parameters:
listPackageDecisionsRequest- Input forListPackageDecisions.- Returns:
- A Java Future containing the result of the ListPackageDecisions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPackageDecisions
default CompletableFuture<ListPackageDecisionsResponse> listPackageDecisions(Consumer<ListPackageDecisionsRequest.Builder> listPackageDecisionsRequest) Lists the package decisions made for the calling account, newest first by completedAt. Decisions are retained for 45 days.
This is a convenience which creates an instance of the
ListPackageDecisionsRequest.Builderavoiding the need to create one manually viaListPackageDecisionsRequest.builder()- Parameters:
listPackageDecisionsRequest- AConsumerthat will call methods onListPackageDecisionsRequest.Builderto create a request. Input forListPackageDecisions.- Returns:
- A Java Future containing the result of the ListPackageDecisions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPackageDecisionsPaginator
default ListPackageDecisionsPublisher listPackageDecisionsPaginator(ListPackageDecisionsRequest listPackageDecisionsRequest) This is a variant of
listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(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.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest)operation.- Parameters:
listPackageDecisionsRequest- Input forListPackageDecisions.- 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPackageDecisionsPaginator
default ListPackageDecisionsPublisher listPackageDecisionsPaginator(Consumer<ListPackageDecisionsRequest.Builder> listPackageDecisionsRequest) This is a variant of
listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(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.ListPackageDecisionsPublisher publisher = client.listPackageDecisionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackageDecisions(software.amazon.awssdk.services.continuum.model.ListPackageDecisionsRequest)operation.
This is a convenience which creates an instance of the
ListPackageDecisionsRequest.Builderavoiding the need to create one manually viaListPackageDecisionsRequest.builder()- Parameters:
listPackageDecisionsRequest- AConsumerthat will call methods onListPackageDecisionsRequest.Builderto create a request. Input forListPackageDecisions.- 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPolicies
default CompletableFuture<ListSupplyChainPoliciesResponse> listSupplyChainPolicies(ListSupplyChainPoliciesRequest listSupplyChainPoliciesRequest) Lists customer-managed and service-managed policies visible to the calling account in the current Region.
- Parameters:
listSupplyChainPoliciesRequest- Input forListSupplyChainPolicies.- Returns:
- A Java Future containing the result of the ListSupplyChainPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPolicies
default CompletableFuture<ListSupplyChainPoliciesResponse> listSupplyChainPolicies(Consumer<ListSupplyChainPoliciesRequest.Builder> listSupplyChainPoliciesRequest) Lists customer-managed and service-managed policies visible to the calling account in the current Region.
This is a convenience which creates an instance of the
ListSupplyChainPoliciesRequest.Builderavoiding the need to create one manually viaListSupplyChainPoliciesRequest.builder()- Parameters:
listSupplyChainPoliciesRequest- AConsumerthat will call methods onListSupplyChainPoliciesRequest.Builderto create a request. Input forListSupplyChainPolicies.- Returns:
- A Java Future containing the result of the ListSupplyChainPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPoliciesPaginator
default ListSupplyChainPoliciesPublisher listSupplyChainPoliciesPaginator(ListSupplyChainPoliciesRequest listSupplyChainPoliciesRequest) This is a variant of
listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(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.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest)operation.- Parameters:
listSupplyChainPoliciesRequest- Input forListSupplyChainPolicies.- 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPoliciesPaginator
default ListSupplyChainPoliciesPublisher listSupplyChainPoliciesPaginator(Consumer<ListSupplyChainPoliciesRequest.Builder> listSupplyChainPoliciesRequest) This is a variant of
listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(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.ListSupplyChainPoliciesPublisher publisher = client.listSupplyChainPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupplyChainPolicies(software.amazon.awssdk.services.continuum.model.ListSupplyChainPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListSupplyChainPoliciesRequest.Builderavoiding the need to create one manually viaListSupplyChainPoliciesRequest.builder()- Parameters:
listSupplyChainPoliciesRequest- AConsumerthat will call methods onListSupplyChainPoliciesRequest.Builderto create a request. Input forListSupplyChainPolicies.- 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPolicyExceptions
default CompletableFuture<ListSupplyChainPolicyExceptionsResponse> listSupplyChainPolicyExceptions(ListSupplyChainPolicyExceptionsRequest listSupplyChainPolicyExceptionsRequest) Lists policy exceptions owned by the calling account in the current Region.
- Parameters:
listSupplyChainPolicyExceptionsRequest- Input forListSupplyChainPolicyExceptions.- Returns:
- A Java Future containing the result of the ListSupplyChainPolicyExceptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPolicyExceptions
default CompletableFuture<ListSupplyChainPolicyExceptionsResponse> listSupplyChainPolicyExceptions(Consumer<ListSupplyChainPolicyExceptionsRequest.Builder> listSupplyChainPolicyExceptionsRequest) Lists policy exceptions owned by the calling account in the current Region.
This is a convenience which creates an instance of the
ListSupplyChainPolicyExceptionsRequest.Builderavoiding the need to create one manually viaListSupplyChainPolicyExceptionsRequest.builder()- Parameters:
listSupplyChainPolicyExceptionsRequest- AConsumerthat will call methods onListSupplyChainPolicyExceptionsRequest.Builderto create a request. Input forListSupplyChainPolicyExceptions.- Returns:
- A Java Future containing the result of the ListSupplyChainPolicyExceptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPolicyExceptionsPaginator
default ListSupplyChainPolicyExceptionsPublisher listSupplyChainPolicyExceptionsPaginator(ListSupplyChainPolicyExceptionsRequest listSupplyChainPolicyExceptionsRequest) This is a variant of
listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(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.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest)operation.- Parameters:
listSupplyChainPolicyExceptionsRequest- Input forListSupplyChainPolicyExceptions.- 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupplyChainPolicyExceptionsPaginator
default ListSupplyChainPolicyExceptionsPublisher listSupplyChainPolicyExceptionsPaginator(Consumer<ListSupplyChainPolicyExceptionsRequest.Builder> listSupplyChainPolicyExceptionsRequest) This is a variant of
listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a 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.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(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.ListSupplyChainPolicyExceptionsPublisher publisher = client.listSupplyChainPolicyExceptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupplyChainPolicyExceptions(software.amazon.awssdk.services.continuum.model.ListSupplyChainPolicyExceptionsRequest)operation.
This is a convenience which creates an instance of the
ListSupplyChainPolicyExceptionsRequest.Builderavoiding the need to create one manually viaListSupplyChainPolicyExceptionsRequest.builder()- Parameters:
listSupplyChainPolicyExceptionsRequest- AConsumerthat will call methods onListSupplyChainPolicyExceptionsRequest.Builderto create a request. Input forListSupplyChainPolicyExceptions.- 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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags on a Continuum resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags on a Continuum resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Creates or replaces the resource policy attached to a Continuum resource.
- Parameters:
putResourcePolicyRequest- Specifies the resource and its new policy.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or replaces the resource policy attached to a Continuum resource.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startIntegrationAuthorization
default CompletableFuture<StartIntegrationAuthorizationResponse> startIntegrationAuthorization(StartIntegrationAuthorizationRequest startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new Continuum integration. Returns a server-stored OAuth
statenonce and the PKCE code challenge for the matching code verifier HoFES retains. The caller sends the state and code challenge to the provider's authorize endpoint; CreateIntegration redeems the authorization code with the matching state.- Parameters:
startIntegrationAuthorizationRequest- Specifies the provider to authorize and, optionally, the name the new integration will use.- Returns:
- A Java Future containing the result of the StartIntegrationAuthorization operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startIntegrationAuthorization
default CompletableFuture<StartIntegrationAuthorizationResponse> startIntegrationAuthorization(Consumer<StartIntegrationAuthorizationRequest.Builder> startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new Continuum integration. Returns a server-stored OAuth
statenonce and the PKCE code challenge for the matching code verifier HoFES retains. The caller sends the state and code challenge to the provider's authorize endpoint; CreateIntegration redeems the authorization code with the matching state.
This is a convenience which creates an instance of the
StartIntegrationAuthorizationRequest.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.- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds tags to a Continuum resource, or changes the values of tags that it already has. Tags that the request doesn't name stay as they are.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a Continuum resource, or changes the values of tags that it already has. Tags that the request doesn't name stay as they are.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Continuum resource. A key that the resource doesn't have is ignored.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Continuum resource. A key that the resource doesn't have is ignored.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCollector
default CompletableFuture<UpdateCollectorResponse> updateCollector(UpdateCollectorRequest updateCollectorRequest) Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.
- Parameters:
updateCollectorRequest- Specifies the mutable Collector properties. At least one property must be supplied. k8ClusterRole models an atomic set-or-remove mutation, so roleArn and externalId are replaced or removed together.- Returns:
- A Java Future containing the result of the UpdateCollector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCollector
default CompletableFuture<UpdateCollectorResponse> updateCollector(Consumer<UpdateCollectorRequest.Builder> updateCollectorRequest) Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.
This is a convenience which creates an instance of the
UpdateCollectorRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, its patch creation policy, its focus mode, and its pentest configuration can be changed.
- Parameters:
updateEnvironmentRequest- Specifies the mutable environment properties. Supply a name, a change under configuration.codeConfiguration, or configuration.pentestConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network, patchCreationPolicy and focusMode replace the corresponding policies. A focusMode change applies only to findings created after it; findings created before it are unaffected.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, its patch creation policy, its focus mode, and its pentest configuration can be changed.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.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, a change under configuration.codeConfiguration, or configuration.pentestConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network, patchCreationPolicy and focusMode replace the corresponding policies. A focusMode change applies only to findings created after it; findings created before it are unaffected.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIntegration
default CompletableFuture<UpdateIntegrationResponse> updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Updates a Continuum integration. Only S3 integrations can be updated today; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.
- Parameters:
updateIntegrationRequest- Specifies the S3 integration and the credentials to validate and save.- Returns:
- A Java Future containing the result of the UpdateIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIntegration
default CompletableFuture<UpdateIntegrationResponse> updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) Updates a Continuum integration. Only S3 integrations can be updated today; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.
This is a convenience which creates an instance of the
UpdateIntegrationRequest.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.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSupplyChainPolicy
default CompletableFuture<UpdateSupplyChainPolicyResponse> updateSupplyChainPolicy(UpdateSupplyChainPolicyRequest updateSupplyChainPolicyRequest) Updates an existing policy. You can change the description, add rules, and change rules that have no active policy exception. The name can't be changed, existing rules can't be removed, and rules with an active policy exception can't be changed until the exception expires or is deleted. The policy's ID, ARN, and tags don't change.
- Parameters:
updateSupplyChainPolicyRequest- Input forUpdateSupplyChainPolicy.- Returns:
- A Java Future containing the result of the UpdateSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSupplyChainPolicy
default CompletableFuture<UpdateSupplyChainPolicyResponse> updateSupplyChainPolicy(Consumer<UpdateSupplyChainPolicyRequest.Builder> updateSupplyChainPolicyRequest) Updates an existing policy. You can change the description, add rules, and change rules that have no active policy exception. The name can't be changed, existing rules can't be removed, and rules with an active policy exception can't be changed until the exception expires or is deleted. The policy's ID, ARN, and tags don't change.
This is a convenience which creates an instance of the
UpdateSupplyChainPolicyRequest.Builderavoiding the need to create one manually viaUpdateSupplyChainPolicyRequest.builder()- Parameters:
updateSupplyChainPolicyRequest- AConsumerthat will call methods onUpdateSupplyChainPolicyRequest.Builderto create a request. Input forUpdateSupplyChainPolicy.- Returns:
- A Java Future containing the result of the UpdateSupplyChainPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSupplyChainPolicyException
default CompletableFuture<UpdateSupplyChainPolicyExceptionResponse> updateSupplyChainPolicyException(UpdateSupplyChainPolicyExceptionRequest updateSupplyChainPolicyExceptionRequest) Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time. The name and the referenced policy can't be changed, and an expired exception can't be updated. The exception's ID, ARN, and tags don't change.
- Parameters:
updateSupplyChainPolicyExceptionRequest- Input forUpdateSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the UpdateSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSupplyChainPolicyException
default CompletableFuture<UpdateSupplyChainPolicyExceptionResponse> updateSupplyChainPolicyException(Consumer<UpdateSupplyChainPolicyExceptionRequest.Builder> updateSupplyChainPolicyExceptionRequest) Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time. The name and the referenced policy can't be changed, and an expired exception can't be updated. The exception's ID, ARN, and tags don't change.
This is a convenience which creates an instance of the
UpdateSupplyChainPolicyExceptionRequest.Builderavoiding the need to create one manually viaUpdateSupplyChainPolicyExceptionRequest.builder()- Parameters:
updateSupplyChainPolicyExceptionRequest- AConsumerthat will call methods onUpdateSupplyChainPolicyExceptionRequest.Builderto create a request. Input forUpdateSupplyChainPolicyException.- Returns:
- A Java Future containing the result of the UpdateSupplyChainPolicyException operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource you requested doesn't exist. Check the identifier and try again.
- InternalServerException An unexpected error occurred on the server. Try the request again.
- AccessDeniedException You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The request isn't valid. Check the request parameters and try again.
- ConflictException The request conflicts with the current state of the resource. Check the state of the resource and try again.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ContinuumException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
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.
-