Interface SecurityAgentAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
AWS Security Agent is a frontier agent that proactively secures your applications throughout the development lifecycle. It conducts automated security reviews tailored to your organizational requirements and delivers context-aware penetration testing on demand. By continuously validating security from design to deployment, AWS Security Agent helps prevent vulnerabilities early across all your environments. Key capabilities include design security review for architecture documents, code security review for pull requests in connected repositories, and on-demand penetration testing that discovers, validates, and remediates security vulnerabilities through tailored multi-step attack scenarios. For more information, see the AWS Security Agent User Guide.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture<AddArtifactResponse> addArtifact(Consumer<AddArtifactRequest.Builder> addArtifactRequest) Uploads an artifact to an agent space.default CompletableFuture<AddArtifactResponse> addArtifact(AddArtifactRequest addArtifactRequest) Uploads an artifact to an agent space.batchDeleteCodeReviews(Consumer<BatchDeleteCodeReviewsRequest.Builder> batchDeleteCodeReviewsRequest) Deletes one or more code reviews from an agent space.batchDeleteCodeReviews(BatchDeleteCodeReviewsRequest batchDeleteCodeReviewsRequest) Deletes one or more code reviews from an agent space.batchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest) Deletes one or more pentests from an agent space.batchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) Deletes one or more pentests from an agent space.batchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest) Retrieves information about one or more agent spaces.batchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) Retrieves information about one or more agent spaces.batchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest) Retrieves metadata for one or more artifacts in an agent space.batchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest) Retrieves metadata for one or more artifacts in an agent space.batchGetCodeReviewJobs(Consumer<BatchGetCodeReviewJobsRequest.Builder> batchGetCodeReviewJobsRequest) Retrieves information about one or more code review jobs in an agent space.batchGetCodeReviewJobs(BatchGetCodeReviewJobsRequest batchGetCodeReviewJobsRequest) Retrieves information about one or more code review jobs in an agent space.batchGetCodeReviewJobTasks(Consumer<BatchGetCodeReviewJobTasksRequest.Builder> batchGetCodeReviewJobTasksRequest) Retrieves information about one or more tasks within a code review job.batchGetCodeReviewJobTasks(BatchGetCodeReviewJobTasksRequest batchGetCodeReviewJobTasksRequest) Retrieves information about one or more tasks within a code review job.batchGetCodeReviews(Consumer<BatchGetCodeReviewsRequest.Builder> batchGetCodeReviewsRequest) Retrieves information about one or more code reviews in an agent space.batchGetCodeReviews(BatchGetCodeReviewsRequest batchGetCodeReviewsRequest) Retrieves information about one or more code reviews in an agent space.batchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest) Retrieves information about one or more security findings in an agent space.batchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) Retrieves information about one or more security findings in an agent space.batchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest) Retrieves information about one or more pentest jobs in an agent space.batchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) Retrieves information about one or more pentest jobs in an agent space.batchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest) Retrieves information about one or more tasks within a pentest job.batchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) Retrieves information about one or more tasks within a pentest job.batchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest) Retrieves information about one or more pentests in an agent space.batchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) Retrieves information about one or more pentests in an agent space.batchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest) Retrieves information about one or more target domains.batchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) Retrieves information about one or more target domains.builder()Create a builder that can be used to configure and create aSecurityAgentAsyncClient.static SecurityAgentAsyncClientcreate()Create aSecurityAgentAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) Creates a new agent space.createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates a new agent space.createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new application.createApplication(CreateApplicationRequest createApplicationRequest) Creates a new application.createCodeReview(Consumer<CreateCodeReviewRequest.Builder> createCodeReviewRequest) Creates a new code review configuration in an agent space.createCodeReview(CreateCodeReviewRequest createCodeReviewRequest) Creates a new code review configuration in an agent space.createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) Creates a new membership, granting a user access to an agent space within an application.createMembership(CreateMembershipRequest createMembershipRequest) Creates a new membership, granting a user access to an agent space within an application.default CompletableFuture<CreatePentestResponse> createPentest(Consumer<CreatePentestRequest.Builder> createPentestRequest) Creates a new pentest configuration in an agent space.default CompletableFuture<CreatePentestResponse> createPentest(CreatePentestRequest createPentestRequest) Creates a new pentest configuration in an agent space.createTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest) Creates a new target domain for penetration testing.createTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) Creates a new target domain for penetration testing.deleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an application and its associated configuration, including IAM Identity Center settings.deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes an application and its associated configuration, including IAM Identity Center settings.default CompletableFuture<DeleteArtifactResponse> deleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest) Deletes an artifact from an agent space.default CompletableFuture<DeleteArtifactResponse> deleteArtifact(DeleteArtifactRequest deleteArtifactRequest) Deletes an artifact from an agent space.deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an integration with a third-party provider.deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an integration with a third-party provider.deleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) Deletes a membership, revoking a user's access to an agent space.deleteMembership(DeleteMembershipRequest deleteMembershipRequest) Deletes a membership, revoking a user's access to an agent space.deleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest) Deletes a target domain registration.deleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest) Deletes a target domain registration.default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Retrieves information about an application.default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest) Retrieves information about an application.default CompletableFuture<GetArtifactResponse> getArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest) Retrieves an artifact from an agent space.default CompletableFuture<GetArtifactResponse> getArtifact(GetArtifactRequest getArtifactRequest) Retrieves an artifact from an agent space.default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Retrieves information about an integration.default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Retrieves information about an integration.initiateProviderRegistration(Consumer<InitiateProviderRegistrationRequest.Builder> initiateProviderRegistrationRequest) Initiates the OAuth registration flow with a third-party provider.initiateProviderRegistration(InitiateProviderRegistrationRequest initiateProviderRegistrationRequest) Initiates the OAuth registration flow with a third-party provider.default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Returns a paginated list of agent space summaries in your account.default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Returns a paginated list of agent space summaries in your account.default ListAgentSpacesPublisherlistAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) This is a variant oflistAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.default ListAgentSpacesPublisherlistAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest) This is a variant oflistAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Returns a paginated list of application summaries in your account.listApplications(ListApplicationsRequest listApplicationsRequest) Returns a paginated list of application summaries in your account.default ListApplicationsPublisherlistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.default ListApplicationsPublisherlistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.default CompletableFuture<ListArtifactsResponse> listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) Returns a paginated list of artifact summaries for the specified agent space.default CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest) Returns a paginated list of artifact summaries for the specified agent space.default ListArtifactsPublisherlistArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) This is a variant oflistArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.default ListArtifactsPublisherlistArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) This is a variant oflistArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.listCodeReviewJobsForCodeReview(Consumer<ListCodeReviewJobsForCodeReviewRequest.Builder> listCodeReviewJobsForCodeReviewRequest) Returns a paginated list of code review job summaries for the specified code review configuration.listCodeReviewJobsForCodeReview(ListCodeReviewJobsForCodeReviewRequest listCodeReviewJobsForCodeReviewRequest) Returns a paginated list of code review job summaries for the specified code review configuration.listCodeReviewJobsForCodeReviewPaginator(Consumer<ListCodeReviewJobsForCodeReviewRequest.Builder> listCodeReviewJobsForCodeReviewRequest) This is a variant oflistCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest)operation.listCodeReviewJobsForCodeReviewPaginator(ListCodeReviewJobsForCodeReviewRequest listCodeReviewJobsForCodeReviewRequest) This is a variant oflistCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest)operation.listCodeReviewJobTasks(Consumer<ListCodeReviewJobTasksRequest.Builder> listCodeReviewJobTasksRequest) Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.listCodeReviewJobTasks(ListCodeReviewJobTasksRequest listCodeReviewJobTasksRequest) Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.default ListCodeReviewJobTasksPublisherlistCodeReviewJobTasksPaginator(Consumer<ListCodeReviewJobTasksRequest.Builder> listCodeReviewJobTasksRequest) This is a variant oflistCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest)operation.default ListCodeReviewJobTasksPublisherlistCodeReviewJobTasksPaginator(ListCodeReviewJobTasksRequest listCodeReviewJobTasksRequest) This is a variant oflistCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest)operation.default CompletableFuture<ListCodeReviewsResponse> listCodeReviews(Consumer<ListCodeReviewsRequest.Builder> listCodeReviewsRequest) Returns a paginated list of code review summaries for the specified agent space.default CompletableFuture<ListCodeReviewsResponse> listCodeReviews(ListCodeReviewsRequest listCodeReviewsRequest) Returns a paginated list of code review summaries for the specified agent space.default ListCodeReviewsPublisherlistCodeReviewsPaginator(Consumer<ListCodeReviewsRequest.Builder> listCodeReviewsRequest) This is a variant oflistCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest)operation.default ListCodeReviewsPublisherlistCodeReviewsPaginator(ListCodeReviewsRequest listCodeReviewsRequest) This is a variant oflistCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest)operation.listDiscoveredEndpoints(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) Returns a paginated list of endpoints discovered during a pentest job execution.listDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) Returns a paginated list of endpoints discovered during a pentest job execution.default ListDiscoveredEndpointsPublisherlistDiscoveredEndpointsPaginator(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) This is a variant oflistDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.default ListDiscoveredEndpointsPublisherlistDiscoveredEndpointsPaginator(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) This is a variant oflistDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Lists the security findings for a pentest job.default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest) Lists the security findings for a pentest job.default ListFindingsPublisherlistFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.default ListFindingsPublisherlistFindingsPaginator(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.listIntegratedResources(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) Lists the integrated resources for an agent space, optionally filtered by integration or resource type.listIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest) Lists the integrated resources for an agent space, optionally filtered by integration or resource type.default ListIntegratedResourcesPublisherlistIntegratedResourcesPaginator(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) This is a variant oflistIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.default ListIntegratedResourcesPublisherlistIntegratedResourcesPaginator(ListIntegratedResourcesRequest listIntegratedResourcesRequest) This is a variant oflistIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) Lists the integrations in your account, optionally filtered by provider or provider type.listIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists the integrations in your account, optionally filtered by provider or provider type.default ListIntegrationsPublisherlistIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.default ListIntegrationsPublisherlistIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.default CompletableFuture<ListMembershipsResponse> listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) Returns a paginated list of membership summaries for the specified agent space within an application.default CompletableFuture<ListMembershipsResponse> listMemberships(ListMembershipsRequest listMembershipsRequest) Returns a paginated list of membership summaries for the specified agent space within an application.default ListMembershipsPublisherlistMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) This is a variant oflistMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation.default ListMembershipsPublisherlistMembershipsPaginator(ListMembershipsRequest listMembershipsRequest) This is a variant oflistMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation.listPentestJobsForPentest(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) Returns a paginated list of pentest job summaries for the specified pentest configuration.listPentestJobsForPentest(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) Returns a paginated list of pentest job summaries for the specified pentest configuration.listPentestJobsForPentestPaginator(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) This is a variant oflistPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.listPentestJobsForPentestPaginator(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) This is a variant oflistPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.listPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.listPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest) Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.default ListPentestJobTasksPublisherlistPentestJobTasksPaginator(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) This is a variant oflistPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.default ListPentestJobTasksPublisherlistPentestJobTasksPaginator(ListPentestJobTasksRequest listPentestJobTasksRequest) This is a variant oflistPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.default CompletableFuture<ListPentestsResponse> listPentests(Consumer<ListPentestsRequest.Builder> listPentestsRequest) Returns a paginated list of pentest summaries for the specified agent space.default CompletableFuture<ListPentestsResponse> listPentests(ListPentestsRequest listPentestsRequest) Returns a paginated list of pentest summaries for the specified agent space.default ListPentestsPublisherlistPentestsPaginator(Consumer<ListPentestsRequest.Builder> listPentestsRequest) This is a variant oflistPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.default ListPentestsPublisherlistPentestsPaginator(ListPentestsRequest listPentestsRequest) This is a variant oflistPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags associated with the specified resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags associated with the specified resource.listTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) Returns a paginated list of target domain summaries in your account.listTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) Returns a paginated list of target domain summaries in your account.default ListTargetDomainsPublisherlistTargetDomainsPaginator(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) This is a variant oflistTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation.default ListTargetDomainsPublisherlistTargetDomainsPaginator(ListTargetDomainsRequest listTargetDomainsRequest) This is a variant oflistTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartCodeRemediation(Consumer<StartCodeRemediationRequest.Builder> startCodeRemediationRequest) Initiates code remediation for one or more security findings.startCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest) Initiates code remediation for one or more security findings.startCodeReviewJob(Consumer<StartCodeReviewJobRequest.Builder> startCodeReviewJobRequest) Starts a new code review job for a code review configuration.startCodeReviewJob(StartCodeReviewJobRequest startCodeReviewJobRequest) Starts a new code review job for a code review configuration.default CompletableFuture<StartPentestJobResponse> startPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) Starts a new pentest job for a pentest configuration.default CompletableFuture<StartPentestJobResponse> startPentestJob(StartPentestJobRequest startPentestJobRequest) Starts a new pentest job for a pentest configuration.stopCodeReviewJob(Consumer<StopCodeReviewJobRequest.Builder> stopCodeReviewJobRequest) Stops a running code review job.stopCodeReviewJob(StopCodeReviewJobRequest stopCodeReviewJobRequest) Stops a running code review job.default CompletableFuture<StopPentestJobResponse> stopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) Stops a running pentest job.default CompletableFuture<StopPentestJobResponse> stopPentestJob(StopPentestJobRequest stopPentestJobRequest) Stops a running pentest job.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.updateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the configuration of an existing application, including the IAM role and default KMS key.updateApplication(UpdateApplicationRequest updateApplicationRequest) Updates the configuration of an existing application, including the IAM role and default KMS key.updateCodeReview(Consumer<UpdateCodeReviewRequest.Builder> updateCodeReviewRequest) Updates an existing code review configuration.updateCodeReview(UpdateCodeReviewRequest updateCodeReviewRequest) Updates an existing code review configuration.default CompletableFuture<UpdateFindingResponse> updateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest) Updates the status or risk level of a security finding.default CompletableFuture<UpdateFindingResponse> updateFinding(UpdateFindingRequest updateFindingRequest) Updates the status or risk level of a security finding.updateIntegratedResources(Consumer<UpdateIntegratedResourcesRequest.Builder> updateIntegratedResourcesRequest) Updates the integrated resources for an agent space, including their capabilities.updateIntegratedResources(UpdateIntegratedResourcesRequest updateIntegratedResourcesRequest) Updates the integrated resources for an agent space, including their capabilities.default CompletableFuture<UpdatePentestResponse> updatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest) Updates an existing pentest configuration.default CompletableFuture<UpdatePentestResponse> updatePentest(UpdatePentestRequest updatePentestRequest) Updates an existing pentest configuration.updateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest) Updates the verification method for a target domain.updateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) Updates the verification method for a target domain.verifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) Initiates verification of a target domain.verifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest) Initiates verification of a target domain.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
-
addArtifact
Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.
- Parameters:
addArtifactRequest-- Returns:
- A Java Future containing the result of the AddArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addArtifact
default CompletableFuture<AddArtifactResponse> addArtifact(Consumer<AddArtifactRequest.Builder> addArtifactRequest) Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.
This is a convenience which creates an instance of the
AddArtifactRequest.Builderavoiding the need to create one manually viaAddArtifactRequest.builder()- Parameters:
addArtifactRequest- AConsumerthat will call methods onAddArtifactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AddArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteCodeReviews
default CompletableFuture<BatchDeleteCodeReviewsResponse> batchDeleteCodeReviews(BatchDeleteCodeReviewsRequest batchDeleteCodeReviewsRequest) Deletes one or more code reviews from an agent space.
- Parameters:
batchDeleteCodeReviewsRequest- Input for deleting multiple code reviews.- Returns:
- A Java Future containing the result of the BatchDeleteCodeReviews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteCodeReviews
default CompletableFuture<BatchDeleteCodeReviewsResponse> batchDeleteCodeReviews(Consumer<BatchDeleteCodeReviewsRequest.Builder> batchDeleteCodeReviewsRequest) Deletes one or more code reviews from an agent space.
This is a convenience which creates an instance of the
BatchDeleteCodeReviewsRequest.Builderavoiding the need to create one manually viaBatchDeleteCodeReviewsRequest.builder()- Parameters:
batchDeleteCodeReviewsRequest- AConsumerthat will call methods onBatchDeleteCodeReviewsRequest.Builderto create a request. Input for deleting multiple code reviews.- Returns:
- A Java Future containing the result of the BatchDeleteCodeReviews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeletePentests
default CompletableFuture<BatchDeletePentestsResponse> batchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) Deletes one or more pentests from an agent space.
- Parameters:
batchDeletePentestsRequest- Input for deleting multiple pentests.- Returns:
- A Java Future containing the result of the BatchDeletePentests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeletePentests
default CompletableFuture<BatchDeletePentestsResponse> batchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest) Deletes one or more pentests from an agent space.
This is a convenience which creates an instance of the
BatchDeletePentestsRequest.Builderavoiding the need to create one manually viaBatchDeletePentestsRequest.builder()- Parameters:
batchDeletePentestsRequest- AConsumerthat will call methods onBatchDeletePentestsRequest.Builderto create a request. Input for deleting multiple pentests.- Returns:
- A Java Future containing the result of the BatchDeletePentests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgentSpaces
default CompletableFuture<BatchGetAgentSpacesResponse> batchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) Retrieves information about one or more agent spaces.
- Parameters:
batchGetAgentSpacesRequest- Input for batch retrieving agent spaces.- Returns:
- A Java Future containing the result of the BatchGetAgentSpaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgentSpaces
default CompletableFuture<BatchGetAgentSpacesResponse> batchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest) Retrieves information about one or more agent spaces.
This is a convenience which creates an instance of the
BatchGetAgentSpacesRequest.Builderavoiding the need to create one manually viaBatchGetAgentSpacesRequest.builder()- Parameters:
batchGetAgentSpacesRequest- AConsumerthat will call methods onBatchGetAgentSpacesRequest.Builderto create a request. Input for batch retrieving agent spaces.- Returns:
- A Java Future containing the result of the BatchGetAgentSpaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetArtifactMetadata
default CompletableFuture<BatchGetArtifactMetadataResponse> batchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest) Retrieves metadata for one or more artifacts in an agent space.
- Parameters:
batchGetArtifactMetadataRequest-- Returns:
- A Java Future containing the result of the BatchGetArtifactMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetArtifactMetadata
default CompletableFuture<BatchGetArtifactMetadataResponse> batchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest) Retrieves metadata for one or more artifacts in an agent space.
This is a convenience which creates an instance of the
BatchGetArtifactMetadataRequest.Builderavoiding the need to create one manually viaBatchGetArtifactMetadataRequest.builder()- Parameters:
batchGetArtifactMetadataRequest- AConsumerthat will call methods onBatchGetArtifactMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetArtifactMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCodeReviewJobTasks
default CompletableFuture<BatchGetCodeReviewJobTasksResponse> batchGetCodeReviewJobTasks(BatchGetCodeReviewJobTasksRequest batchGetCodeReviewJobTasksRequest) Retrieves information about one or more tasks within a code review job.
- Parameters:
batchGetCodeReviewJobTasksRequest- Input for retrieving multiple tasks associated with a code review job.- Returns:
- A Java Future containing the result of the BatchGetCodeReviewJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCodeReviewJobTasks
default CompletableFuture<BatchGetCodeReviewJobTasksResponse> batchGetCodeReviewJobTasks(Consumer<BatchGetCodeReviewJobTasksRequest.Builder> batchGetCodeReviewJobTasksRequest) Retrieves information about one or more tasks within a code review job.
This is a convenience which creates an instance of the
BatchGetCodeReviewJobTasksRequest.Builderavoiding the need to create one manually viaBatchGetCodeReviewJobTasksRequest.builder()- Parameters:
batchGetCodeReviewJobTasksRequest- AConsumerthat will call methods onBatchGetCodeReviewJobTasksRequest.Builderto create a request. Input for retrieving multiple tasks associated with a code review job.- Returns:
- A Java Future containing the result of the BatchGetCodeReviewJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCodeReviewJobs
default CompletableFuture<BatchGetCodeReviewJobsResponse> batchGetCodeReviewJobs(BatchGetCodeReviewJobsRequest batchGetCodeReviewJobsRequest) Retrieves information about one or more code review jobs in an agent space.
- Parameters:
batchGetCodeReviewJobsRequest- Input for BatchGetCodeReviewJobs operation.- Returns:
- A Java Future containing the result of the BatchGetCodeReviewJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCodeReviewJobs
default CompletableFuture<BatchGetCodeReviewJobsResponse> batchGetCodeReviewJobs(Consumer<BatchGetCodeReviewJobsRequest.Builder> batchGetCodeReviewJobsRequest) Retrieves information about one or more code review jobs in an agent space.
This is a convenience which creates an instance of the
BatchGetCodeReviewJobsRequest.Builderavoiding the need to create one manually viaBatchGetCodeReviewJobsRequest.builder()- Parameters:
batchGetCodeReviewJobsRequest- AConsumerthat will call methods onBatchGetCodeReviewJobsRequest.Builderto create a request. Input for BatchGetCodeReviewJobs operation.- Returns:
- A Java Future containing the result of the BatchGetCodeReviewJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCodeReviews
default CompletableFuture<BatchGetCodeReviewsResponse> batchGetCodeReviews(BatchGetCodeReviewsRequest batchGetCodeReviewsRequest) Retrieves information about one or more code reviews in an agent space.
- Parameters:
batchGetCodeReviewsRequest- Input for retrieving multiple code reviews by their IDs.- Returns:
- A Java Future containing the result of the BatchGetCodeReviews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCodeReviews
default CompletableFuture<BatchGetCodeReviewsResponse> batchGetCodeReviews(Consumer<BatchGetCodeReviewsRequest.Builder> batchGetCodeReviewsRequest) Retrieves information about one or more code reviews in an agent space.
This is a convenience which creates an instance of the
BatchGetCodeReviewsRequest.Builderavoiding the need to create one manually viaBatchGetCodeReviewsRequest.builder()- Parameters:
batchGetCodeReviewsRequest- AConsumerthat will call methods onBatchGetCodeReviewsRequest.Builderto create a request. Input for retrieving multiple code reviews by their IDs.- Returns:
- A Java Future containing the result of the BatchGetCodeReviews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetFindings
default CompletableFuture<BatchGetFindingsResponse> batchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) Retrieves information about one or more security findings in an agent space.
- Parameters:
batchGetFindingsRequest- Input for BatchGetFindings operation.- Returns:
- A Java Future containing the result of the BatchGetFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetFindings
default CompletableFuture<BatchGetFindingsResponse> batchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest) Retrieves information about one or more security findings in an agent space.
This is a convenience which creates an instance of the
BatchGetFindingsRequest.Builderavoiding the need to create one manually viaBatchGetFindingsRequest.builder()- Parameters:
batchGetFindingsRequest- AConsumerthat will call methods onBatchGetFindingsRequest.Builderto create a request. Input for BatchGetFindings operation.- Returns:
- A Java Future containing the result of the BatchGetFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetPentestJobTasks
default CompletableFuture<BatchGetPentestJobTasksResponse> batchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) Retrieves information about one or more tasks within a pentest job.
- Parameters:
batchGetPentestJobTasksRequest- Input for retrieving multiple tasks associated with a pentest job.- Returns:
- A Java Future containing the result of the BatchGetPentestJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetPentestJobTasks
default CompletableFuture<BatchGetPentestJobTasksResponse> batchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest) Retrieves information about one or more tasks within a pentest job.
This is a convenience which creates an instance of the
BatchGetPentestJobTasksRequest.Builderavoiding the need to create one manually viaBatchGetPentestJobTasksRequest.builder()- Parameters:
batchGetPentestJobTasksRequest- AConsumerthat will call methods onBatchGetPentestJobTasksRequest.Builderto create a request. Input for retrieving multiple tasks associated with a pentest job.- Returns:
- A Java Future containing the result of the BatchGetPentestJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetPentestJobs
default CompletableFuture<BatchGetPentestJobsResponse> batchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) Retrieves information about one or more pentest jobs in an agent space.
- Parameters:
batchGetPentestJobsRequest- Input for BatchGetPentestJobs operation.- Returns:
- A Java Future containing the result of the BatchGetPentestJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetPentestJobs
default CompletableFuture<BatchGetPentestJobsResponse> batchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest) Retrieves information about one or more pentest jobs in an agent space.
This is a convenience which creates an instance of the
BatchGetPentestJobsRequest.Builderavoiding the need to create one manually viaBatchGetPentestJobsRequest.builder()- Parameters:
batchGetPentestJobsRequest- AConsumerthat will call methods onBatchGetPentestJobsRequest.Builderto create a request. Input for BatchGetPentestJobs operation.- Returns:
- A Java Future containing the result of the BatchGetPentestJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetPentests
default CompletableFuture<BatchGetPentestsResponse> batchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) Retrieves information about one or more pentests in an agent space.
- Parameters:
batchGetPentestsRequest- Input for retrieving multiple pentests by their IDs.- Returns:
- A Java Future containing the result of the BatchGetPentests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetPentests
default CompletableFuture<BatchGetPentestsResponse> batchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest) Retrieves information about one or more pentests in an agent space.
This is a convenience which creates an instance of the
BatchGetPentestsRequest.Builderavoiding the need to create one manually viaBatchGetPentestsRequest.builder()- Parameters:
batchGetPentestsRequest- AConsumerthat will call methods onBatchGetPentestsRequest.Builderto create a request. Input for retrieving multiple pentests by their IDs.- Returns:
- A Java Future containing the result of the BatchGetPentests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetTargetDomains
default CompletableFuture<BatchGetTargetDomainsResponse> batchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) Retrieves information about one or more target domains.
- Parameters:
batchGetTargetDomainsRequest- Input for batch retrieving target domains.- Returns:
- A Java Future containing the result of the BatchGetTargetDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetTargetDomains
default CompletableFuture<BatchGetTargetDomainsResponse> batchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest) Retrieves information about one or more target domains.
This is a convenience which creates an instance of the
BatchGetTargetDomainsRequest.Builderavoiding the need to create one manually viaBatchGetTargetDomainsRequest.builder()- Parameters:
batchGetTargetDomainsRequest- AConsumerthat will call methods onBatchGetTargetDomainsRequest.Builderto create a request. Input for batch retrieving target domains.- Returns:
- A Java Future containing the result of the BatchGetTargetDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentSpace
default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.
- Parameters:
createAgentSpaceRequest- Input for creating a new agent space.- Returns:
- A Java Future containing the result of the CreateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentSpace
default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.
This is a convenience which creates an instance of the
CreateAgentSpaceRequest.Builderavoiding the need to create one manually viaCreateAgentSpaceRequest.builder()- Parameters:
createAgentSpaceRequest- AConsumerthat will call methods onCreateAgentSpaceRequest.Builderto create a request. Input for creating a new agent space.- Returns:
- A Java Future containing the result of the CreateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest) Creates a new application. An application is the top-level organizational unit that supports IAM Identity Center integration.
- Parameters:
createApplicationRequest-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new application. An application is the top-level organizational unit that supports IAM Identity Center integration.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCodeReview
default CompletableFuture<CreateCodeReviewResponse> createCodeReview(CreateCodeReviewRequest createCodeReviewRequest) Creates a new code review configuration in an agent space. A code review defines the parameters for automated security-focused code analysis.
- Parameters:
createCodeReviewRequest- Input for creating a new code review.- Returns:
- A Java Future containing the result of the CreateCodeReview operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCodeReview
default CompletableFuture<CreateCodeReviewResponse> createCodeReview(Consumer<CreateCodeReviewRequest.Builder> createCodeReviewRequest) Creates a new code review configuration in an agent space. A code review defines the parameters for automated security-focused code analysis.
This is a convenience which creates an instance of the
CreateCodeReviewRequest.Builderavoiding the need to create one manually viaCreateCodeReviewRequest.builder()- Parameters:
createCodeReviewRequest- AConsumerthat will call methods onCreateCodeReviewRequest.Builderto create a request. Input for creating a new code review.- Returns:
- A Java Future containing the result of the CreateCodeReview operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.
- Parameters:
createIntegrationRequest-- Returns:
- A Java Future containing the result of the CreateIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.
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.- Returns:
- A Java Future containing the result of the CreateIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMembership
default CompletableFuture<CreateMembershipResponse> createMembership(CreateMembershipRequest createMembershipRequest) Creates a new membership, granting a user access to an agent space within an application.
- Parameters:
createMembershipRequest- Request structure for adding a single member to an agent space.- Returns:
- A Java Future containing the result of the CreateMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMembership
default CompletableFuture<CreateMembershipResponse> createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) Creates a new membership, granting a user access to an agent space within an application.
This is a convenience which creates an instance of the
CreateMembershipRequest.Builderavoiding the need to create one manually viaCreateMembershipRequest.builder()- Parameters:
createMembershipRequest- AConsumerthat will call methods onCreateMembershipRequest.Builderto create a request. Request structure for adding a single member to an agent space.- Returns:
- A Java Future containing the result of the CreateMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPentest
default CompletableFuture<CreatePentestResponse> createPentest(CreatePentestRequest createPentestRequest) Creates a new pentest configuration in an agent space. A pentest defines the security test parameters, including target assets, risk type exclusions, and logging configuration.
- Parameters:
createPentestRequest- Input for creating a new pentest.- Returns:
- A Java Future containing the result of the CreatePentest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPentest
default CompletableFuture<CreatePentestResponse> createPentest(Consumer<CreatePentestRequest.Builder> createPentestRequest) Creates a new pentest configuration in an agent space. A pentest defines the security test parameters, including target assets, risk type exclusions, and logging configuration.
This is a convenience which creates an instance of the
CreatePentestRequest.Builderavoiding the need to create one manually viaCreatePentestRequest.builder()- Parameters:
createPentestRequest- AConsumerthat will call methods onCreatePentestRequest.Builderto create a request. Input for creating a new pentest.- Returns:
- A Java Future containing the result of the CreatePentest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTargetDomain
default CompletableFuture<CreateTargetDomainResponse> createTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) Creates a new target domain for penetration testing. A target domain is a web domain that must be registered and verified before it can be tested.
- Parameters:
createTargetDomainRequest- Input for creating a new target domain.- Returns:
- A Java Future containing the result of the CreateTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTargetDomain
default CompletableFuture<CreateTargetDomainResponse> createTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest) Creates a new target domain for penetration testing. A target domain is a web domain that must be registered and verified before it can be tested.
This is a convenience which creates an instance of the
CreateTargetDomainRequest.Builderavoiding the need to create one manually viaCreateTargetDomainRequest.builder()- Parameters:
createTargetDomainRequest- AConsumerthat will call methods onCreateTargetDomainRequest.Builderto create a request. Input for creating a new target domain.- Returns:
- A Java Future containing the result of the CreateTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgentSpace
default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.
- Parameters:
deleteAgentSpaceRequest- Input for deleting an agent space.- Returns:
- A Java Future containing the result of the DeleteAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgentSpace
default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.
This is a convenience which creates an instance of the
DeleteAgentSpaceRequest.Builderavoiding the need to create one manually viaDeleteAgentSpaceRequest.builder()- Parameters:
deleteAgentSpaceRequest- AConsumerthat will call methods onDeleteAgentSpaceRequest.Builderto create a request. Input for deleting an agent space.- Returns:
- A Java Future containing the result of the DeleteAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes an application and its associated configuration, including IAM Identity Center settings.
- Parameters:
deleteApplicationRequest-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an application and its associated configuration, including IAM Identity Center settings.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteArtifact
default CompletableFuture<DeleteArtifactResponse> deleteArtifact(DeleteArtifactRequest deleteArtifactRequest) Deletes an artifact from an agent space.
- Parameters:
deleteArtifactRequest-- Returns:
- A Java Future containing the result of the DeleteArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteArtifact
default CompletableFuture<DeleteArtifactResponse> deleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest) Deletes an artifact from an agent space.
This is a convenience which creates an instance of the
DeleteArtifactRequest.Builderavoiding the need to create one manually viaDeleteArtifactRequest.builder()- Parameters:
deleteArtifactRequest- AConsumerthat will call methods onDeleteArtifactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegration
default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an integration with a third-party provider.
- Parameters:
deleteIntegrationRequest-- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIntegration
default CompletableFuture<DeleteIntegrationResponse> deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an integration with a third-party provider.
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.- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMembership
default CompletableFuture<DeleteMembershipResponse> deleteMembership(DeleteMembershipRequest deleteMembershipRequest) Deletes a membership, revoking a user's access to an agent space.
- Parameters:
deleteMembershipRequest- Request structure for removing a single member from an agent space.- Returns:
- A Java Future containing the result of the DeleteMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMembership
default CompletableFuture<DeleteMembershipResponse> deleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) Deletes a membership, revoking a user's access to an agent space.
This is a convenience which creates an instance of the
DeleteMembershipRequest.Builderavoiding the need to create one manually viaDeleteMembershipRequest.builder()- Parameters:
deleteMembershipRequest- AConsumerthat will call methods onDeleteMembershipRequest.Builderto create a request. Request structure for removing a single member from an agent space.- Returns:
- A Java Future containing the result of the DeleteMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTargetDomain
default CompletableFuture<DeleteTargetDomainResponse> deleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest) Deletes a target domain registration. After deletion, the domain can no longer be used for penetration testing.
- Parameters:
deleteTargetDomainRequest- Input for deleting a target domain.- Returns:
- A Java Future containing the result of the DeleteTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTargetDomain
default CompletableFuture<DeleteTargetDomainResponse> deleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest) Deletes a target domain registration. After deletion, the domain can no longer be used for penetration testing.
This is a convenience which creates an instance of the
DeleteTargetDomainRequest.Builderavoiding the need to create one manually viaDeleteTargetDomainRequest.builder()- Parameters:
deleteTargetDomainRequest- AConsumerthat will call methods onDeleteTargetDomainRequest.Builderto create a request. Input for deleting a target domain.- Returns:
- A Java Future containing the result of the DeleteTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest) Retrieves information about an application.
- Parameters:
getApplicationRequest-- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Retrieves information about an application.
This is a convenience which creates an instance of the
GetApplicationRequest.Builderavoiding the need to create one manually viaGetApplicationRequest.builder()- Parameters:
getApplicationRequest- AConsumerthat will call methods onGetApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getArtifact
Retrieves an artifact from an agent space.
- Parameters:
getArtifactRequest-- Returns:
- A Java Future containing the result of the GetArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getArtifact
default CompletableFuture<GetArtifactResponse> getArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest) Retrieves an artifact from an agent space.
This is a convenience which creates an instance of the
GetArtifactRequest.Builderavoiding the need to create one manually viaGetArtifactRequest.builder()- Parameters:
getArtifactRequest- AConsumerthat will call methods onGetArtifactRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetArtifact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegration
default CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Retrieves information about an integration.
- Parameters:
getIntegrationRequest-- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIntegration
default CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) 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.- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- InternalServerException An unexpected error occurred during the processing of your request.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
initiateProviderRegistration
default CompletableFuture<InitiateProviderRegistrationResponse> initiateProviderRegistration(InitiateProviderRegistrationRequest initiateProviderRegistrationRequest) Initiates the OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.
- Parameters:
initiateProviderRegistrationRequest-- Returns:
- A Java Future containing the result of the InitiateProviderRegistration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
initiateProviderRegistration
default CompletableFuture<InitiateProviderRegistrationResponse> initiateProviderRegistration(Consumer<InitiateProviderRegistrationRequest.Builder> initiateProviderRegistrationRequest) Initiates the OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.
This is a convenience which creates an instance of the
InitiateProviderRegistrationRequest.Builderavoiding the need to create one manually viaInitiateProviderRegistrationRequest.builder()- Parameters:
initiateProviderRegistrationRequest- AConsumerthat will call methods onInitiateProviderRegistrationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the InitiateProviderRegistration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpaces
default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Returns a paginated list of agent space summaries in your account.
- Parameters:
listAgentSpacesRequest- Input for listing agent spaces.- Returns:
- A Java Future containing the result of the ListAgentSpaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpaces
default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Returns a paginated list of agent space summaries in your account.
This is a convenience which creates an instance of the
ListAgentSpacesRequest.Builderavoiding the need to create one manually viaListAgentSpacesRequest.builder()- Parameters:
listAgentSpacesRequest- AConsumerthat will call methods onListAgentSpacesRequest.Builderto create a request. Input for listing agent spaces.- Returns:
- A Java Future containing the result of the ListAgentSpaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpacesPaginator
default ListAgentSpacesPublisher listAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest) This is a variant of
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.- Parameters:
listAgentSpacesRequest- Input for listing agent spaces.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpacesPaginator
default ListAgentSpacesPublisher listAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) This is a variant of
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.
This is a convenience which creates an instance of the
ListAgentSpacesRequest.Builderavoiding the need to create one manually viaListAgentSpacesRequest.builder()- Parameters:
listAgentSpacesRequest- AConsumerthat will call methods onListAgentSpacesRequest.Builderto create a request. Input for listing agent spaces.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Returns a paginated list of application summaries in your account.
- Parameters:
listApplicationsRequest-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Returns a paginated list of application summaries in your account.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listArtifacts
default CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest) Returns a paginated list of artifact summaries for the specified agent space.
- Parameters:
listArtifactsRequest-- Returns:
- A Java Future containing the result of the ListArtifacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listArtifacts
default CompletableFuture<ListArtifactsResponse> listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) Returns a paginated list of artifact summaries for the specified agent space.
This is a convenience which creates an instance of the
ListArtifactsRequest.Builderavoiding the need to create one manually viaListArtifactsRequest.builder()- Parameters:
listArtifactsRequest- AConsumerthat will call methods onListArtifactsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListArtifacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listArtifactsPaginator
This is a variant of
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.- Parameters:
listArtifactsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listArtifactsPaginator
default ListArtifactsPublisher listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) This is a variant of
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.
This is a convenience which creates an instance of the
ListArtifactsRequest.Builderavoiding the need to create one manually viaListArtifactsRequest.builder()- Parameters:
listArtifactsRequest- AConsumerthat will call methods onListArtifactsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException An unexpected error occurred during the processing of your request.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobTasks
default CompletableFuture<ListCodeReviewJobTasksResponse> listCodeReviewJobTasks(ListCodeReviewJobTasksRequest listCodeReviewJobTasksRequest) Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.
- Parameters:
listCodeReviewJobTasksRequest- Input for listing tasks associated with a code review job.- Returns:
- A Java Future containing the result of the ListCodeReviewJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobTasks
default CompletableFuture<ListCodeReviewJobTasksResponse> listCodeReviewJobTasks(Consumer<ListCodeReviewJobTasksRequest.Builder> listCodeReviewJobTasksRequest) Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.
This is a convenience which creates an instance of the
ListCodeReviewJobTasksRequest.Builderavoiding the need to create one manually viaListCodeReviewJobTasksRequest.builder()- Parameters:
listCodeReviewJobTasksRequest- AConsumerthat will call methods onListCodeReviewJobTasksRequest.Builderto create a request. Input for listing tasks associated with a code review job.- Returns:
- A Java Future containing the result of the ListCodeReviewJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobTasksPaginator
default ListCodeReviewJobTasksPublisher listCodeReviewJobTasksPaginator(ListCodeReviewJobTasksRequest listCodeReviewJobTasksRequest) This is a variant of
listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest)operation.- Parameters:
listCodeReviewJobTasksRequest- Input for listing tasks associated with a code review job.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobTasksPaginator
default ListCodeReviewJobTasksPublisher listCodeReviewJobTasksPaginator(Consumer<ListCodeReviewJobTasksRequest.Builder> listCodeReviewJobTasksRequest) This is a variant of
listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobTasksPublisher publisher = client.listCodeReviewJobTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeReviewJobTasks(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobTasksRequest)operation.
This is a convenience which creates an instance of the
ListCodeReviewJobTasksRequest.Builderavoiding the need to create one manually viaListCodeReviewJobTasksRequest.builder()- Parameters:
listCodeReviewJobTasksRequest- AConsumerthat will call methods onListCodeReviewJobTasksRequest.Builderto create a request. Input for listing tasks associated with a code review job.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobsForCodeReview
default CompletableFuture<ListCodeReviewJobsForCodeReviewResponse> listCodeReviewJobsForCodeReview(ListCodeReviewJobsForCodeReviewRequest listCodeReviewJobsForCodeReviewRequest) Returns a paginated list of code review job summaries for the specified code review configuration.
- Parameters:
listCodeReviewJobsForCodeReviewRequest- Input for ListCodeReviewJobsForCodeReview operation.- Returns:
- A Java Future containing the result of the ListCodeReviewJobsForCodeReview operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobsForCodeReview
default CompletableFuture<ListCodeReviewJobsForCodeReviewResponse> listCodeReviewJobsForCodeReview(Consumer<ListCodeReviewJobsForCodeReviewRequest.Builder> listCodeReviewJobsForCodeReviewRequest) Returns a paginated list of code review job summaries for the specified code review configuration.
This is a convenience which creates an instance of the
ListCodeReviewJobsForCodeReviewRequest.Builderavoiding the need to create one manually viaListCodeReviewJobsForCodeReviewRequest.builder()- Parameters:
listCodeReviewJobsForCodeReviewRequest- AConsumerthat will call methods onListCodeReviewJobsForCodeReviewRequest.Builderto create a request. Input for ListCodeReviewJobsForCodeReview operation.- Returns:
- A Java Future containing the result of the ListCodeReviewJobsForCodeReview operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobsForCodeReviewPaginator
default ListCodeReviewJobsForCodeReviewPublisher listCodeReviewJobsForCodeReviewPaginator(ListCodeReviewJobsForCodeReviewRequest listCodeReviewJobsForCodeReviewRequest) This is a variant of
listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest)operation.- Parameters:
listCodeReviewJobsForCodeReviewRequest- Input for ListCodeReviewJobsForCodeReview operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewJobsForCodeReviewPaginator
default ListCodeReviewJobsForCodeReviewPublisher listCodeReviewJobsForCodeReviewPaginator(Consumer<ListCodeReviewJobsForCodeReviewRequest.Builder> listCodeReviewJobsForCodeReviewRequest) This is a variant of
listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewJobsForCodeReviewPublisher publisher = client.listCodeReviewJobsForCodeReviewPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeReviewJobsForCodeReview(software.amazon.awssdk.services.securityagent.model.ListCodeReviewJobsForCodeReviewRequest)operation.
This is a convenience which creates an instance of the
ListCodeReviewJobsForCodeReviewRequest.Builderavoiding the need to create one manually viaListCodeReviewJobsForCodeReviewRequest.builder()- Parameters:
listCodeReviewJobsForCodeReviewRequest- AConsumerthat will call methods onListCodeReviewJobsForCodeReviewRequest.Builderto create a request. Input for ListCodeReviewJobsForCodeReview operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviews
default CompletableFuture<ListCodeReviewsResponse> listCodeReviews(ListCodeReviewsRequest listCodeReviewsRequest) Returns a paginated list of code review summaries for the specified agent space.
- Parameters:
listCodeReviewsRequest- Input for listing code reviews with optional filtering.- Returns:
- A Java Future containing the result of the ListCodeReviews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviews
default CompletableFuture<ListCodeReviewsResponse> listCodeReviews(Consumer<ListCodeReviewsRequest.Builder> listCodeReviewsRequest) Returns a paginated list of code review summaries for the specified agent space.
This is a convenience which creates an instance of the
ListCodeReviewsRequest.Builderavoiding the need to create one manually viaListCodeReviewsRequest.builder()- Parameters:
listCodeReviewsRequest- AConsumerthat will call methods onListCodeReviewsRequest.Builderto create a request. Input for listing code reviews with optional filtering.- Returns:
- A Java Future containing the result of the ListCodeReviews operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewsPaginator
default ListCodeReviewsPublisher listCodeReviewsPaginator(ListCodeReviewsRequest listCodeReviewsRequest) This is a variant of
listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest)operation.- Parameters:
listCodeReviewsRequest- Input for listing code reviews with optional filtering.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodeReviewsPaginator
default ListCodeReviewsPublisher listCodeReviewsPaginator(Consumer<ListCodeReviewsRequest.Builder> listCodeReviewsRequest) This is a variant of
listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCodeReviews(software.amazon.awssdk.services.securityagent.model.ListCodeReviewsRequest)operation.
This is a convenience which creates an instance of the
ListCodeReviewsRequest.Builderavoiding the need to create one manually viaListCodeReviewsRequest.builder()- Parameters:
listCodeReviewsRequest- AConsumerthat will call methods onListCodeReviewsRequest.Builderto create a request. Input for listing code reviews with optional filtering.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredEndpoints
default CompletableFuture<ListDiscoveredEndpointsResponse> listDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) Returns a paginated list of endpoints discovered during a pentest job execution.
- Parameters:
listDiscoveredEndpointsRequest- Input for ListDiscoveredEndpoints operation.- Returns:
- A Java Future containing the result of the ListDiscoveredEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredEndpoints
default CompletableFuture<ListDiscoveredEndpointsResponse> listDiscoveredEndpoints(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) Returns a paginated list of endpoints discovered during a pentest job execution.
This is a convenience which creates an instance of the
ListDiscoveredEndpointsRequest.Builderavoiding the need to create one manually viaListDiscoveredEndpointsRequest.builder()- Parameters:
listDiscoveredEndpointsRequest- AConsumerthat will call methods onListDiscoveredEndpointsRequest.Builderto create a request. Input for ListDiscoveredEndpoints operation.- Returns:
- A Java Future containing the result of the ListDiscoveredEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredEndpointsPaginator
default ListDiscoveredEndpointsPublisher listDiscoveredEndpointsPaginator(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) This is a variant of
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.- Parameters:
listDiscoveredEndpointsRequest- Input for ListDiscoveredEndpoints operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredEndpointsPaginator
default ListDiscoveredEndpointsPublisher listDiscoveredEndpointsPaginator(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) This is a variant of
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsPublisher publisher = client.listDiscoveredEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.
This is a convenience which creates an instance of the
ListDiscoveredEndpointsRequest.Builderavoiding the need to create one manually viaListDiscoveredEndpointsRequest.builder()- Parameters:
listDiscoveredEndpointsRequest- AConsumerthat will call methods onListDiscoveredEndpointsRequest.Builderto create a request. Input for ListDiscoveredEndpoints operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindings
default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest) Lists the security findings for a pentest job.
- Parameters:
listFindingsRequest- Input for ListFindings operation with filtering support.- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindings
default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Lists the security findings for a pentest job.
This is a convenience which creates an instance of the
ListFindingsRequest.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto create a request. Input for ListFindings operation with filtering support.- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsPaginator
This is a variant of
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListFindingsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.- Parameters:
listFindingsRequest- Input for ListFindings operation with filtering support.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsPaginator
default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant of
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListFindingsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.
This is a convenience which creates an instance of the
ListFindingsRequest.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto create a request. Input for ListFindings operation with filtering support.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegratedResources
default CompletableFuture<ListIntegratedResourcesResponse> listIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest) Lists the integrated resources for an agent space, optionally filtered by integration or resource type.
- Parameters:
listIntegratedResourcesRequest-- Returns:
- A Java Future containing the result of the ListIntegratedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegratedResources
default CompletableFuture<ListIntegratedResourcesResponse> listIntegratedResources(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) Lists the integrated resources for an agent space, optionally filtered by integration or resource type.
This is a convenience which creates an instance of the
ListIntegratedResourcesRequest.Builderavoiding the need to create one manually viaListIntegratedResourcesRequest.builder()- Parameters:
listIntegratedResourcesRequest- AConsumerthat will call methods onListIntegratedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListIntegratedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegratedResourcesPaginator
default ListIntegratedResourcesPublisher listIntegratedResourcesPaginator(ListIntegratedResourcesRequest listIntegratedResourcesRequest) This is a variant of
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.- Parameters:
listIntegratedResourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegratedResourcesPaginator
default ListIntegratedResourcesPublisher listIntegratedResourcesPaginator(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) This is a variant of
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesPublisher publisher = client.listIntegratedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.
This is a convenience which creates an instance of the
ListIntegratedResourcesRequest.Builderavoiding the need to create one manually viaListIntegratedResourcesRequest.builder()- Parameters:
listIntegratedResourcesRequest- AConsumerthat will call methods onListIntegratedResourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrations
default CompletableFuture<ListIntegrationsResponse> listIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists the integrations in your account, optionally filtered by provider or provider type.
- Parameters:
listIntegrationsRequest-- Returns:
- A Java Future containing the result of the ListIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrations
default CompletableFuture<ListIntegrationsResponse> listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) Lists the integrations in your account, optionally filtered by provider or provider type.
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.- Returns:
- A Java Future containing the result of the ListIntegrations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsPublisher listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) This is a variant of
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.- Parameters:
listIntegrationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsPublisher listIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) This is a variant of
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsPublisher publisher = client.listIntegrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.
This is a convenience which creates an instance of the
ListIntegrationsRequest.Builderavoiding the need to create one manually viaListIntegrationsRequest.builder()- Parameters:
listIntegrationsRequest- AConsumerthat will call methods onListIntegrationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ValidationException The input fails to satisfy the constraints specified by the service.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMemberships
default CompletableFuture<ListMembershipsResponse> listMemberships(ListMembershipsRequest listMembershipsRequest) Returns a paginated list of membership summaries for the specified agent space within an application.
- Parameters:
listMembershipsRequest- Request structure for listing agent space members.- Returns:
- A Java Future containing the result of the ListMemberships operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMemberships
default CompletableFuture<ListMembershipsResponse> listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) Returns a paginated list of membership summaries for the specified agent space within an application.
This is a convenience which creates an instance of the
ListMembershipsRequest.Builderavoiding the need to create one manually viaListMembershipsRequest.builder()- Parameters:
listMembershipsRequest- AConsumerthat will call methods onListMembershipsRequest.Builderto create a request. Request structure for listing agent space members.- Returns:
- A Java Future containing the result of the ListMemberships operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMembershipsPaginator
default ListMembershipsPublisher listMembershipsPaginator(ListMembershipsRequest listMembershipsRequest) This is a variant of
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation.- Parameters:
listMembershipsRequest- Request structure for listing agent space members.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMembershipsPaginator
default ListMembershipsPublisher listMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) This is a variant of
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation.
This is a convenience which creates an instance of the
ListMembershipsRequest.Builderavoiding the need to create one manually viaListMembershipsRequest.builder()- Parameters:
listMembershipsRequest- AConsumerthat will call methods onListMembershipsRequest.Builderto create a request. Request structure for listing agent space members.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobTasks
default CompletableFuture<ListPentestJobTasksResponse> listPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest) Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.
- Parameters:
listPentestJobTasksRequest- Input for listing tasks associated with a pentest job.- Returns:
- A Java Future containing the result of the ListPentestJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobTasks
default CompletableFuture<ListPentestJobTasksResponse> listPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.
This is a convenience which creates an instance of the
ListPentestJobTasksRequest.Builderavoiding the need to create one manually viaListPentestJobTasksRequest.builder()- Parameters:
listPentestJobTasksRequest- AConsumerthat will call methods onListPentestJobTasksRequest.Builderto create a request. Input for listing tasks associated with a pentest job.- Returns:
- A Java Future containing the result of the ListPentestJobTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobTasksPaginator
default ListPentestJobTasksPublisher listPentestJobTasksPaginator(ListPentestJobTasksRequest listPentestJobTasksRequest) This is a variant of
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.- Parameters:
listPentestJobTasksRequest- Input for listing tasks associated with a pentest job.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobTasksPaginator
default ListPentestJobTasksPublisher listPentestJobTasksPaginator(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) This is a variant of
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksPublisher publisher = client.listPentestJobTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.
This is a convenience which creates an instance of the
ListPentestJobTasksRequest.Builderavoiding the need to create one manually viaListPentestJobTasksRequest.builder()- Parameters:
listPentestJobTasksRequest- AConsumerthat will call methods onListPentestJobTasksRequest.Builderto create a request. Input for listing tasks associated with a pentest job.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobsForPentest
default CompletableFuture<ListPentestJobsForPentestResponse> listPentestJobsForPentest(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) Returns a paginated list of pentest job summaries for the specified pentest configuration.
- Parameters:
listPentestJobsForPentestRequest- Input for ListPentestJobsForPentest operation.- Returns:
- A Java Future containing the result of the ListPentestJobsForPentest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobsForPentest
default CompletableFuture<ListPentestJobsForPentestResponse> listPentestJobsForPentest(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) Returns a paginated list of pentest job summaries for the specified pentest configuration.
This is a convenience which creates an instance of the
ListPentestJobsForPentestRequest.Builderavoiding the need to create one manually viaListPentestJobsForPentestRequest.builder()- Parameters:
listPentestJobsForPentestRequest- AConsumerthat will call methods onListPentestJobsForPentestRequest.Builderto create a request. Input for ListPentestJobsForPentest operation.- Returns:
- A Java Future containing the result of the ListPentestJobsForPentest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobsForPentestPaginator
default ListPentestJobsForPentestPublisher listPentestJobsForPentestPaginator(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) This is a variant of
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.- Parameters:
listPentestJobsForPentestRequest- Input for ListPentestJobsForPentest operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestJobsForPentestPaginator
default ListPentestJobsForPentestPublisher listPentestJobsForPentestPaginator(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) This is a variant of
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestPublisher publisher = client.listPentestJobsForPentestPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.
This is a convenience which creates an instance of the
ListPentestJobsForPentestRequest.Builderavoiding the need to create one manually viaListPentestJobsForPentestRequest.builder()- Parameters:
listPentestJobsForPentestRequest- AConsumerthat will call methods onListPentestJobsForPentestRequest.Builderto create a request. Input for ListPentestJobsForPentest operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentests
default CompletableFuture<ListPentestsResponse> listPentests(ListPentestsRequest listPentestsRequest) Returns a paginated list of pentest summaries for the specified agent space.
- Parameters:
listPentestsRequest- Input for listing pentests with optional filtering.- Returns:
- A Java Future containing the result of the ListPentests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentests
default CompletableFuture<ListPentestsResponse> listPentests(Consumer<ListPentestsRequest.Builder> listPentestsRequest) Returns a paginated list of pentest summaries for the specified agent space.
This is a convenience which creates an instance of the
ListPentestsRequest.Builderavoiding the need to create one manually viaListPentestsRequest.builder()- Parameters:
listPentestsRequest- AConsumerthat will call methods onListPentestsRequest.Builderto create a request. Input for listing pentests with optional filtering.- Returns:
- A Java Future containing the result of the ListPentests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestsPaginator
This is a variant of
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.- Parameters:
listPentestsRequest- Input for listing pentests with optional filtering.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPentestsPaginator
default ListPentestsPublisher listPentestsPaginator(Consumer<ListPentestsRequest.Builder> listPentestsRequest) This is a variant of
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListPentestsPublisher publisher = client.listPentestsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListPentestsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListPentestsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.
This is a convenience which creates an instance of the
ListPentestsRequest.Builderavoiding the need to create one manually viaListPentestsRequest.builder()- Parameters:
listPentestsRequest- AConsumerthat will call methods onListPentestsRequest.Builderto create a request. Input for listing pentests with optional filtering.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags associated with the specified resource.
- Parameters:
listTagsForResourceRequest- Input for ListTagsForResource operation.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the tags associated with the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request. Input for ListTagsForResource operation.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetDomains
default CompletableFuture<ListTargetDomainsResponse> listTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) Returns a paginated list of target domain summaries in your account.
- Parameters:
listTargetDomainsRequest- Input for listing target domains.- Returns:
- A Java Future containing the result of the ListTargetDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetDomains
default CompletableFuture<ListTargetDomainsResponse> listTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) Returns a paginated list of target domain summaries in your account.
This is a convenience which creates an instance of the
ListTargetDomainsRequest.Builderavoiding the need to create one manually viaListTargetDomainsRequest.builder()- Parameters:
listTargetDomainsRequest- AConsumerthat will call methods onListTargetDomainsRequest.Builderto create a request. Input for listing target domains.- Returns:
- A Java Future containing the result of the ListTargetDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetDomainsPaginator
default ListTargetDomainsPublisher listTargetDomainsPaginator(ListTargetDomainsRequest listTargetDomainsRequest) This is a variant of
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation.- Parameters:
listTargetDomainsRequest- Input for listing target domains.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetDomainsPaginator
default ListTargetDomainsPublisher listTargetDomainsPaginator(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) This is a variant of
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsPublisher publisher = client.listTargetDomainsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation.
This is a convenience which creates an instance of the
ListTargetDomainsRequest.Builderavoiding the need to create one manually viaListTargetDomainsRequest.builder()- Parameters:
listTargetDomainsRequest- AConsumerthat will call methods onListTargetDomainsRequest.Builderto create a request. Input for listing target domains.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCodeRemediation
default CompletableFuture<StartCodeRemediationResponse> startCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest) Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.
- Parameters:
startCodeRemediationRequest- Input for the StartCodeRemediation operation.- Returns:
- A Java Future containing the result of the StartCodeRemediation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCodeRemediation
default CompletableFuture<StartCodeRemediationResponse> startCodeRemediation(Consumer<StartCodeRemediationRequest.Builder> startCodeRemediationRequest) Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.
This is a convenience which creates an instance of the
StartCodeRemediationRequest.Builderavoiding the need to create one manually viaStartCodeRemediationRequest.builder()- Parameters:
startCodeRemediationRequest- AConsumerthat will call methods onStartCodeRemediationRequest.Builderto create a request. Input for the StartCodeRemediation operation.- Returns:
- A Java Future containing the result of the StartCodeRemediation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCodeReviewJob
default CompletableFuture<StartCodeReviewJobResponse> startCodeReviewJob(StartCodeReviewJobRequest startCodeReviewJobRequest) Starts a new code review job for a code review configuration. The job executes the security-focused code analysis defined in the code review.
- Parameters:
startCodeReviewJobRequest- Input for starting the execution of a code review.- Returns:
- A Java Future containing the result of the StartCodeReviewJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCodeReviewJob
default CompletableFuture<StartCodeReviewJobResponse> startCodeReviewJob(Consumer<StartCodeReviewJobRequest.Builder> startCodeReviewJobRequest) Starts a new code review job for a code review configuration. The job executes the security-focused code analysis defined in the code review.
This is a convenience which creates an instance of the
StartCodeReviewJobRequest.Builderavoiding the need to create one manually viaStartCodeReviewJobRequest.builder()- Parameters:
startCodeReviewJobRequest- AConsumerthat will call methods onStartCodeReviewJobRequest.Builderto create a request. Input for starting the execution of a code review.- Returns:
- A Java Future containing the result of the StartCodeReviewJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startPentestJob
default CompletableFuture<StartPentestJobResponse> startPentestJob(StartPentestJobRequest startPentestJobRequest) Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.
- Parameters:
startPentestJobRequest- Input for starting the execution of a pentest.- Returns:
- A Java Future containing the result of the StartPentestJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startPentestJob
default CompletableFuture<StartPentestJobResponse> startPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.
This is a convenience which creates an instance of the
StartPentestJobRequest.Builderavoiding the need to create one manually viaStartPentestJobRequest.builder()- Parameters:
startPentestJobRequest- AConsumerthat will call methods onStartPentestJobRequest.Builderto create a request. Input for starting the execution of a pentest.- Returns:
- A Java Future containing the result of the StartPentestJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopCodeReviewJob
default CompletableFuture<StopCodeReviewJobResponse> stopCodeReviewJob(StopCodeReviewJobRequest stopCodeReviewJobRequest) Stops a running code review job. The job transitions to a stopping state and then to stopped after cleanup completes.
- Parameters:
stopCodeReviewJobRequest- Input for stopping the execution of a code review job.- Returns:
- A Java Future containing the result of the StopCodeReviewJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopCodeReviewJob
default CompletableFuture<StopCodeReviewJobResponse> stopCodeReviewJob(Consumer<StopCodeReviewJobRequest.Builder> stopCodeReviewJobRequest) Stops a running code review job. The job transitions to a stopping state and then to stopped after cleanup completes.
This is a convenience which creates an instance of the
StopCodeReviewJobRequest.Builderavoiding the need to create one manually viaStopCodeReviewJobRequest.builder()- Parameters:
stopCodeReviewJobRequest- AConsumerthat will call methods onStopCodeReviewJobRequest.Builderto create a request. Input for stopping the execution of a code review job.- Returns:
- A Java Future containing the result of the StopCodeReviewJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopPentestJob
default CompletableFuture<StopPentestJobResponse> stopPentestJob(StopPentestJobRequest stopPentestJobRequest) Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.
- Parameters:
stopPentestJobRequest- Input for stopping the execution of a pentest.- Returns:
- A Java Future containing the result of the StopPentestJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopPentestJob
default CompletableFuture<StopPentestJobResponse> stopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.
This is a convenience which creates an instance of the
StopPentestJobRequest.Builderavoiding the need to create one manually viaStopPentestJobRequest.builder()- Parameters:
stopPentestJobRequest- AConsumerthat will call methods onStopPentestJobRequest.Builderto create a request. Input for stopping the execution of a pentest.- Returns:
- A Java Future containing the result of the StopPentestJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds tags to a resource.
- Parameters:
tagResourceRequest- Input for TagResource operation.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. Input for TagResource operation.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.
- Parameters:
untagResourceRequest- Input for UntagResource operation.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request. Input for UntagResource operation.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgentSpace
default CompletableFuture<UpdateAgentSpaceResponse> updateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.
- Parameters:
updateAgentSpaceRequest- Input for updating an agent space.- Returns:
- A Java Future containing the result of the UpdateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgentSpace
default CompletableFuture<UpdateAgentSpaceResponse> updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.
This is a convenience which creates an instance of the
UpdateAgentSpaceRequest.Builderavoiding the need to create one manually viaUpdateAgentSpaceRequest.builder()- Parameters:
updateAgentSpaceRequest- AConsumerthat will call methods onUpdateAgentSpaceRequest.Builderto create a request. Input for updating an agent space.- Returns:
- A Java Future containing the result of the UpdateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest) Updates the configuration of an existing application, including the IAM role and default KMS key.
- Parameters:
updateApplicationRequest-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the configuration of an existing application, including the IAM role and default KMS key.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCodeReview
default CompletableFuture<UpdateCodeReviewResponse> updateCodeReview(UpdateCodeReviewRequest updateCodeReviewRequest) Updates an existing code review configuration.
- Parameters:
updateCodeReviewRequest- Input for updating an existing code review.- Returns:
- A Java Future containing the result of the UpdateCodeReview operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCodeReview
default CompletableFuture<UpdateCodeReviewResponse> updateCodeReview(Consumer<UpdateCodeReviewRequest.Builder> updateCodeReviewRequest) Updates an existing code review configuration.
This is a convenience which creates an instance of the
UpdateCodeReviewRequest.Builderavoiding the need to create one manually viaUpdateCodeReviewRequest.builder()- Parameters:
updateCodeReviewRequest- AConsumerthat will call methods onUpdateCodeReviewRequest.Builderto create a request. Input for updating an existing code review.- Returns:
- A Java Future containing the result of the UpdateCodeReview operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFinding
default CompletableFuture<UpdateFindingResponse> updateFinding(UpdateFindingRequest updateFindingRequest) Updates the status or risk level of a security finding.
- Parameters:
updateFindingRequest- Input for updating an existing security finding.- Returns:
- A Java Future containing the result of the UpdateFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFinding
default CompletableFuture<UpdateFindingResponse> updateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest) Updates the status or risk level of a security finding.
This is a convenience which creates an instance of the
UpdateFindingRequest.Builderavoiding the need to create one manually viaUpdateFindingRequest.builder()- Parameters:
updateFindingRequest- AConsumerthat will call methods onUpdateFindingRequest.Builderto create a request. Input for updating an existing security finding.- Returns:
- A Java Future containing the result of the UpdateFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIntegratedResources
default CompletableFuture<UpdateIntegratedResourcesResponse> updateIntegratedResources(UpdateIntegratedResourcesRequest updateIntegratedResourcesRequest) Updates the integrated resources for an agent space, including their capabilities.
- Parameters:
updateIntegratedResourcesRequest-- Returns:
- A Java Future containing the result of the UpdateIntegratedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateIntegratedResources
default CompletableFuture<UpdateIntegratedResourcesResponse> updateIntegratedResources(Consumer<UpdateIntegratedResourcesRequest.Builder> updateIntegratedResourcesRequest) Updates the integrated resources for an agent space, including their capabilities.
This is a convenience which creates an instance of the
UpdateIntegratedResourcesRequest.Builderavoiding the need to create one manually viaUpdateIntegratedResourcesRequest.builder()- Parameters:
updateIntegratedResourcesRequest- AConsumerthat will call methods onUpdateIntegratedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateIntegratedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ResourceNotFoundException The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
- InternalServerException An unexpected error occurred during the processing of your request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource.
- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePentest
default CompletableFuture<UpdatePentestResponse> updatePentest(UpdatePentestRequest updatePentestRequest) Updates an existing pentest configuration.
- Parameters:
updatePentestRequest- Input for updating an existing pentest.- Returns:
- A Java Future containing the result of the UpdatePentest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePentest
default CompletableFuture<UpdatePentestResponse> updatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest) Updates an existing pentest configuration.
This is a convenience which creates an instance of the
UpdatePentestRequest.Builderavoiding the need to create one manually viaUpdatePentestRequest.builder()- Parameters:
updatePentestRequest- AConsumerthat will call methods onUpdatePentestRequest.Builderto create a request. Input for updating an existing pentest.- Returns:
- A Java Future containing the result of the UpdatePentest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTargetDomain
default CompletableFuture<UpdateTargetDomainResponse> updateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) Updates the verification method for a target domain.
- Parameters:
updateTargetDomainRequest- Input for updating a target domain.- Returns:
- A Java Future containing the result of the UpdateTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTargetDomain
default CompletableFuture<UpdateTargetDomainResponse> updateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest) Updates the verification method for a target domain.
This is a convenience which creates an instance of the
UpdateTargetDomainRequest.Builderavoiding the need to create one manually viaUpdateTargetDomainRequest.builder()- Parameters:
updateTargetDomainRequest- AConsumerthat will call methods onUpdateTargetDomainRequest.Builderto create a request. Input for updating a target domain.- Returns:
- A Java Future containing the result of the UpdateTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
verifyTargetDomain
default CompletableFuture<VerifyTargetDomainResponse> verifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest) Initiates verification of a target domain. This checks whether the domain ownership verification token has been properly configured.
- Parameters:
verifyTargetDomainRequest- Input for verifying ownership for a registered target domain in an agent space.- Returns:
- A Java Future containing the result of the VerifyTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
verifyTargetDomain
default CompletableFuture<VerifyTargetDomainResponse> verifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) Initiates verification of a target domain. This checks whether the domain ownership verification token has been properly configured.
This is a convenience which creates an instance of the
VerifyTargetDomainRequest.Builderavoiding the need to create one manually viaVerifyTargetDomainRequest.builder()- Parameters:
verifyTargetDomainRequest- AConsumerthat will call methods onVerifyTargetDomainRequest.Builderto create a request. Input for verifying ownership for a registered target domain in an agent space.- Returns:
- A Java Future containing the result of the VerifyTargetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SecurityAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aSecurityAgentAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSecurityAgentAsyncClient.
-