Interface ContinuumClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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 TypeMethodDescriptiondefault AssociateCollectorResponseassociateCollector(Consumer<AssociateCollectorRequest.Builder> associateCollectorRequest) Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data.default AssociateCollectorResponseassociateCollector(AssociateCollectorRequest associateCollectorRequest) Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data.static ContinuumClientBuilderbuilder()Create a builder that can be used to configure and create aContinuumClient.static ContinuumClientcreate()Create aContinuumClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateCodeFindingResponsecreateCodeFinding(Consumer<CreateCodeFindingRequest.Builder> createCodeFindingRequest) Ingests a customer-supplied security finding into an environment.default CreateCodeFindingResponsecreateCodeFinding(CreateCodeFindingRequest createCodeFindingRequest) Ingests a customer-supplied security finding into an environment.default CreateCodeScanResponsecreateCodeScan(Consumer<CreateCodeScanRequest.Builder> createCodeScanRequest) Creates an explicit scan request for one environment.default CreateCodeScanResponsecreateCodeScan(CreateCodeScanRequest createCodeScanRequest) Creates an explicit scan request for one environment.default CreateCollectorResponsecreateCollector(Consumer<CreateCollectorRequest.Builder> createCollectorRequest) Creates the Collector for the caller's account.default CreateCollectorResponsecreateCollector(CreateCollectorRequest createCollectorRequest) Creates the Collector for the caller's account.default CreateEnvironmentResponsecreateEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates an environment and starts its validation and any requested provisioning.default CreateEnvironmentResponsecreateEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates an environment and starts its validation and any requested provisioning.default CreateIntegrationResponsecreateIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates a new integration with an external source provider.default CreateIntegrationResponsecreateIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a new integration with an external source provider.default DeleteCollectorResponsedeleteCollector(Consumer<DeleteCollectorRequest.Builder> deleteCollectorRequest) Deletes the Collector for the caller's account.default DeleteCollectorResponsedeleteCollector(DeleteCollectorRequest deleteCollectorRequest) Deletes the Collector for the caller's account.default DeleteEnvironmentResponsedeleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment and its associated resources.default DeleteEnvironmentResponsedeleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment and its associated resources.default DeleteIntegrationResponsedeleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an integration and releases its name and account quota.default DeleteIntegrationResponsedeleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an integration and releases its name and account quota.default DisassociateCollectorResponsedisassociateCollector(Consumer<DisassociateCollectorRequest.Builder> disassociateCollectorRequest) Removes one Collector association from this Environment, preserving its other associations.default DisassociateCollectorResponsedisassociateCollector(DisassociateCollectorRequest disassociateCollectorRequest) Removes one Collector association from this Environment, preserving its other associations.default GetCodeFindingResponsegetCodeFinding(Consumer<GetCodeFindingRequest.Builder> getCodeFindingRequest) Retrieves the current state and details of a finding.default GetCodeFindingResponsegetCodeFinding(GetCodeFindingRequest getCodeFindingRequest) Retrieves the current state and details of a finding.default GetCodeIssueResponsegetCodeIssue(Consumer<GetCodeIssueRequest.Builder> getCodeIssueRequest) Retrieves the current state and details of an issue.default GetCodeIssueResponsegetCodeIssue(GetCodeIssueRequest getCodeIssueRequest) Retrieves the current state and details of an issue.default GetCodeIssueArtifactResponsegetCodeIssueArtifact(Consumer<GetCodeIssueArtifactRequest.Builder> getCodeIssueArtifactRequest) Retrieves one immutable artifact attached to an issue, including its content.default GetCodeIssueArtifactResponsegetCodeIssueArtifact(GetCodeIssueArtifactRequest getCodeIssueArtifactRequest) Retrieves one immutable artifact attached to an issue, including its content.default GetCodeScanResponsegetCodeScan(Consumer<GetCodeScanRequest.Builder> getCodeScanRequest) Retrieves one customer-visible environment scan.default GetCodeScanResponsegetCodeScan(GetCodeScanRequest getCodeScanRequest) Retrieves one customer-visible environment scan.default GetCollectorResponsegetCollector(Consumer<GetCollectorRequest.Builder> getCollectorRequest) Retrieves the current state of the Collector for the caller's account.default GetCollectorResponsegetCollector(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 GetEnvironmentResponsegetEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves the current state and configuration of an environment.default GetEnvironmentResponsegetEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves the current state and configuration of an environment.default GetIntegrationResponsegetIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Retrieves information about an integration.default GetIntegrationResponsegetIntegration(GetIntegrationRequest getIntegrationRequest) Retrieves information about an integration.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource policy attached to a Continuum resource.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource policy attached to a Continuum resource.default ListAssociatedCollectorsResponselistAssociatedCollectors(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) Lists the Collectors currently associated with one Environment in ascending collectorId order.default ListAssociatedCollectorsResponselistAssociatedCollectors(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) Lists the Collectors currently associated with one Environment in ascending collectorId order.default ListAssociatedCollectorsIterablelistAssociatedCollectorsPaginator(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) This is a variant oflistAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation.default ListAssociatedCollectorsIterablelistAssociatedCollectorsPaginator(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.default ListCodeFindingsResponselistCodeFindings(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) Lists the findings in an environment in descending findingId order.default ListCodeFindingsResponselistCodeFindings(ListCodeFindingsRequest listCodeFindingsRequest) Lists the findings in an environment in descending findingId order.default ListCodeFindingsIterablelistCodeFindingsPaginator(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) This is a variant oflistCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation.default ListCodeFindingsIterablelistCodeFindingsPaginator(ListCodeFindingsRequest listCodeFindingsRequest) This is a variant oflistCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation.default ListCodeIssueArtifactsResponselistCodeIssueArtifacts(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) Lists the artifacts attached to an issue in descending artifactId order.default ListCodeIssueArtifactsResponselistCodeIssueArtifacts(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) Lists the artifacts attached to an issue in descending artifactId order.default ListCodeIssueArtifactsIterablelistCodeIssueArtifactsPaginator(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) This is a variant oflistCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation.default ListCodeIssueArtifactsIterablelistCodeIssueArtifactsPaginator(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) This is a variant oflistCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation.default ListCodeIssuesResponselistCodeIssues(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) Lists the issues in an environment in descending issueId order.default ListCodeIssuesResponselistCodeIssues(ListCodeIssuesRequest listCodeIssuesRequest) Lists the issues in an environment in descending issueId order.default ListCodeIssuesIterablelistCodeIssuesPaginator(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) This is a variant oflistCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation.default ListCodeIssuesIterablelistCodeIssuesPaginator(ListCodeIssuesRequest listCodeIssuesRequest) This is a variant oflistCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation.default ListCodeScansResponselistCodeScans(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) Lists customer-visible scans for one environment in descending scanRunId order.default ListCodeScansResponselistCodeScans(ListCodeScansRequest listCodeScansRequest) Lists customer-visible scans for one environment in descending scanRunId order.default ListCodeScansIterablelistCodeScansPaginator(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) This is a variant oflistCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation.default ListCodeScansIterablelistCodeScansPaginator(ListCodeScansRequest listCodeScansRequest) This is a variant oflistCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation.default ListCollectorsResponselistCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress.default ListCollectorsResponselistCollectors(ListCollectorsRequest listCollectorsRequest) Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress.default ListEnvironmentsResponselistEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists all environments in your account in descending environmentId order.default ListEnvironmentsResponselistEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists all environments in your account in descending environmentId order.default ListEnvironmentsIterablelistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation.default ListEnvironmentsIterablelistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation.default ListIntegrationsResponselistIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) Lists the integrations in your account in descending integrationId order.default ListIntegrationsResponselistIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists the integrations in your account in descending integrationId order.default ListIntegrationsIterablelistIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation.default ListIntegrationsIterablelistIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or replaces the resource policy attached to a Continuum resource.default PutResourcePolicyResponseputResourcePolicy(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., ClientOverrideConfigurationstatic ServiceMetadatastartIntegrationAuthorization(Consumer<StartIntegrationAuthorizationRequest.Builder> startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint.startIntegrationAuthorization(StartIntegrationAuthorizationRequest startIntegrationAuthorizationRequest) Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint.default UpdateCollectorResponseupdateCollector(Consumer<UpdateCollectorRequest.Builder> updateCollectorRequest) Updates the customer-controlled mutable properties of a Collector.default UpdateCollectorResponseupdateCollector(UpdateCollectorRequest updateCollectorRequest) Updates the customer-controlled mutable properties of a Collector.default UpdateEnvironmentResponseupdateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates the customer-controlled mutable properties of an environment.default UpdateEnvironmentResponseupdateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates the customer-controlled mutable properties of an environment.default UpdateIntegrationResponseupdateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) Rotates the credentials used by an Amazon S3 integration.default UpdateIntegrationResponseupdateIntegration(UpdateIntegrationRequest updateIntegrationRequest) Rotates the credentials used by an Amazon S3 integration.default ContinuumWaiterwaiter()Create an instance ofContinuumWaiterusing 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 AssociateCollectorResponse associateCollector(AssociateCollectorRequest associateCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the AssociateCollector operation returned by the service.
- See Also:
-
associateCollector
default AssociateCollectorResponse associateCollector(Consumer<AssociateCollectorRequest.Builder> associateCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the AssociateCollector operation returned by the service.
- See Also:
-
createCodeFinding
default CreateCodeFindingResponse createCodeFinding(CreateCodeFindingRequest createCodeFindingRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the CreateCodeFinding operation returned by the service.
- See Also:
-
createCodeFinding
default CreateCodeFindingResponse createCodeFinding(Consumer<CreateCodeFindingRequest.Builder> createCodeFindingRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the CreateCodeFinding operation returned by the service.
- See Also:
-
createCodeScan
default CreateCodeScanResponse createCodeScan(CreateCodeScanRequest createCodeScanRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the CreateCodeScan operation returned by the service.
- See Also:
-
createCodeScan
default CreateCodeScanResponse createCodeScan(Consumer<CreateCodeScanRequest.Builder> createCodeScanRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the CreateCodeScan operation returned by the service.
- See Also:
-
createCollector
default CreateCollectorResponse createCollector(CreateCollectorRequest createCollectorRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the CreateCollector operation returned by the service.
- See Also:
-
createCollector
default CreateCollectorResponse createCollector(Consumer<CreateCollectorRequest.Builder> createCollectorRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the CreateCollector operation returned by the service.
- See Also:
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.
- Parameters:
createEnvironmentRequest- Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration.- Returns:
- Result of the CreateEnvironment operation returned by the service.
- See Also:
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request. Specifies the name and type-specific configuration of the new environment. Source and operating-policy settings belong to configuration.codeConfiguration.- Returns:
- Result of the CreateEnvironment operation returned by the service.
- See Also:
-
createIntegration
default CreateIntegrationResponse createIntegration(CreateIntegrationRequest createIntegrationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException Creates a new integration with an external source provider. Repeating an identical request with the same clientToken returns the original integrationId, integrationArn, and createdAt. Token records are retained for eight hours after success or terminal failure, including after the integration is deleted; replaying a deleted integration's token does not recreate it. An identical request with a retained terminal failure returns the recorded error.
Reusing a token with different parameters returns ValidationException. A fresh token starts a new create attempt; if the name is already owned by another integration, ConflictException includes that integration's identifier. An attempt still in progress may return ThrottlingException with retryAfterSeconds set to 1; retry with the same token and identical parameters.
GitHub authorization codes are single use. Retry an unresolved attempt with its original token and unchanged parameters first. If the service reports a terminal failure, an expired attempt, or a successful token exchange whose integration could not be saved, restart GitHub authorization with a fresh token and authorization code. The service does not checkpoint provider results for recovery by another request.
- Parameters:
createIntegrationRequest- Specifies the provider configuration and name for the new integration.- Returns:
- Result of the CreateIntegration operation returned by the service.
- See Also:
-
createIntegration
default CreateIntegrationResponse createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ContinuumException Creates a new integration with an external source provider. Repeating an identical request with the same clientToken returns the original integrationId, integrationArn, and createdAt. Token records are retained for eight hours after success or terminal failure, including after the integration is deleted; replaying a deleted integration's token does not recreate it. An identical request with a retained terminal failure returns the recorded error.
Reusing a token with different parameters returns ValidationException. A fresh token starts a new create attempt; if the name is already owned by another integration, ConflictException includes that integration's identifier. An attempt still in progress may return ThrottlingException with retryAfterSeconds set to 1; retry with the same token and identical parameters.
GitHub authorization codes are single use. Retry an unresolved attempt with its original token and unchanged parameters first. If the service reports a terminal failure, an expired attempt, or a successful token exchange whose integration could not be saved, restart GitHub authorization with a fresh token and authorization code. The service does not checkpoint provider results for recovery by another request.
This is a convenience which creates an instance of the
CreateIntegrationRequest.Builderavoiding the need to create one manually viaCreateIntegrationRequest.builder()- Parameters:
createIntegrationRequest- AConsumerthat will call methods onCreateIntegrationRequest.Builderto create a request. Specifies the provider configuration and name for the new integration.- Returns:
- Result of the CreateIntegration operation returned by the service.
- See Also:
-
deleteCollector
default DeleteCollectorResponse deleteCollector(DeleteCollectorRequest deleteCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the DeleteCollector operation returned by the service.
- See Also:
-
deleteCollector
default DeleteCollectorResponse deleteCollector(Consumer<DeleteCollectorRequest.Builder> deleteCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the DeleteCollector operation returned by the service.
- See Also:
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Deletes an environment and its associated resources.
- Parameters:
deleteEnvironmentRequest- Specifies the environment to delete.- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- See Also:
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the DeleteEnvironment operation returned by the service.
- See Also:
-
deleteIntegration
default DeleteIntegrationResponse deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Deletes an integration and releases its name and account quota. Its retained CreateIntegration token receipt can still replay the original result without recreating the integration. Shared provider registrations are retained: deleting one integration does not remove provider access used by another integration. A fresh GitHub CreateIntegration attempt requires a fresh OAuth authorization code and a new clientToken.
- Parameters:
deleteIntegrationRequest- Specifies the integration to delete.- Returns:
- Result of the DeleteIntegration operation returned by the service.
- See Also:
-
deleteIntegration
default DeleteIntegrationResponse deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Deletes an integration and releases its name and account quota. Its retained CreateIntegration token receipt can still replay the original result without recreating the integration. Shared provider registrations are retained: deleting one integration does not remove provider access used by another integration. A fresh GitHub CreateIntegration attempt requires a fresh OAuth authorization code and a new clientToken.
This is a convenience which creates an instance of the
DeleteIntegrationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationRequest.builder()- Parameters:
deleteIntegrationRequest- AConsumerthat will call methods onDeleteIntegrationRequest.Builderto create a request. Specifies the integration to delete.- Returns:
- Result of the DeleteIntegration operation returned by the service.
- See Also:
-
disassociateCollector
default DisassociateCollectorResponse disassociateCollector(DisassociateCollectorRequest disassociateCollectorRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the DisassociateCollector operation returned by the service.
- See Also:
-
disassociateCollector
default DisassociateCollectorResponse disassociateCollector(Consumer<DisassociateCollectorRequest.Builder> disassociateCollectorRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the DisassociateCollector operation returned by the service.
- See Also:
-
getCodeFinding
default GetCodeFindingResponse getCodeFinding(GetCodeFindingRequest getCodeFindingRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves the current state and details of a finding.
- Parameters:
getCodeFindingRequest- Specifies the finding to retrieve.- Returns:
- Result of the GetCodeFinding operation returned by the service.
- See Also:
-
getCodeFinding
default GetCodeFindingResponse getCodeFinding(Consumer<GetCodeFindingRequest.Builder> getCodeFindingRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCodeFinding operation returned by the service.
- See Also:
-
getCodeIssue
default GetCodeIssueResponse getCodeIssue(GetCodeIssueRequest getCodeIssueRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves the current state and details of an issue.
- Parameters:
getCodeIssueRequest- Specifies the issue to retrieve.- Returns:
- Result of the GetCodeIssue operation returned by the service.
- See Also:
-
getCodeIssue
default GetCodeIssueResponse getCodeIssue(Consumer<GetCodeIssueRequest.Builder> getCodeIssueRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCodeIssue operation returned by the service.
- See Also:
-
getCodeIssueArtifact
default GetCodeIssueArtifactResponse getCodeIssueArtifact(GetCodeIssueArtifactRequest getCodeIssueArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves one immutable artifact attached to an issue, including its content.
- Parameters:
getCodeIssueArtifactRequest- Specifies the artifact to retrieve.- Returns:
- Result of the GetCodeIssueArtifact operation returned by the service.
- See Also:
-
getCodeIssueArtifact
default GetCodeIssueArtifactResponse getCodeIssueArtifact(Consumer<GetCodeIssueArtifactRequest.Builder> getCodeIssueArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCodeIssueArtifact operation returned by the service.
- See Also:
-
getCodeScan
default GetCodeScanResponse getCodeScan(GetCodeScanRequest getCodeScanRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves one customer-visible environment scan.
- Parameters:
getCodeScanRequest-- Returns:
- Result of the GetCodeScan operation returned by the service.
- See Also:
-
getCodeScan
default GetCodeScanResponse getCodeScan(Consumer<GetCodeScanRequest.Builder> getCodeScanRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCodeScan operation returned by the service.
- See Also:
-
getCollector
default GetCollectorResponse getCollector(GetCollectorRequest getCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves the current state of the Collector for the caller's account.
- Parameters:
getCollectorRequest- Specifies the Collector to retrieve.- Returns:
- Result of the GetCollector operation returned by the service.
- See Also:
-
getCollector
default GetCollectorResponse getCollector(Consumer<GetCollectorRequest.Builder> getCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCollector operation returned by the service.
- See Also:
-
getCollectorDataAccessAuthorization
default GetCollectorDataAccessAuthorizationResponse getCollectorDataAccessAuthorization(GetCollectorDataAccessAuthorizationRequest getCollectorDataAccessAuthorizationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCollectorDataAccessAuthorization operation returned by the service.
- See Also:
-
getCollectorDataAccessAuthorization
default GetCollectorDataAccessAuthorizationResponse getCollectorDataAccessAuthorization(Consumer<GetCollectorDataAccessAuthorizationRequest.Builder> getCollectorDataAccessAuthorizationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetCollectorDataAccessAuthorization operation returned by the service.
- See Also:
-
getEnvironment
default GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves the current state and configuration of an environment.
- Parameters:
getEnvironmentRequest- Specifies the environment to retrieve.- Returns:
- Result of the GetEnvironment operation returned by the service.
- See Also:
-
getEnvironment
default GetEnvironmentResponse getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetEnvironment operation returned by the service.
- See Also:
-
getIntegration
default GetIntegrationResponse getIntegration(GetIntegrationRequest getIntegrationRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves information about an integration.
- Parameters:
getIntegrationRequest- Specifies the integration to retrieve.- Returns:
- Result of the GetIntegration operation returned by the service.
- See Also:
-
getIntegration
default GetIntegrationResponse getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves information about an integration.
This is a convenience which creates an instance of the
GetIntegrationRequest.Builderavoiding the need to create one manually viaGetIntegrationRequest.builder()- Parameters:
getIntegrationRequest- AConsumerthat will call methods onGetIntegrationRequest.Builderto create a request. Specifies the integration to retrieve.- Returns:
- Result of the GetIntegration operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Retrieves the resource policy attached to a Continuum resource.
- Parameters:
getResourcePolicyRequest- Specifies the resource.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
listAssociatedCollectors
default ListAssociatedCollectorsResponse listAssociatedCollectors(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListAssociatedCollectors operation returned by the service.
- See Also:
-
listAssociatedCollectors
default ListAssociatedCollectorsResponse listAssociatedCollectors(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListAssociatedCollectors operation returned by the service.
- See Also:
-
listAssociatedCollectorsPaginator
default ListAssociatedCollectorsIterable listAssociatedCollectorsPaginator(ListAssociatedCollectorsRequest listAssociatedCollectorsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsIterable responses = client.listAssociatedCollectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsIterable responses = client .listAssociatedCollectorsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsIterable responses = client.listAssociatedCollectorsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssociatedCollectorsPaginator
default ListAssociatedCollectorsIterable listAssociatedCollectorsPaginator(Consumer<ListAssociatedCollectorsRequest.Builder> listAssociatedCollectorsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listAssociatedCollectors(software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsIterable responses = client.listAssociatedCollectorsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsIterable responses = client .listAssociatedCollectorsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListAssociatedCollectorsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedCollectorsIterable responses = client.listAssociatedCollectorsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssociatedEnvironments
default ListAssociatedEnvironmentsResponse listAssociatedEnvironments(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListAssociatedEnvironments operation returned by the service.
- See Also:
-
listAssociatedEnvironments
default ListAssociatedEnvironmentsResponse listAssociatedEnvironments(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListAssociatedEnvironments operation returned by the service.
- See Also:
-
listAssociatedEnvironmentsPaginator
default ListAssociatedEnvironmentsIterable listAssociatedEnvironmentsPaginator(ListAssociatedEnvironmentsRequest listAssociatedEnvironmentsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsIterable responses = client.listAssociatedEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsIterable responses = client .listAssociatedEnvironmentsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsIterable responses = client.listAssociatedEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssociatedEnvironmentsPaginator
default ListAssociatedEnvironmentsIterable listAssociatedEnvironmentsPaginator(Consumer<ListAssociatedEnvironmentsRequest.Builder> listAssociatedEnvironmentsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listAssociatedEnvironments(software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsIterable responses = client.listAssociatedEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsIterable responses = client .listAssociatedEnvironmentsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListAssociatedEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListAssociatedEnvironmentsIterable responses = client.listAssociatedEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeFindings
default ListCodeFindingsResponse listCodeFindings(ListCodeFindingsRequest listCodeFindingsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Lists the findings in an environment in descending findingId order.
- Parameters:
listCodeFindingsRequest- Specifies the environment and pagination parameters for listing findings.- Returns:
- Result of the ListCodeFindings operation returned by the service.
- See Also:
-
listCodeFindings
default ListCodeFindingsResponse listCodeFindings(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCodeFindings operation returned by the service.
- See Also:
-
listCodeFindingsPaginator
default ListCodeFindingsIterable listCodeFindingsPaginator(ListCodeFindingsRequest listCodeFindingsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeFindingsIterable responses = client.listCodeFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeFindingsIterable responses = client .listCodeFindingsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeFindingsIterable responses = client.listCodeFindingsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeFindingsPaginator
default ListCodeFindingsIterable listCodeFindingsPaginator(Consumer<ListCodeFindingsRequest.Builder> listCodeFindingsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeFindings(software.amazon.awssdk.services.continuum.model.ListCodeFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeFindingsIterable responses = client.listCodeFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeFindingsIterable responses = client .listCodeFindingsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeFindingsIterable responses = client.listCodeFindingsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeIssueArtifacts
default ListCodeIssueArtifactsResponse listCodeIssueArtifacts(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCodeIssueArtifacts operation returned by the service.
- See Also:
-
listCodeIssueArtifacts
default ListCodeIssueArtifactsResponse listCodeIssueArtifacts(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCodeIssueArtifacts operation returned by the service.
- See Also:
-
listCodeIssueArtifactsPaginator
default ListCodeIssueArtifactsIterable listCodeIssueArtifactsPaginator(ListCodeIssueArtifactsRequest listCodeIssueArtifactsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsIterable responses = client.listCodeIssueArtifactsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsIterable responses = client .listCodeIssueArtifactsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsIterable responses = client.listCodeIssueArtifactsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeIssueArtifactsPaginator
default ListCodeIssueArtifactsIterable listCodeIssueArtifactsPaginator(Consumer<ListCodeIssueArtifactsRequest.Builder> listCodeIssueArtifactsRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeIssueArtifacts(software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsIterable responses = client.listCodeIssueArtifactsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsIterable responses = client .listCodeIssueArtifactsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeIssueArtifactsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssueArtifactsIterable responses = client.listCodeIssueArtifactsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeIssues
default ListCodeIssuesResponse listCodeIssues(ListCodeIssuesRequest listCodeIssuesRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Lists the issues in an environment in descending issueId order.
- Parameters:
listCodeIssuesRequest- Specifies the environment and pagination parameters for listing issues.- Returns:
- Result of the ListCodeIssues operation returned by the service.
- See Also:
-
listCodeIssues
default ListCodeIssuesResponse listCodeIssues(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCodeIssues operation returned by the service.
- See Also:
-
listCodeIssuesPaginator
default ListCodeIssuesIterable listCodeIssuesPaginator(ListCodeIssuesRequest listCodeIssuesRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssuesIterable responses = client.listCodeIssuesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeIssuesIterable responses = client .listCodeIssuesPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeIssuesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssuesIterable responses = client.listCodeIssuesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeIssuesPaginator
default ListCodeIssuesIterable listCodeIssuesPaginator(Consumer<ListCodeIssuesRequest.Builder> listCodeIssuesRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeIssues(software.amazon.awssdk.services.continuum.model.ListCodeIssuesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssuesIterable responses = client.listCodeIssuesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeIssuesIterable responses = client .listCodeIssuesPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeIssuesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeIssuesIterable responses = client.listCodeIssuesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeScans
default ListCodeScansResponse listCodeScans(ListCodeScansRequest listCodeScansRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Lists customer-visible scans for one environment in descending scanRunId order.
- Parameters:
listCodeScansRequest-- Returns:
- Result of the ListCodeScans operation returned by the service.
- See Also:
-
listCodeScans
default ListCodeScansResponse listCodeScans(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCodeScans operation returned by the service.
- See Also:
-
listCodeScansPaginator
default ListCodeScansIterable listCodeScansPaginator(ListCodeScansRequest listCodeScansRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeScansIterable responses = client.listCodeScansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeScansIterable responses = client.listCodeScansPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeScansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeScansIterable responses = client.listCodeScansPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeScansPaginator
default ListCodeScansIterable listCodeScansPaginator(Consumer<ListCodeScansRequest.Builder> listCodeScansRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listCodeScans(software.amazon.awssdk.services.continuum.model.ListCodeScansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListCodeScansIterable responses = client.listCodeScansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListCodeScansIterable responses = client.listCodeScansPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListCodeScansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListCodeScansIterable responses = client.listCodeScansPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCollectors
default ListCollectorsResponse listCollectors(ListCollectorsRequest listCollectorsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCollectors operation returned by the service.
- See Also:
-
listCollectors
default ListCollectorsResponse listCollectors(Consumer<ListCollectorsRequest.Builder> listCollectorsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListCollectors operation returned by the service.
- See Also:
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListEnvironments operation returned by the service.
- See Also:
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the ListEnvironments operation returned by the service.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listEnvironments(software.amazon.awssdk.services.continuum.model.ListEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntegrations
default ListIntegrationsResponse listIntegrations(ListIntegrationsRequest listIntegrationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Lists the integrations in your account in descending integrationId order.
- Parameters:
listIntegrationsRequest- Specifies pagination parameters for listing integrations.- Returns:
- Result of the ListIntegrations operation returned by the service.
- See Also:
-
listIntegrations
default ListIntegrationsResponse listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException Lists the integrations in your account in descending integrationId order.
This is a convenience which creates an instance of the
ListIntegrationsRequest.Builderavoiding the need to create one manually viaListIntegrationsRequest.builder()- Parameters:
listIntegrationsRequest- AConsumerthat will call methods onListIntegrationsRequest.Builderto create a request. Specifies pagination parameters for listing integrations.- Returns:
- Result of the ListIntegrations operation returned by the service.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsIterable listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListIntegrationsIterable responses = client .listIntegrationsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListIntegrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsIterable listIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, ContinuumException This is a variant of
listIntegrations(software.amazon.awssdk.services.continuum.model.ListIntegrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.continuum.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.continuum.paginators.ListIntegrationsIterable responses = client .listIntegrationsPaginator(request); for (software.amazon.awssdk.services.continuum.model.ListIntegrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.continuum.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Creates or replaces the resource policy attached to a Continuum resource.
- Parameters:
putResourcePolicyRequest- Specifies the resource and its new policy.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
startIntegrationAuthorization
default StartIntegrationAuthorizationResponse startIntegrationAuthorization(StartIntegrationAuthorizationRequest startIntegrationAuthorizationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.
- Parameters:
startIntegrationAuthorizationRequest- Specifies the provider to authorize and, optionally, the name the new integration will use.- Returns:
- Result of the StartIntegrationAuthorization operation returned by the service.
- See Also:
-
startIntegrationAuthorization
default StartIntegrationAuthorizationResponse startIntegrationAuthorization(Consumer<StartIntegrationAuthorizationRequest.Builder> startIntegrationAuthorizationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.
This is a convenience which creates an instance of the
StartIntegrationAuthorizationRequest.Builderavoiding the need to create one manually viaStartIntegrationAuthorizationRequest.builder()- Parameters:
startIntegrationAuthorizationRequest- AConsumerthat will call methods onStartIntegrationAuthorizationRequest.Builderto create a request. Specifies the provider to authorize and, optionally, the name the new integration will use.- Returns:
- Result of the StartIntegrationAuthorization operation returned by the service.
- See Also:
-
updateCollector
default UpdateCollectorResponse updateCollector(UpdateCollectorRequest updateCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the UpdateCollector operation returned by the service.
- See Also:
-
updateCollector
default UpdateCollectorResponse updateCollector(Consumer<UpdateCollectorRequest.Builder> updateCollectorRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException 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:
- Result of the UpdateCollector operation returned by the service.
- See Also:
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, and its patch creation policy can be changed.
- Parameters:
updateEnvironmentRequest- Specifies the mutable environment properties. Supply a name or a change under configuration.codeConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network and patchCreationPolicy replace the corresponding policies.- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- See Also:
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, and its patch creation policy can be changed.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request. Specifies the mutable environment properties. Supply a name or a change under configuration.codeConfiguration. Its sourceConfiguration.s3Sources and sourceConfiguration.repositorySources replace the S3 source and repository selections. Its environmentConfiguration has patch semantics: omitted members preserve stored values, scanFrequency updates scan cadence, and network and patchCreationPolicy replace the corresponding policies.- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- See Also:
-
updateIntegration
default UpdateIntegrationResponse updateIntegration(UpdateIntegrationRequest updateIntegrationRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Rotates the credentials used by an Amazon S3 integration. Only S3 integrations can be updated; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.
The caller must have iam:PassRole permission for the supplied role, including when only the external ID changes. Continuum verifies that the role can be assumed with the requested external ID and can access the existing bucket before saving both credentials atomically. Omitting externalId preserves its current value. Repeating both current credentials leaves updatedAt unchanged, but still requires authorization and access validation.
- Parameters:
updateIntegrationRequest- Specifies the S3 integration and the credentials to validate and save.- Returns:
- Result of the UpdateIntegration operation returned by the service.
- See Also:
-
updateIntegration
default UpdateIntegrationResponse updateIntegration(Consumer<UpdateIntegrationRequest.Builder> updateIntegrationRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, ContinuumException Rotates the credentials used by an Amazon S3 integration. Only S3 integrations can be updated; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.
The caller must have iam:PassRole permission for the supplied role, including when only the external ID changes. Continuum verifies that the role can be assumed with the requested external ID and can access the existing bucket before saving both credentials atomically. Omitting externalId preserves its current value. Repeating both current credentials leaves updatedAt unchanged, but still requires authorization and access validation.
This is a convenience which creates an instance of the
UpdateIntegrationRequest.Builderavoiding the need to create one manually viaUpdateIntegrationRequest.builder()- Parameters:
updateIntegrationRequest- AConsumerthat will call methods onUpdateIntegrationRequest.Builderto create a request. Specifies the S3 integration and the credentials to validate and save.- Returns:
- Result of the UpdateIntegration operation returned by the service.
- See Also:
-
waiter
Create an instance ofContinuumWaiterusing 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
ContinuumWaiter
-
create
Create aContinuumClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aContinuumClient. -
serviceMetadata
-
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
-