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 service documentation.
-
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) Adds an Artifact for the given agent spacedefault CompletableFuture<AddArtifactResponse> addArtifact(AddArtifactRequest addArtifactRequest) Adds an Artifact for the given agent spacebatchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest) Deletes multiple pentests in a single requestbatchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) Deletes multiple pentests in a single requestbatchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest) Retrieves multiple agent spaces in a single requestbatchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) Retrieves multiple agent spaces in a single requestbatchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest) Retrieve the list of artifact metadata for the given agent spacebatchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest) Retrieve the list of artifact metadata for the given agent spacebatchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest) Retrieves multiple findings in a single requestbatchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) Retrieves multiple findings in a single requestbatchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest) Retrieves multiple pentest jobs in a single requestbatchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) Retrieves multiple pentest jobs in a single requestbatchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest) Retrieves multiple tasks for a pentest job in a single requestbatchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) Retrieves multiple tasks for a pentest job in a single requestbatchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest) Retrieves multiple pentests in a single requestbatchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) Retrieves multiple pentests in a single requestbatchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest) Retrieves multiple target domains in a single requestbatchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) Retrieves multiple target domains in a single requestbuilder()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 an agent space recordcreateAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates an agent space recordcreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new applicationcreateApplication(CreateApplicationRequest createApplicationRequest) Creates a new applicationcreateIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates the Integration of the Security Agent App with an external ProvidercreateIntegration(CreateIntegrationRequest createIntegrationRequest) Creates the Integration of the Security Agent App with an external ProvidercreateMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) Adds a single member to an agent space with specified rolecreateMembership(CreateMembershipRequest createMembershipRequest) Adds a single member to an agent space with specified roledefault CompletableFuture<CreatePentestResponse> createPentest(Consumer<CreatePentestRequest.Builder> createPentestRequest) Creates a new pentest configurationdefault CompletableFuture<CreatePentestResponse> createPentest(CreatePentestRequest createPentestRequest) Creates a new pentest configurationcreateTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest) Creates a target domain recordcreateTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) Creates a target domain recorddeleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an agent space recorddeleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an agent space recorddeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an applicationdeleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes an applicationdefault CompletableFuture<DeleteArtifactResponse> deleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest) Delete an Artifact from the given agent spacedefault CompletableFuture<DeleteArtifactResponse> deleteArtifact(DeleteArtifactRequest deleteArtifactRequest) Delete an Artifact from the given agent spacedeleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes the Integration of the Security Agent App with an external ProviderdeleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes the Integration of the Security Agent App with an external ProviderdeleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) Removes a single member associated to an agent spacedeleteMembership(DeleteMembershipRequest deleteMembershipRequest) Removes a single member associated to an agent spacedeleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest) Deletes a target domain recorddeleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest) Deletes a target domain recorddefault CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Retrieves application details by application IDdefault CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest) Retrieves application details by application IDdefault CompletableFuture<GetArtifactResponse> getArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest) Retrieve an Artifact for the given agent spacedefault CompletableFuture<GetArtifactResponse> getArtifact(GetArtifactRequest getArtifactRequest) Retrieve an Artifact for the given agent spacedefault CompletableFuture<GetIntegrationResponse> getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Gets Integration metadata from the provided iddefault CompletableFuture<GetIntegrationResponse> getIntegration(GetIntegrationRequest getIntegrationRequest) Gets Integration metadata from the provided idinitiateProviderRegistration(Consumer<InitiateProviderRegistrationRequest.Builder> initiateProviderRegistrationRequest) Initiates the registration of Security Agent App for an external ProviderinitiateProviderRegistration(InitiateProviderRegistrationRequest initiateProviderRegistrationRequest) Initiates the registration of Security Agent App for an external Providerdefault CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Lists agent spacesdefault CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Lists agent spacesdefault 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) Lists all applications in the accountlistApplications(ListApplicationsRequest listApplicationsRequest) Lists all applications in the accountdefault 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) Lists the artifacts for the associated agent spacedefault CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest) Lists the artifacts for the associated agent spacedefault 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.listDiscoveredEndpoints(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) Lists discovered endpoints associated with a pentest job with optional URI prefix filteringlistDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) Lists discovered endpoints associated with a pentest job with optional URI prefix filteringdefault 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 findings with filtering and pagination support.default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest) Lists findings with filtering and pagination support.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 spacelistIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest) Lists the integrated resources for an agent spacedefault 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) Retrieves the Integrations associated with the user's accountlistIntegrations(ListIntegrationsRequest listIntegrationsRequest) Retrieves the Integrations associated with the user's accountdefault 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) Lists all members associated to an agent space with pagination supportdefault CompletableFuture<ListMembershipsResponse> listMemberships(ListMembershipsRequest listMembershipsRequest) Lists all members associated to an agent space with pagination supportdefault 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) Lists pentest jobs associated with a pentestlistPentestJobsForPentest(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) Lists pentest jobs associated with a pentestlistPentestJobsForPentestPaginator(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) Lists tasks associated with a specific pentest joblistPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest) Lists tasks associated with a specific pentest jobdefault 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) Lists pentests with optional filtering by statusdefault CompletableFuture<ListPentestsResponse> listPentests(ListPentestsRequest listPentestsRequest) Lists pentests with optional filtering by statusdefault 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) Lists tags for a Security Agent resourcelistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for a Security Agent resourcelistTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) Lists target domainslistTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) Lists target domainsdefault 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) Starts code remediation for the specified findingsstartCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest) Starts code remediation for the specified findingsdefault CompletableFuture<StartPentestJobResponse> startPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) Initiates the execution of a pentestdefault CompletableFuture<StartPentestJobResponse> startPentestJob(StartPentestJobRequest startPentestJobRequest) Initiates the execution of a pentestdefault CompletableFuture<StopPentestJobResponse> stopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) Stops the execution of a running pentestdefault CompletableFuture<StopPentestJobResponse> stopPentestJob(StopPentestJobRequest stopPentestJobRequest) Stops the execution of a running pentestdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a Security Agent resourcedefault CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to a Security Agent resourcedefault CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Security Agent resourcedefault CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Security Agent resourceupdateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates an agent space recordupdateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates an agent space recordupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates application configurationupdateApplication(UpdateApplicationRequest updateApplicationRequest) Updates application configurationdefault CompletableFuture<UpdateFindingResponse> updateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest) Updates an existing security finding with new details or statusdefault CompletableFuture<UpdateFindingResponse> updateFinding(UpdateFindingRequest updateFindingRequest) Updates an existing security finding with new details or statusupdateIntegratedResources(Consumer<UpdateIntegratedResourcesRequest.Builder> updateIntegratedResourcesRequest) Updates the integrated resources for an agent spaceupdateIntegratedResources(UpdateIntegratedResourcesRequest updateIntegratedResourcesRequest) Updates the integrated resources for an agent spacedefault CompletableFuture<UpdatePentestResponse> updatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest) Updates an existing pentest with new configuration or settingsdefault CompletableFuture<UpdatePentestResponse> updatePentest(UpdatePentestRequest updatePentestRequest) Updates an existing pentest with new configuration or settingsupdateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest) Updates a target domain recordupdateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) Updates a target domain recordverifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) Verifies ownership for a registered target domainverifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest) Verifies ownership for a registered target domainMethods 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
Adds an Artifact for the given agent space
- 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Adds an Artifact for the given agent space
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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 multiple pentests in a single request
- 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 multiple pentests in a single request
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 multiple agent spaces in a single request
- 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 multiple agent spaces in a single request
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) Retrieve the list of artifact metadata for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Retrieve the list of artifact metadata for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 multiple findings in a single request
- 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 multiple findings in a single request
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 multiple tasks for a pentest job in a single request
- Parameters:
batchGetPentestJobTasksRequest- Input for retrieving multiple tasks by their IDs for 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 multiple tasks for a pentest job in a single request
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 by their IDs for 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 multiple pentest jobs in a single request
- 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 multiple pentest jobs in a single request
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 multiple pentests in a single request
- 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 multiple pentests in a single request
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 multiple target domains in a single request
- 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 multiple target domains in a single request
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 an agent space record
- 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 an agent space record
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
- 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
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:
-
createIntegration
default CompletableFuture<CreateIntegrationResponse> createIntegration(CreateIntegrationRequest createIntegrationRequest) Creates the Integration of the Security Agent App with an external Provider
- 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 the Integration of the Security Agent App with an external Provider
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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Adds a single member to an agent space with specified role
- 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) Adds a single member to an agent space with specified role
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
- 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
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 target domain record
- 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 target domain record
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 record
- 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 record
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
- 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
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) Delete an Artifact from the given 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Delete an Artifact from the given 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 the Integration of the Security Agent App with an external 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 Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 the Integration of the Security Agent App with an external 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 Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Removes a single member associated 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) Removes a single member associated 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 record
- 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 record
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 application details by application ID
- 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 application details by application ID
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
Retrieve an Artifact for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Retrieve an Artifact for the given 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Gets Integration metadata from the provided id
- 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 Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Gets Integration metadata from the provided id
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 Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- InternalServerException Unexpected server error occurred
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 registration of Security Agent App for an external Provider
- 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 registration of Security Agent App for an external Provider
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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Lists agent spaces
- 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) Lists agent spaces
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) Lists all applications in the 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) Lists all applications in the 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) Lists the artifacts for the associated 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 Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Lists the artifacts for the associated 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 Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Unexpected server error occurred
- ResourceNotFoundException Specified resource was not found
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Lists discovered endpoints associated with a pentest job with optional URI prefix filtering
- 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) Lists discovered endpoints associated with a pentest job with optional URI prefix filtering
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 findings with filtering and pagination support. When filters are applied, the actual number of results returned may be less than the specified limit
- 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 findings with filtering and pagination support. When filters are applied, the actual number of results returned may be less than the specified limit
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
- 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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
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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ValidationException A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Retrieves the Integrations associated with the user's account
- 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Retrieves the Integrations associated with the user's account
This is a convenience which creates an instance of the
ListIntegrationsRequest.Builderavoiding the need to create one manually viaListIntegrationsRequest.builder()- Parameters:
listIntegrationsRequest- AConsumerthat will call methods onListIntegrationsRequest.Builderto create a request.- 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Specified resource was not found
- InternalServerException Unexpected server error occurred
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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) Lists all members associated to an agent space with pagination support
- 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) Lists all members associated to an agent space with pagination support
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) Lists tasks associated with a specific pentest job
- Parameters:
listPentestJobTasksRequest- Input for listing tasks associated with a specific 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) Lists tasks associated with a specific pentest job
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 specific 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 specific 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 specific 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) Lists pentest jobs associated with a pentest
- 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) Lists pentest jobs associated with a pentest
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) Lists pentests with optional filtering by status
- 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) Lists pentests with optional filtering by status
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) Lists tags for a Security Agent 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) Lists tags for a Security Agent 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) Lists target domains
- 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) Lists target domains
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) Starts code remediation for the specified findings
- 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) Starts code remediation for the specified findings
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:
-
startPentestJob
default CompletableFuture<StartPentestJobResponse> startPentestJob(StartPentestJobRequest startPentestJobRequest) Initiates the execution of a 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) Initiates the execution of a 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:
-
stopPentestJob
default CompletableFuture<StopPentestJobResponse> stopPentestJob(StopPentestJobRequest stopPentestJobRequest) Stops the execution of a running pentest
- 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 the execution of a running pentest
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 Security Agent 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 Security Agent 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 Security Agent 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 Security Agent 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 an agent space record
- 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 an agent space record
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 application configuration
- 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 application configuration
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:
-
updateFinding
default CompletableFuture<UpdateFindingResponse> updateFinding(UpdateFindingRequest updateFindingRequest) Updates an existing security finding with new details or status
- 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 an existing security finding with new details or status
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
- 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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ResourceNotFoundException Specified resource was not found
- InternalServerException Unexpected server error occurred
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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
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 A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
- ResourceNotFoundException Specified resource was not found
- InternalServerException Unexpected server error occurred
- ConflictException Request conflicts with current resource state
- ThrottlingException Request denied due to throttling
- AccessDeniedException Request denied due to insufficient permissions
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 with new configuration or settings
- 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 with new configuration or settings
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 a target domain record
- 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 a target domain record
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) Verifies ownership for a registered target domain
- 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) Verifies ownership for a registered target domain
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.
-