Interface SecurityAgentClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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 AddArtifactResponseaddArtifact(Consumer<AddArtifactRequest.Builder> addArtifactRequest) Adds an Artifact for the given agent spacedefault AddArtifactResponseaddArtifact(AddArtifactRequest addArtifactRequest) Adds an Artifact for the given agent spacedefault BatchDeletePentestsResponsebatchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest) Deletes multiple pentests in a single requestdefault BatchDeletePentestsResponsebatchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) Deletes multiple pentests in a single requestdefault BatchGetAgentSpacesResponsebatchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest) Retrieves multiple agent spaces in a single requestdefault BatchGetAgentSpacesResponsebatchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) Retrieves multiple agent spaces in a single requestdefault BatchGetArtifactMetadataResponsebatchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest) Retrieve the list of artifact metadata for the given agent spacedefault BatchGetArtifactMetadataResponsebatchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest) Retrieve the list of artifact metadata for the given agent spacedefault BatchGetFindingsResponsebatchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest) Retrieves multiple findings in a single requestdefault BatchGetFindingsResponsebatchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) Retrieves multiple findings in a single requestdefault BatchGetPentestJobsResponsebatchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest) Retrieves multiple pentest jobs in a single requestdefault BatchGetPentestJobsResponsebatchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) Retrieves multiple pentest jobs in a single requestdefault BatchGetPentestJobTasksResponsebatchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest) Retrieves multiple tasks for a pentest job in a single requestdefault BatchGetPentestJobTasksResponsebatchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) Retrieves multiple tasks for a pentest job in a single requestdefault BatchGetPentestsResponsebatchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest) Retrieves multiple pentests in a single requestdefault BatchGetPentestsResponsebatchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) Retrieves multiple pentests in a single requestdefault BatchGetTargetDomainsResponsebatchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest) Retrieves multiple target domains in a single requestdefault BatchGetTargetDomainsResponsebatchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) Retrieves multiple target domains in a single requeststatic SecurityAgentClientBuilderbuilder()Create a builder that can be used to configure and create aSecurityAgentClient.static SecurityAgentClientcreate()Create aSecurityAgentClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAgentSpaceResponsecreateAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) Creates an agent space recorddefault CreateAgentSpaceResponsecreateAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates an agent space recorddefault CreateApplicationResponsecreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new applicationdefault CreateApplicationResponsecreateApplication(CreateApplicationRequest createApplicationRequest) Creates a new applicationdefault CreateIntegrationResponsecreateIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates the Integration of the Security Agent App with an external Providerdefault CreateIntegrationResponsecreateIntegration(CreateIntegrationRequest createIntegrationRequest) Creates the Integration of the Security Agent App with an external Providerdefault CreateMembershipResponsecreateMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) Adds a single member to an agent space with specified roledefault CreateMembershipResponsecreateMembership(CreateMembershipRequest createMembershipRequest) Adds a single member to an agent space with specified roledefault CreatePentestResponsecreatePentest(Consumer<CreatePentestRequest.Builder> createPentestRequest) Creates a new pentest configurationdefault CreatePentestResponsecreatePentest(CreatePentestRequest createPentestRequest) Creates a new pentest configurationdefault CreateTargetDomainResponsecreateTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest) Creates a target domain recorddefault CreateTargetDomainResponsecreateTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) Creates a target domain recorddefault DeleteAgentSpaceResponsedeleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an agent space recorddefault DeleteAgentSpaceResponsedeleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an agent space recorddefault DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an applicationdefault DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes an applicationdefault DeleteArtifactResponsedeleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest) Delete an Artifact from the given agent spacedefault DeleteArtifactResponsedeleteArtifact(DeleteArtifactRequest deleteArtifactRequest) Delete an Artifact from the given agent spacedefault DeleteIntegrationResponsedeleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes the Integration of the Security Agent App with an external Providerdefault DeleteIntegrationResponsedeleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes the Integration of the Security Agent App with an external Providerdefault DeleteMembershipResponsedeleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) Removes a single member associated to an agent spacedefault DeleteMembershipResponsedeleteMembership(DeleteMembershipRequest deleteMembershipRequest) Removes a single member associated to an agent spacedefault DeleteTargetDomainResponsedeleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest) Deletes a target domain recorddefault DeleteTargetDomainResponsedeleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest) Deletes a target domain recorddefault GetApplicationResponsegetApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Retrieves application details by application IDdefault GetApplicationResponsegetApplication(GetApplicationRequest getApplicationRequest) Retrieves application details by application IDdefault GetArtifactResponsegetArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest) Retrieve an Artifact for the given agent spacedefault GetArtifactResponsegetArtifact(GetArtifactRequest getArtifactRequest) Retrieve an Artifact for the given agent spacedefault GetIntegrationResponsegetIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Gets Integration metadata from the provided iddefault GetIntegrationResponsegetIntegration(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 ListAgentSpacesResponselistAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Lists agent spacesdefault ListAgentSpacesResponselistAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Lists agent spacesdefault ListAgentSpacesIterablelistAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) This is a variant oflistAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.default ListAgentSpacesIterablelistAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest) This is a variant oflistAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.default ListApplicationsResponselistApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Lists all applications in the accountdefault ListApplicationsResponselistApplications(ListApplicationsRequest listApplicationsRequest) Lists all applications in the accountdefault ListApplicationsIterablelistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.default ListApplicationsIterablelistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.default ListArtifactsResponselistArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) Lists the artifacts for the associated agent spacedefault ListArtifactsResponselistArtifacts(ListArtifactsRequest listArtifactsRequest) Lists the artifacts for the associated agent spacedefault ListArtifactsIterablelistArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) This is a variant oflistArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.default ListArtifactsIterablelistArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) This is a variant oflistArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.default ListDiscoveredEndpointsResponselistDiscoveredEndpoints(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) Lists discovered endpoints associated with a pentest job with optional URI prefix filteringdefault ListDiscoveredEndpointsResponselistDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) Lists discovered endpoints associated with a pentest job with optional URI prefix filteringdefault ListDiscoveredEndpointsIterablelistDiscoveredEndpointsPaginator(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) This is a variant oflistDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.default ListDiscoveredEndpointsIterablelistDiscoveredEndpointsPaginator(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) This is a variant oflistDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.default ListFindingsResponselistFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Lists findings with filtering and pagination support.default ListFindingsResponselistFindings(ListFindingsRequest listFindingsRequest) Lists findings with filtering and pagination support.default ListFindingsIterablelistFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.default ListFindingsIterablelistFindingsPaginator(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.default ListIntegratedResourcesResponselistIntegratedResources(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) Lists the integrated resources for an agent spacedefault ListIntegratedResourcesResponselistIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest) Lists the integrated resources for an agent spacedefault ListIntegratedResourcesIterablelistIntegratedResourcesPaginator(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) This is a variant oflistIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.default ListIntegratedResourcesIterablelistIntegratedResourcesPaginator(ListIntegratedResourcesRequest listIntegratedResourcesRequest) This is a variant oflistIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.default ListIntegrationsResponselistIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) Retrieves the Integrations associated with the user's accountdefault ListIntegrationsResponselistIntegrations(ListIntegrationsRequest listIntegrationsRequest) Retrieves the Integrations associated with the user's accountdefault ListIntegrationsIterablelistIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.default ListIntegrationsIterablelistIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) This is a variant oflistIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.default ListMembershipsResponselistMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) Lists all members associated to an agent space with pagination supportdefault ListMembershipsResponselistMemberships(ListMembershipsRequest listMembershipsRequest) Lists all members associated to an agent space with pagination supportdefault ListMembershipsIterablelistMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) This is a variant oflistMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation.default ListMembershipsIterablelistMembershipsPaginator(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.default ListPentestJobTasksResponselistPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) Lists tasks associated with a specific pentest jobdefault ListPentestJobTasksResponselistPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest) Lists tasks associated with a specific pentest jobdefault ListPentestJobTasksIterablelistPentestJobTasksPaginator(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) This is a variant oflistPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.default ListPentestJobTasksIterablelistPentestJobTasksPaginator(ListPentestJobTasksRequest listPentestJobTasksRequest) This is a variant oflistPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.default ListPentestsResponselistPentests(Consumer<ListPentestsRequest.Builder> listPentestsRequest) Lists pentests with optional filtering by statusdefault ListPentestsResponselistPentests(ListPentestsRequest listPentestsRequest) Lists pentests with optional filtering by statusdefault ListPentestsIterablelistPentestsPaginator(Consumer<ListPentestsRequest.Builder> listPentestsRequest) This is a variant oflistPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.default ListPentestsIterablelistPentestsPaginator(ListPentestsRequest listPentestsRequest) This is a variant oflistPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for a Security Agent resourcedefault ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for a Security Agent resourcedefault ListTargetDomainsResponselistTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) Lists target domainsdefault ListTargetDomainsResponselistTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) Lists target domainsdefault ListTargetDomainsIterablelistTargetDomainsPaginator(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) This is a variant oflistTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation.default ListTargetDomainsIterablelistTargetDomainsPaginator(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., ClientOverrideConfigurationstatic ServiceMetadatadefault StartCodeRemediationResponsestartCodeRemediation(Consumer<StartCodeRemediationRequest.Builder> startCodeRemediationRequest) Starts code remediation for the specified findingsdefault StartCodeRemediationResponsestartCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest) Starts code remediation for the specified findingsdefault StartPentestJobResponsestartPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) Initiates the execution of a pentestdefault StartPentestJobResponsestartPentestJob(StartPentestJobRequest startPentestJobRequest) Initiates the execution of a pentestdefault StopPentestJobResponsestopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) Stops the execution of a running pentestdefault StopPentestJobResponsestopPentestJob(StopPentestJobRequest stopPentestJobRequest) Stops the execution of a running pentestdefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a Security Agent resourcedefault TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a Security Agent resourcedefault UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a Security Agent resourcedefault UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a Security Agent resourcedefault UpdateAgentSpaceResponseupdateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates an agent space recorddefault UpdateAgentSpaceResponseupdateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates an agent space recorddefault UpdateApplicationResponseupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates application configurationdefault UpdateApplicationResponseupdateApplication(UpdateApplicationRequest updateApplicationRequest) Updates application configurationdefault UpdateFindingResponseupdateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest) Updates an existing security finding with new details or statusdefault UpdateFindingResponseupdateFinding(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 UpdatePentestResponseupdatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest) Updates an existing pentest with new configuration or settingsdefault UpdatePentestResponseupdatePentest(UpdatePentestRequest updatePentestRequest) Updates an existing pentest with new configuration or settingsdefault UpdateTargetDomainResponseupdateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest) Updates a target domain recorddefault UpdateTargetDomainResponseupdateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) Updates a target domain recorddefault VerifyTargetDomainResponseverifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) Verifies ownership for a registered target domaindefault VerifyTargetDomainResponseverifyTargetDomain(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
default AddArtifactResponse addArtifact(AddArtifactRequest addArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Adds an Artifact for the given agent space
- Parameters:
addArtifactRequest-- Returns:
- Result of the AddArtifact operation returned by the service.
- See Also:
-
addArtifact
default AddArtifactResponse addArtifact(Consumer<AddArtifactRequest.Builder> addArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the AddArtifact operation returned by the service.
- See Also:
-
batchDeletePentests
default BatchDeletePentestsResponse batchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes multiple pentests in a single request
- Parameters:
batchDeletePentestsRequest- Input for deleting multiple pentests- Returns:
- Result of the BatchDeletePentests operation returned by the service.
- See Also:
-
batchDeletePentests
default BatchDeletePentestsResponse batchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchDeletePentests operation returned by the service.
- See Also:
-
batchGetAgentSpaces
default BatchGetAgentSpacesResponse batchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves multiple agent spaces in a single request
- Parameters:
batchGetAgentSpacesRequest- Input for batch retrieving agent spaces- Returns:
- Result of the BatchGetAgentSpaces operation returned by the service.
- See Also:
-
batchGetAgentSpaces
default BatchGetAgentSpacesResponse batchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetAgentSpaces operation returned by the service.
- See Also:
-
batchGetArtifactMetadata
default BatchGetArtifactMetadataResponse batchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Retrieve the list of artifact metadata for the given agent space
- Parameters:
batchGetArtifactMetadataRequest-- Returns:
- Result of the BatchGetArtifactMetadata operation returned by the service.
- See Also:
-
batchGetArtifactMetadata
default BatchGetArtifactMetadataResponse batchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetArtifactMetadata operation returned by the service.
- See Also:
-
batchGetFindings
default BatchGetFindingsResponse batchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves multiple findings in a single request
- Parameters:
batchGetFindingsRequest- Input for BatchGetFindings operation- Returns:
- Result of the BatchGetFindings operation returned by the service.
- See Also:
-
batchGetFindings
default BatchGetFindingsResponse batchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetFindings operation returned by the service.
- See Also:
-
batchGetPentestJobTasks
default BatchGetPentestJobTasksResponse batchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetPentestJobTasks operation returned by the service.
- See Also:
-
batchGetPentestJobTasks
default BatchGetPentestJobTasksResponse batchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetPentestJobTasks operation returned by the service.
- See Also:
-
batchGetPentestJobs
default BatchGetPentestJobsResponse batchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves multiple pentest jobs in a single request
- Parameters:
batchGetPentestJobsRequest- Input for BatchGetPentestJobs operation- Returns:
- Result of the BatchGetPentestJobs operation returned by the service.
- See Also:
-
batchGetPentestJobs
default BatchGetPentestJobsResponse batchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetPentestJobs operation returned by the service.
- See Also:
-
batchGetPentests
default BatchGetPentestsResponse batchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves multiple pentests in a single request
- Parameters:
batchGetPentestsRequest- Input for retrieving multiple pentests by their IDs- Returns:
- Result of the BatchGetPentests operation returned by the service.
- See Also:
-
batchGetPentests
default BatchGetPentestsResponse batchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetPentests operation returned by the service.
- See Also:
-
batchGetTargetDomains
default BatchGetTargetDomainsResponse batchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves multiple target domains in a single request
- Parameters:
batchGetTargetDomainsRequest- Input for batch retrieving target domains- Returns:
- Result of the BatchGetTargetDomains operation returned by the service.
- See Also:
-
batchGetTargetDomains
default BatchGetTargetDomainsResponse batchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the BatchGetTargetDomains operation returned by the service.
- See Also:
-
createAgentSpace
default CreateAgentSpaceResponse createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates an agent space record
- Parameters:
createAgentSpaceRequest- Input for creating a new agent space- Returns:
- Result of the CreateAgentSpace operation returned by the service.
- See Also:
-
createAgentSpace
default CreateAgentSpaceResponse createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreateAgentSpace operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new application
- Parameters:
createApplicationRequest-- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createIntegration
default CreateIntegrationResponse createIntegration(CreateIntegrationRequest createIntegrationRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Creates the Integration of the Security Agent App with an external Provider
- Parameters:
createIntegrationRequest-- Returns:
- Result of the CreateIntegration operation returned by the service.
- See Also:
-
createIntegration
default CreateIntegrationResponse createIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreateIntegration operation returned by the service.
- See Also:
-
createMembership
default CreateMembershipResponse createMembership(CreateMembershipRequest createMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreateMembership operation returned by the service.
- See Also:
-
createMembership
default CreateMembershipResponse createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreateMembership operation returned by the service.
- See Also:
-
createPentest
default CreatePentestResponse createPentest(CreatePentestRequest createPentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new pentest configuration
- Parameters:
createPentestRequest- Input for creating a new pentest- Returns:
- Result of the CreatePentest operation returned by the service.
- See Also:
-
createPentest
default CreatePentestResponse createPentest(Consumer<CreatePentestRequest.Builder> createPentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreatePentest operation returned by the service.
- See Also:
-
createTargetDomain
default CreateTargetDomainResponse createTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a target domain record
- Parameters:
createTargetDomainRequest- Input for creating a new target domain- Returns:
- Result of the CreateTargetDomain operation returned by the service.
- See Also:
-
createTargetDomain
default CreateTargetDomainResponse createTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the CreateTargetDomain operation returned by the service.
- See Also:
-
deleteAgentSpace
default DeleteAgentSpaceResponse deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes an agent space record
- Parameters:
deleteAgentSpaceRequest- Input for deleting an agent space- Returns:
- Result of the DeleteAgentSpace operation returned by the service.
- See Also:
-
deleteAgentSpace
default DeleteAgentSpaceResponse deleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the DeleteAgentSpace operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes an application
- Parameters:
deleteApplicationRequest-- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteArtifact
default DeleteArtifactResponse deleteArtifact(DeleteArtifactRequest deleteArtifactRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Delete an Artifact from the given agent space
- Parameters:
deleteArtifactRequest-- Returns:
- Result of the DeleteArtifact operation returned by the service.
- See Also:
-
deleteArtifact
default DeleteArtifactResponse deleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the DeleteArtifact operation returned by the service.
- See Also:
-
deleteIntegration
default DeleteIntegrationResponse deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Deletes the Integration of the Security Agent App with an external Provider
- Parameters:
deleteIntegrationRequest-- Returns:
- Result of the DeleteIntegration operation returned by the service.
- See Also:
-
deleteIntegration
default DeleteIntegrationResponse deleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the DeleteIntegration operation returned by the service.
- See Also:
-
deleteMembership
default DeleteMembershipResponse deleteMembership(DeleteMembershipRequest deleteMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Removes a single member associated to an agent space
- Parameters:
deleteMembershipRequest- Request structure for removing a single member from an agent space- Returns:
- Result of the DeleteMembership operation returned by the service.
- See Also:
-
deleteMembership
default DeleteMembershipResponse deleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the DeleteMembership operation returned by the service.
- See Also:
-
deleteTargetDomain
default DeleteTargetDomainResponse deleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes a target domain record
- Parameters:
deleteTargetDomainRequest- Input for deleting a target domain- Returns:
- Result of the DeleteTargetDomain operation returned by the service.
- See Also:
-
deleteTargetDomain
default DeleteTargetDomainResponse deleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the DeleteTargetDomain operation returned by the service.
- See Also:
-
getApplication
default GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves application details by application ID
- Parameters:
getApplicationRequest-- Returns:
- Result of the GetApplication operation returned by the service.
- See Also:
-
getApplication
default GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the GetApplication operation returned by the service.
- See Also:
-
getArtifact
default GetArtifactResponse getArtifact(GetArtifactRequest getArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Retrieve an Artifact for the given agent space
- Parameters:
getArtifactRequest-- Returns:
- Result of the GetArtifact operation returned by the service.
- See Also:
-
getArtifact
default GetArtifactResponse getArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the GetArtifact operation returned by the service.
- See Also:
-
getIntegration
default GetIntegrationResponse getIntegration(GetIntegrationRequest getIntegrationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Gets Integration metadata from the provided id
- Parameters:
getIntegrationRequest-- Returns:
- Result of the GetIntegration operation returned by the service.
- See Also:
-
getIntegration
default GetIntegrationResponse getIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the GetIntegration operation returned by the service.
- See Also:
-
initiateProviderRegistration
default InitiateProviderRegistrationResponse initiateProviderRegistration(InitiateProviderRegistrationRequest initiateProviderRegistrationRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Initiates the registration of Security Agent App for an external Provider
- Parameters:
initiateProviderRegistrationRequest-- Returns:
- Result of the InitiateProviderRegistration operation returned by the service.
- See Also:
-
initiateProviderRegistration
default InitiateProviderRegistrationResponse initiateProviderRegistration(Consumer<InitiateProviderRegistrationRequest.Builder> initiateProviderRegistrationRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the InitiateProviderRegistration operation returned by the service.
- See Also:
-
listAgentSpaces
default ListAgentSpacesResponse listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists agent spaces
- Parameters:
listAgentSpacesRequest- Input for listing agent spaces- Returns:
- Result of the ListAgentSpaces operation returned by the service.
- See Also:
-
listAgentSpaces
default ListAgentSpacesResponse listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListAgentSpaces operation returned by the service.
- See Also:
-
listAgentSpacesPaginator
default ListAgentSpacesIterable listAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesIterable responses = client.listAgentSpacesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesIterable responses = client .listAgentSpacesPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesIterable responses = client.listAgentSpacesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation.- Parameters:
listAgentSpacesRequest- Input for listing agent spaces- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAgentSpacesPaginator
default ListAgentSpacesIterable listAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listAgentSpaces(software.amazon.awssdk.services.securityagent.model.ListAgentSpacesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesIterable responses = client.listAgentSpacesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesIterable responses = client .listAgentSpacesPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListAgentSpacesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListAgentSpacesIterable responses = client.listAgentSpacesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists all applications in the account
- Parameters:
listApplicationsRequest-- Returns:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listApplications(software.amazon.awssdk.services.securityagent.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listArtifacts
default ListArtifactsResponse listArtifacts(ListArtifactsRequest listArtifactsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Lists the artifacts for the associated agent space
- Parameters:
listArtifactsRequest-- Returns:
- Result of the ListArtifacts operation returned by the service.
- See Also:
-
listArtifacts
default ListArtifactsResponse listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListArtifacts operation returned by the service.
- See Also:
-
listArtifactsPaginator
default ListArtifactsIterable listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListArtifactsIterable responses = client .listArtifactsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation.- Parameters:
listArtifactsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listArtifactsPaginator
default ListArtifactsIterable listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listArtifacts(software.amazon.awssdk.services.securityagent.model.ListArtifactsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListArtifactsIterable responses = client .listArtifactsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListArtifactsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listDiscoveredEndpoints
default ListDiscoveredEndpointsResponse listDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists discovered endpoints associated with a pentest job with optional URI prefix filtering
- Parameters:
listDiscoveredEndpointsRequest- Input for ListDiscoveredEndpoints operation- Returns:
- Result of the ListDiscoveredEndpoints operation returned by the service.
- See Also:
-
listDiscoveredEndpoints
default ListDiscoveredEndpointsResponse listDiscoveredEndpoints(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListDiscoveredEndpoints operation returned by the service.
- See Also:
-
listDiscoveredEndpointsPaginator
default ListDiscoveredEndpointsIterable listDiscoveredEndpointsPaginator(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsIterable responses = client.listDiscoveredEndpointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsIterable responses = client .listDiscoveredEndpointsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsIterable responses = client.listDiscoveredEndpointsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation.- Parameters:
listDiscoveredEndpointsRequest- Input for ListDiscoveredEndpoints operation- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDiscoveredEndpointsPaginator
default ListDiscoveredEndpointsIterable listDiscoveredEndpointsPaginator(Consumer<ListDiscoveredEndpointsRequest.Builder> listDiscoveredEndpointsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listDiscoveredEndpoints(software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsIterable responses = client.listDiscoveredEndpointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsIterable responses = client .listDiscoveredEndpointsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListDiscoveredEndpointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListDiscoveredEndpointsIterable responses = client.listDiscoveredEndpointsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListFindingsIterable responses = client .listFindingsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation.- Parameters:
listFindingsRequest- Input for ListFindings operation with filtering support- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listFindings(software.amazon.awssdk.services.securityagent.model.ListFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListFindingsIterable responses = client .listFindingsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntegratedResources
default ListIntegratedResourcesResponse listIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Lists the integrated resources for an agent space
- Parameters:
listIntegratedResourcesRequest-- Returns:
- Result of the ListIntegratedResources operation returned by the service.
- See Also:
-
listIntegratedResources
default ListIntegratedResourcesResponse listIntegratedResources(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListIntegratedResources operation returned by the service.
- See Also:
-
listIntegratedResourcesPaginator
default ListIntegratedResourcesIterable listIntegratedResourcesPaginator(ListIntegratedResourcesRequest listIntegratedResourcesRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesIterable responses = client.listIntegratedResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesIterable responses = client .listIntegratedResourcesPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesIterable responses = client.listIntegratedResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation.- Parameters:
listIntegratedResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntegratedResourcesPaginator
default ListIntegratedResourcesIterable listIntegratedResourcesPaginator(Consumer<ListIntegratedResourcesRequest.Builder> listIntegratedResourcesRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listIntegratedResources(software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesIterable responses = client.listIntegratedResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesIterable responses = client .listIntegratedResourcesPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListIntegratedResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListIntegratedResourcesIterable responses = client.listIntegratedResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntegrations
default ListIntegrationsResponse listIntegrations(ListIntegrationsRequest listIntegrationsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Retrieves the Integrations associated with the user's account
- Parameters:
listIntegrationsRequest-- Returns:
- Result of the ListIntegrations operation returned by the service.
- See Also:
-
listIntegrations
default ListIntegrationsResponse listIntegrations(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListIntegrations operation returned by the service.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsIterable listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsIterable responses = client .listIntegrationsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation.- Parameters:
listIntegrationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsIterable listIntegrationsPaginator(Consumer<ListIntegrationsRequest.Builder> listIntegrationsRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listIntegrations(software.amazon.awssdk.services.securityagent.model.ListIntegrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListIntegrationsIterable responses = client .listIntegrationsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListIntegrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListIntegrationsIterable responses = client.listIntegrationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntegrations(software.amazon.awssdk.services.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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemberships
default ListMembershipsResponse listMemberships(ListMembershipsRequest listMembershipsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists all members associated to an agent space with pagination support
- Parameters:
listMembershipsRequest- Request structure for listing agent space members- Returns:
- Result of the ListMemberships operation returned by the service.
- See Also:
-
listMemberships
default ListMembershipsResponse listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListMemberships operation returned by the service.
- See Also:
-
listMembershipsPaginator
default ListMembershipsIterable listMembershipsPaginator(ListMembershipsRequest listMembershipsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListMembershipsIterable responses = client .listMembershipsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation.- Parameters:
listMembershipsRequest- Request structure for listing agent space members- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembershipsPaginator
default ListMembershipsIterable listMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listMemberships(software.amazon.awssdk.services.securityagent.model.ListMembershipsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListMembershipsIterable responses = client .listMembershipsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListMembershipsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPentestJobTasks
default ListPentestJobTasksResponse listPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists tasks associated with a specific pentest job
- Parameters:
listPentestJobTasksRequest- Input for listing tasks associated with a specific pentest job- Returns:
- Result of the ListPentestJobTasks operation returned by the service.
- See Also:
-
listPentestJobTasks
default ListPentestJobTasksResponse listPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListPentestJobTasks operation returned by the service.
- See Also:
-
listPentestJobTasksPaginator
default ListPentestJobTasksIterable listPentestJobTasksPaginator(ListPentestJobTasksRequest listPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksIterable responses = client.listPentestJobTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksIterable responses = client .listPentestJobTasksPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksIterable responses = client.listPentestJobTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation.- Parameters:
listPentestJobTasksRequest- Input for listing tasks associated with a specific pentest job- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPentestJobTasksPaginator
default ListPentestJobTasksIterable listPentestJobTasksPaginator(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listPentestJobTasks(software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksIterable responses = client.listPentestJobTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksIterable responses = client .listPentestJobTasksPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListPentestJobTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobTasksIterable responses = client.listPentestJobTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPentestJobsForPentest
default ListPentestJobsForPentestResponse listPentestJobsForPentest(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists pentest jobs associated with a pentest
- Parameters:
listPentestJobsForPentestRequest- Input for ListPentestJobsForPentest operation- Returns:
- Result of the ListPentestJobsForPentest operation returned by the service.
- See Also:
-
listPentestJobsForPentest
default ListPentestJobsForPentestResponse listPentestJobsForPentest(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListPentestJobsForPentest operation returned by the service.
- See Also:
-
listPentestJobsForPentestPaginator
default ListPentestJobsForPentestIterable listPentestJobsForPentestPaginator(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestIterable responses = client.listPentestJobsForPentestPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestIterable responses = client .listPentestJobsForPentestPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestIterable responses = client.listPentestJobsForPentestPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.- Parameters:
listPentestJobsForPentestRequest- Input for ListPentestJobsForPentest operation- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPentestJobsForPentestPaginator
default ListPentestJobsForPentestIterable listPentestJobsForPentestPaginator(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestIterable responses = client.listPentestJobsForPentestPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestIterable responses = client .listPentestJobsForPentestPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListPentestJobsForPentestIterable responses = client.listPentestJobsForPentestPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPentests
default ListPentestsResponse listPentests(ListPentestsRequest listPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists pentests with optional filtering by status
- Parameters:
listPentestsRequest- Input for listing pentests with optional filtering- Returns:
- Result of the ListPentests operation returned by the service.
- See Also:
-
listPentests
default ListPentestsResponse listPentests(Consumer<ListPentestsRequest.Builder> listPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListPentests operation returned by the service.
- See Also:
-
listPentestsPaginator
default ListPentestsIterable listPentestsPaginator(ListPentestsRequest listPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListPentestsIterable responses = client.listPentestsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListPentestsIterable responses = client .listPentestsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListPentestsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListPentestsIterable responses = client.listPentestsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation.- Parameters:
listPentestsRequest- Input for listing pentests with optional filtering- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPentestsPaginator
default ListPentestsIterable listPentestsPaginator(Consumer<ListPentestsRequest.Builder> listPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listPentests(software.amazon.awssdk.services.securityagent.model.ListPentestsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListPentestsIterable responses = client.listPentestsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListPentestsIterable responses = client .listPentestsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListPentestsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListPentestsIterable responses = client.listPentestsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists tags for a Security Agent resource
- Parameters:
listTagsForResourceRequest- Input for ListTagsForResource operation- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTargetDomains
default ListTargetDomainsResponse listTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Lists target domains
- Parameters:
listTargetDomainsRequest- Input for listing target domains- Returns:
- Result of the ListTargetDomains operation returned by the service.
- See Also:
-
listTargetDomains
default ListTargetDomainsResponse listTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the ListTargetDomains operation returned by the service.
- See Also:
-
listTargetDomainsPaginator
default ListTargetDomainsIterable listTargetDomainsPaginator(ListTargetDomainsRequest listTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsIterable responses = client.listTargetDomainsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsIterable responses = client .listTargetDomainsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsIterable responses = client.listTargetDomainsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation.- Parameters:
listTargetDomainsRequest- Input for listing target domains- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTargetDomainsPaginator
default ListTargetDomainsIterable listTargetDomainsPaginator(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException This is a variant of
listTargetDomains(software.amazon.awssdk.services.securityagent.model.ListTargetDomainsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsIterable responses = client.listTargetDomainsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsIterable responses = client .listTargetDomainsPaginator(request); for (software.amazon.awssdk.services.securityagent.model.ListTargetDomainsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securityagent.paginators.ListTargetDomainsIterable responses = client.listTargetDomainsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
startCodeRemediation
default StartCodeRemediationResponse startCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Starts code remediation for the specified findings
- Parameters:
startCodeRemediationRequest- Input for the StartCodeRemediation operation- Returns:
- Result of the StartCodeRemediation operation returned by the service.
- See Also:
-
startCodeRemediation
default StartCodeRemediationResponse startCodeRemediation(Consumer<StartCodeRemediationRequest.Builder> startCodeRemediationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the StartCodeRemediation operation returned by the service.
- See Also:
-
startPentestJob
default StartPentestJobResponse startPentestJob(StartPentestJobRequest startPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Initiates the execution of a pentest
- Parameters:
startPentestJobRequest- Input for starting the execution of a pentest- Returns:
- Result of the StartPentestJob operation returned by the service.
- See Also:
-
startPentestJob
default StartPentestJobResponse startPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the StartPentestJob operation returned by the service.
- See Also:
-
stopPentestJob
default StopPentestJobResponse stopPentestJob(StopPentestJobRequest stopPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Stops the execution of a running pentest
- Parameters:
stopPentestJobRequest- Input for stopping the execution of a pentest- Returns:
- Result of the StopPentestJob operation returned by the service.
- See Also:
-
stopPentestJob
default StopPentestJobResponse stopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the StopPentestJob operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Adds tags to a Security Agent resource
- Parameters:
tagResourceRequest- Input for TagResource operation- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Removes tags from a Security Agent resource
- Parameters:
untagResourceRequest- Input for UntagResource operation- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAgentSpace
default UpdateAgentSpaceResponse updateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates an agent space record
- Parameters:
updateAgentSpaceRequest- Input for updating an agent space- Returns:
- Result of the UpdateAgentSpace operation returned by the service.
- See Also:
-
updateAgentSpace
default UpdateAgentSpaceResponse updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UpdateAgentSpace operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates application configuration
- Parameters:
updateApplicationRequest-- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateFinding
default UpdateFindingResponse updateFinding(UpdateFindingRequest updateFindingRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates an existing security finding with new details or status
- Parameters:
updateFindingRequest- Input for updating an existing security finding- Returns:
- Result of the UpdateFinding operation returned by the service.
- See Also:
-
updateFinding
default UpdateFindingResponse updateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UpdateFinding operation returned by the service.
- See Also:
-
updateIntegratedResources
default UpdateIntegratedResourcesResponse updateIntegratedResources(UpdateIntegratedResourcesRequest updateIntegratedResourcesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Updates the integrated resources for an agent space
- Parameters:
updateIntegratedResourcesRequest-- Returns:
- Result of the UpdateIntegratedResources operation returned by the service.
- See Also:
-
updateIntegratedResources
default UpdateIntegratedResourcesResponse updateIntegratedResources(Consumer<UpdateIntegratedResourcesRequest.Builder> updateIntegratedResourcesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UpdateIntegratedResources operation returned by the service.
- See Also:
-
updatePentest
default UpdatePentestResponse updatePentest(UpdatePentestRequest updatePentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates an existing pentest with new configuration or settings
- Parameters:
updatePentestRequest- Input for updating an existing pentest- Returns:
- Result of the UpdatePentest operation returned by the service.
- See Also:
-
updatePentest
default UpdatePentestResponse updatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UpdatePentest operation returned by the service.
- See Also:
-
updateTargetDomain
default UpdateTargetDomainResponse updateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates a target domain record
- Parameters:
updateTargetDomainRequest- Input for updating a target domain- Returns:
- Result of the UpdateTargetDomain operation returned by the service.
- See Also:
-
updateTargetDomain
default UpdateTargetDomainResponse updateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the UpdateTargetDomain operation returned by the service.
- See Also:
-
verifyTargetDomain
default VerifyTargetDomainResponse verifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Verifies ownership for a registered target domain
- Parameters:
verifyTargetDomainRequest- Input for verifying ownership for a registered target domain in an agent space- Returns:
- Result of the VerifyTargetDomain operation returned by the service.
- See Also:
-
verifyTargetDomain
default VerifyTargetDomainResponse verifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException 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:
- Result of the VerifyTargetDomain operation returned by the service.
- See Also:
-
create
Create aSecurityAgentClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSecurityAgentClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-