Interface SecurityAgentClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
AWS Security Agent is a frontier agent that proactively secures your applications throughout the development lifecycle. It conducts automated security reviews tailored to your organizational requirements and delivers context-aware penetration testing on demand. By continuously validating security from design to deployment, AWS Security Agent helps prevent vulnerabilities early across all your environments. Key capabilities include design security review for architecture documents, code security review for pull requests in connected repositories, and on-demand penetration testing that discovers, validates, and remediates security vulnerabilities through tailored multi-step attack scenarios. For more information, see the AWS Security Agent User Guide.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AddArtifactResponseaddArtifact(Consumer<AddArtifactRequest.Builder> addArtifactRequest) Uploads an artifact to an agent space.default AddArtifactResponseaddArtifact(AddArtifactRequest addArtifactRequest) Uploads an artifact to an agent space.default BatchDeletePentestsResponsebatchDeletePentests(Consumer<BatchDeletePentestsRequest.Builder> batchDeletePentestsRequest) Deletes one or more pentests from an agent space.default BatchDeletePentestsResponsebatchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) Deletes one or more pentests from an agent space.default BatchGetAgentSpacesResponsebatchGetAgentSpaces(Consumer<BatchGetAgentSpacesRequest.Builder> batchGetAgentSpacesRequest) Retrieves information about one or more agent spaces.default BatchGetAgentSpacesResponsebatchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) Retrieves information about one or more agent spaces.default BatchGetArtifactMetadataResponsebatchGetArtifactMetadata(Consumer<BatchGetArtifactMetadataRequest.Builder> batchGetArtifactMetadataRequest) Retrieves metadata for one or more artifacts in an agent space.default BatchGetArtifactMetadataResponsebatchGetArtifactMetadata(BatchGetArtifactMetadataRequest batchGetArtifactMetadataRequest) Retrieves metadata for one or more artifacts in an agent space.default BatchGetFindingsResponsebatchGetFindings(Consumer<BatchGetFindingsRequest.Builder> batchGetFindingsRequest) Retrieves information about one or more security findings in an agent space.default BatchGetFindingsResponsebatchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) Retrieves information about one or more security findings in an agent space.default BatchGetPentestJobsResponsebatchGetPentestJobs(Consumer<BatchGetPentestJobsRequest.Builder> batchGetPentestJobsRequest) Retrieves information about one or more pentest jobs in an agent space.default BatchGetPentestJobsResponsebatchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) Retrieves information about one or more pentest jobs in an agent space.default BatchGetPentestJobTasksResponsebatchGetPentestJobTasks(Consumer<BatchGetPentestJobTasksRequest.Builder> batchGetPentestJobTasksRequest) Retrieves information about one or more tasks within a pentest job.default BatchGetPentestJobTasksResponsebatchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) Retrieves information about one or more tasks within a pentest job.default BatchGetPentestsResponsebatchGetPentests(Consumer<BatchGetPentestsRequest.Builder> batchGetPentestsRequest) Retrieves information about one or more pentests in an agent space.default BatchGetPentestsResponsebatchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) Retrieves information about one or more pentests in an agent space.default BatchGetTargetDomainsResponsebatchGetTargetDomains(Consumer<BatchGetTargetDomainsRequest.Builder> batchGetTargetDomainsRequest) Retrieves information about one or more target domains.default BatchGetTargetDomainsResponsebatchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) Retrieves information about one or more target domains.static 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 a new agent space.default CreateAgentSpaceResponsecreateAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates a new agent space.default CreateApplicationResponsecreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new application.default CreateApplicationResponsecreateApplication(CreateApplicationRequest createApplicationRequest) Creates a new application.default CreateIntegrationResponsecreateIntegration(Consumer<CreateIntegrationRequest.Builder> createIntegrationRequest) Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.default CreateIntegrationResponsecreateIntegration(CreateIntegrationRequest createIntegrationRequest) Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.default CreateMembershipResponsecreateMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) Creates a new membership, granting a user access to an agent space within an application.default CreateMembershipResponsecreateMembership(CreateMembershipRequest createMembershipRequest) Creates a new membership, granting a user access to an agent space within an application.default CreatePentestResponsecreatePentest(Consumer<CreatePentestRequest.Builder> createPentestRequest) Creates a new pentest configuration in an agent space.default CreatePentestResponsecreatePentest(CreatePentestRequest createPentestRequest) Creates a new pentest configuration in an agent space.default CreateTargetDomainResponsecreateTargetDomain(Consumer<CreateTargetDomainRequest.Builder> createTargetDomainRequest) Creates a new target domain for penetration testing.default CreateTargetDomainResponsecreateTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) Creates a new target domain for penetration testing.default DeleteAgentSpaceResponsedeleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.default DeleteAgentSpaceResponsedeleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.default DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an application and its associated configuration, including IAM Identity Center settings.default DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes an application and its associated configuration, including IAM Identity Center settings.default DeleteArtifactResponsedeleteArtifact(Consumer<DeleteArtifactRequest.Builder> deleteArtifactRequest) Deletes an artifact from an agent space.default DeleteArtifactResponsedeleteArtifact(DeleteArtifactRequest deleteArtifactRequest) Deletes an artifact from an agent space.default DeleteIntegrationResponsedeleteIntegration(Consumer<DeleteIntegrationRequest.Builder> deleteIntegrationRequest) Deletes an integration with a third-party provider.default DeleteIntegrationResponsedeleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest) Deletes an integration with a third-party provider.default DeleteMembershipResponsedeleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) Deletes a membership, revoking a user's access to an agent space.default DeleteMembershipResponsedeleteMembership(DeleteMembershipRequest deleteMembershipRequest) Deletes a membership, revoking a user's access to an agent space.default DeleteTargetDomainResponsedeleteTargetDomain(Consumer<DeleteTargetDomainRequest.Builder> deleteTargetDomainRequest) Deletes a target domain registration.default DeleteTargetDomainResponsedeleteTargetDomain(DeleteTargetDomainRequest deleteTargetDomainRequest) Deletes a target domain registration.default GetApplicationResponsegetApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Retrieves information about an application.default GetApplicationResponsegetApplication(GetApplicationRequest getApplicationRequest) Retrieves information about an application.default GetArtifactResponsegetArtifact(Consumer<GetArtifactRequest.Builder> getArtifactRequest) Retrieves an artifact from an agent space.default GetArtifactResponsegetArtifact(GetArtifactRequest getArtifactRequest) Retrieves an artifact from an agent space.default GetIntegrationResponsegetIntegration(Consumer<GetIntegrationRequest.Builder> getIntegrationRequest) Retrieves information about an integration.default GetIntegrationResponsegetIntegration(GetIntegrationRequest getIntegrationRequest) Retrieves information about an integration.initiateProviderRegistration(Consumer<InitiateProviderRegistrationRequest.Builder> initiateProviderRegistrationRequest) Initiates the OAuth registration flow with a third-party provider.initiateProviderRegistration(InitiateProviderRegistrationRequest initiateProviderRegistrationRequest) Initiates the OAuth registration flow with a third-party provider.default ListAgentSpacesResponselistAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Returns a paginated list of agent space summaries in your account.default ListAgentSpacesResponselistAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Returns a paginated list of agent space summaries in your account.default 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) Returns a paginated list of application summaries in your account.default ListApplicationsResponselistApplications(ListApplicationsRequest listApplicationsRequest) Returns a paginated list of application summaries in your account.default 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) Returns a paginated list of artifact summaries for the specified agent space.default ListArtifactsResponselistArtifacts(ListArtifactsRequest listArtifactsRequest) Returns a paginated list of artifact summaries for the specified agent space.default 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) Returns a paginated list of endpoints discovered during a pentest job execution.default ListDiscoveredEndpointsResponselistDiscoveredEndpoints(ListDiscoveredEndpointsRequest listDiscoveredEndpointsRequest) Returns a paginated list of endpoints discovered during a pentest job execution.default 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 the security findings for a pentest job.default ListFindingsResponselistFindings(ListFindingsRequest listFindingsRequest) Lists the security findings for a pentest job.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 space, optionally filtered by integration or resource type.default ListIntegratedResourcesResponselistIntegratedResources(ListIntegratedResourcesRequest listIntegratedResourcesRequest) Lists the integrated resources for an agent space, optionally filtered by integration or resource type.default 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) Lists the integrations in your account, optionally filtered by provider or provider type.default ListIntegrationsResponselistIntegrations(ListIntegrationsRequest listIntegrationsRequest) Lists the integrations in your account, optionally filtered by provider or provider type.default 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) Returns a paginated list of membership summaries for the specified agent space within an application.default ListMembershipsResponselistMemberships(ListMembershipsRequest listMembershipsRequest) Returns a paginated list of membership summaries for the specified agent space within an application.default 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) Returns a paginated list of pentest job summaries for the specified pentest configuration.listPentestJobsForPentest(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) Returns a paginated list of pentest job summaries for the specified pentest configuration.listPentestJobsForPentestPaginator(Consumer<ListPentestJobsForPentestRequest.Builder> listPentestJobsForPentestRequest) This is a variant oflistPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.listPentestJobsForPentestPaginator(ListPentestJobsForPentestRequest listPentestJobsForPentestRequest) This is a variant oflistPentestJobsForPentest(software.amazon.awssdk.services.securityagent.model.ListPentestJobsForPentestRequest)operation.default ListPentestJobTasksResponselistPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.default ListPentestJobTasksResponselistPentestJobTasks(ListPentestJobTasksRequest listPentestJobTasksRequest) Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.default 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) Returns a paginated list of pentest summaries for the specified agent space.default ListPentestsResponselistPentests(ListPentestsRequest listPentestsRequest) Returns a paginated list of pentest summaries for the specified agent space.default 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) Returns the tags associated with the specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the tags associated with the specified resource.default ListTargetDomainsResponselistTargetDomains(Consumer<ListTargetDomainsRequest.Builder> listTargetDomainsRequest) Returns a paginated list of target domain summaries in your account.default ListTargetDomainsResponselistTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) Returns a paginated list of target domain summaries in your account.default 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) Initiates code remediation for one or more security findings.default StartCodeRemediationResponsestartCodeRemediation(StartCodeRemediationRequest startCodeRemediationRequest) Initiates code remediation for one or more security findings.default StartPentestJobResponsestartPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) Starts a new pentest job for a pentest configuration.default StartPentestJobResponsestartPentestJob(StartPentestJobRequest startPentestJobRequest) Starts a new pentest job for a pentest configuration.default StopPentestJobResponsestopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) Stops a running pentest job.default StopPentestJobResponsestopPentestJob(StopPentestJobRequest stopPentestJobRequest) Stops a running pentest job.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default UpdateAgentSpaceResponseupdateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.default UpdateAgentSpaceResponseupdateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.default UpdateApplicationResponseupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the configuration of an existing application, including the IAM role and default KMS key.default UpdateApplicationResponseupdateApplication(UpdateApplicationRequest updateApplicationRequest) Updates the configuration of an existing application, including the IAM role and default KMS key.default UpdateFindingResponseupdateFinding(Consumer<UpdateFindingRequest.Builder> updateFindingRequest) Updates the status or risk level of a security finding.default UpdateFindingResponseupdateFinding(UpdateFindingRequest updateFindingRequest) Updates the status or risk level of a security finding.updateIntegratedResources(Consumer<UpdateIntegratedResourcesRequest.Builder> updateIntegratedResourcesRequest) Updates the integrated resources for an agent space, including their capabilities.updateIntegratedResources(UpdateIntegratedResourcesRequest updateIntegratedResourcesRequest) Updates the integrated resources for an agent space, including their capabilities.default UpdatePentestResponseupdatePentest(Consumer<UpdatePentestRequest.Builder> updatePentestRequest) Updates an existing pentest configuration.default UpdatePentestResponseupdatePentest(UpdatePentestRequest updatePentestRequest) Updates an existing pentest configuration.default UpdateTargetDomainResponseupdateTargetDomain(Consumer<UpdateTargetDomainRequest.Builder> updateTargetDomainRequest) Updates the verification method for a target domain.default UpdateTargetDomainResponseupdateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) Updates the verification method for a target domain.default VerifyTargetDomainResponseverifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) Initiates verification of a target domain.default VerifyTargetDomainResponseverifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest) Initiates verification of a target domain.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
addArtifact
default AddArtifactResponse addArtifact(AddArtifactRequest addArtifactRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.
- Parameters:
addArtifactRequest-- Returns:
- 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 Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.
This is a convenience which creates an instance of the
AddArtifactRequest.Builderavoiding the need to create one manually viaAddArtifactRequest.builder()- Parameters:
addArtifactRequest- AConsumerthat will call methods onAddArtifactRequest.Builderto create a request.- Returns:
- Result of the AddArtifact operation returned by the service.
- See Also:
-
batchDeletePentests
default BatchDeletePentestsResponse batchDeletePentests(BatchDeletePentestsRequest batchDeletePentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes one or more pentests from an agent space.
- 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 one or more pentests from an agent space.
This is a convenience which creates an instance of the
BatchDeletePentestsRequest.Builderavoiding the need to create one manually viaBatchDeletePentestsRequest.builder()- Parameters:
batchDeletePentestsRequest- AConsumerthat will call methods onBatchDeletePentestsRequest.Builderto create a request. Input for deleting multiple pentests.- Returns:
- Result of the BatchDeletePentests operation returned by the service.
- See Also:
-
batchGetAgentSpaces
default BatchGetAgentSpacesResponse batchGetAgentSpaces(BatchGetAgentSpacesRequest batchGetAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about one or more agent spaces.
- 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 information about one or more agent spaces.
This is a convenience which creates an instance of the
BatchGetAgentSpacesRequest.Builderavoiding the need to create one manually viaBatchGetAgentSpacesRequest.builder()- Parameters:
batchGetAgentSpacesRequest- AConsumerthat will call methods onBatchGetAgentSpacesRequest.Builderto create a request. Input for batch retrieving agent spaces.- Returns:
- 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 Retrieves metadata for one or more artifacts in an 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 Retrieves metadata for one or more artifacts in an agent space.
This is a convenience which creates an instance of the
BatchGetArtifactMetadataRequest.Builderavoiding the need to create one manually viaBatchGetArtifactMetadataRequest.builder()- Parameters:
batchGetArtifactMetadataRequest- AConsumerthat will call methods onBatchGetArtifactMetadataRequest.Builderto create a request.- Returns:
- Result of the BatchGetArtifactMetadata operation returned by the service.
- See Also:
-
batchGetFindings
default BatchGetFindingsResponse batchGetFindings(BatchGetFindingsRequest batchGetFindingsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about one or more security findings in an agent space.
- 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 information about one or more security findings in an agent space.
This is a convenience which creates an instance of the
BatchGetFindingsRequest.Builderavoiding the need to create one manually viaBatchGetFindingsRequest.builder()- Parameters:
batchGetFindingsRequest- AConsumerthat will call methods onBatchGetFindingsRequest.Builderto create a request. Input for BatchGetFindings operation.- Returns:
- Result of the BatchGetFindings operation returned by the service.
- See Also:
-
batchGetPentestJobTasks
default BatchGetPentestJobTasksResponse batchGetPentestJobTasks(BatchGetPentestJobTasksRequest batchGetPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about one or more tasks within a pentest job.
- Parameters:
batchGetPentestJobTasksRequest- Input for retrieving multiple tasks associated with 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 information about one or more tasks within a pentest job.
This is a convenience which creates an instance of the
BatchGetPentestJobTasksRequest.Builderavoiding the need to create one manually viaBatchGetPentestJobTasksRequest.builder()- Parameters:
batchGetPentestJobTasksRequest- AConsumerthat will call methods onBatchGetPentestJobTasksRequest.Builderto create a request. Input for retrieving multiple tasks associated with a pentest job.- Returns:
- Result of the BatchGetPentestJobTasks operation returned by the service.
- See Also:
-
batchGetPentestJobs
default BatchGetPentestJobsResponse batchGetPentestJobs(BatchGetPentestJobsRequest batchGetPentestJobsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about one or more pentest jobs in an agent space.
- 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 information about one or more pentest jobs in an agent space.
This is a convenience which creates an instance of the
BatchGetPentestJobsRequest.Builderavoiding the need to create one manually viaBatchGetPentestJobsRequest.builder()- Parameters:
batchGetPentestJobsRequest- AConsumerthat will call methods onBatchGetPentestJobsRequest.Builderto create a request. Input for BatchGetPentestJobs operation.- Returns:
- Result of the BatchGetPentestJobs operation returned by the service.
- See Also:
-
batchGetPentests
default BatchGetPentestsResponse batchGetPentests(BatchGetPentestsRequest batchGetPentestsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about one or more pentests in an agent space.
- 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 information about one or more pentests in an agent space.
This is a convenience which creates an instance of the
BatchGetPentestsRequest.Builderavoiding the need to create one manually viaBatchGetPentestsRequest.builder()- Parameters:
batchGetPentestsRequest- AConsumerthat will call methods onBatchGetPentestsRequest.Builderto create a request. Input for retrieving multiple pentests by their IDs.- Returns:
- Result of the BatchGetPentests operation returned by the service.
- See Also:
-
batchGetTargetDomains
default BatchGetTargetDomainsResponse batchGetTargetDomains(BatchGetTargetDomainsRequest batchGetTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about one or more target domains.
- 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 information about one or more target domains.
This is a convenience which creates an instance of the
BatchGetTargetDomainsRequest.Builderavoiding the need to create one manually viaBatchGetTargetDomainsRequest.builder()- Parameters:
batchGetTargetDomainsRequest- AConsumerthat will call methods onBatchGetTargetDomainsRequest.Builderto create a request. Input for batch retrieving target domains.- Returns:
- Result of the BatchGetTargetDomains operation returned by the service.
- See Also:
-
createAgentSpace
default CreateAgentSpaceResponse createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.
- Parameters:
createAgentSpaceRequest- Input for creating a new agent space.- Returns:
- Result of the CreateAgentSpace operation returned by the service.
- See Also:
-
createAgentSpace
default CreateAgentSpaceResponse createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.
This is a convenience which creates an instance of the
CreateAgentSpaceRequest.Builderavoiding the need to create one manually viaCreateAgentSpaceRequest.builder()- Parameters:
createAgentSpaceRequest- AConsumerthat will call methods onCreateAgentSpaceRequest.Builderto create a request. Input for creating a new agent space.- Returns:
- 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. An application is the top-level organizational unit that supports IAM Identity Center integration.
- 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. An application is the top-level organizational unit that supports IAM Identity Center integration.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- 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 a new integration with a third-party provider, such as GitHub, for code review and remediation.
- 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 a new integration with a third-party provider, such as GitHub, for code review and remediation.
This is a convenience which creates an instance of the
CreateIntegrationRequest.Builderavoiding the need to create one manually viaCreateIntegrationRequest.builder()- Parameters:
createIntegrationRequest- AConsumerthat will call methods onCreateIntegrationRequest.Builderto create a request.- Returns:
- Result of the CreateIntegration operation returned by the service.
- See Also:
-
createMembership
default CreateMembershipResponse createMembership(CreateMembershipRequest createMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new membership, granting a user access to an agent space within an application.
- Parameters:
createMembershipRequest- Request structure for adding a single member to an agent space.- Returns:
- Result of the CreateMembership operation returned by the service.
- See Also:
-
createMembership
default CreateMembershipResponse createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new membership, granting a user access to an agent space within an application.
This is a convenience which creates an instance of the
CreateMembershipRequest.Builderavoiding the need to create one manually viaCreateMembershipRequest.builder()- Parameters:
createMembershipRequest- AConsumerthat will call methods onCreateMembershipRequest.Builderto create a request. Request structure for adding a single member to an agent space.- Returns:
- 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 in an agent space. A pentest defines the security test parameters, including target assets, risk type exclusions, and logging configuration.
- Parameters:
createPentestRequest- Input for creating a new pentest.- Returns:
- 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 in an agent space. A pentest defines the security test parameters, including target assets, risk type exclusions, and logging configuration.
This is a convenience which creates an instance of the
CreatePentestRequest.Builderavoiding the need to create one manually viaCreatePentestRequest.builder()- Parameters:
createPentestRequest- AConsumerthat will call methods onCreatePentestRequest.Builderto create a request. Input for creating a new pentest.- Returns:
- Result of the CreatePentest operation returned by the service.
- See Also:
-
createTargetDomain
default CreateTargetDomainResponse createTargetDomain(CreateTargetDomainRequest createTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Creates a new target domain for penetration testing. A target domain is a web domain that must be registered and verified before it can be tested.
- Parameters:
createTargetDomainRequest- Input for creating a new target domain.- Returns:
- 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 new target domain for penetration testing. A target domain is a web domain that must be registered and verified before it can be tested.
This is a convenience which creates an instance of the
CreateTargetDomainRequest.Builderavoiding the need to create one manually viaCreateTargetDomainRequest.builder()- Parameters:
createTargetDomainRequest- AConsumerthat will call methods onCreateTargetDomainRequest.Builderto create a request. Input for creating a new target domain.- Returns:
- 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 and all of its associated resources, including pentests, findings, and artifacts.
- 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 and all of its associated resources, including pentests, findings, and artifacts.
This is a convenience which creates an instance of the
DeleteAgentSpaceRequest.Builderavoiding the need to create one manually viaDeleteAgentSpaceRequest.builder()- Parameters:
deleteAgentSpaceRequest- AConsumerthat will call methods onDeleteAgentSpaceRequest.Builderto create a request. Input for deleting an agent space.- Returns:
- Result of the DeleteAgentSpace operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes an application and its associated configuration, including IAM Identity Center settings.
- 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 and its associated configuration, including IAM Identity Center settings.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- 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 Deletes an artifact from an 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 Deletes an artifact from an agent space.
This is a convenience which creates an instance of the
DeleteArtifactRequest.Builderavoiding the need to create one manually viaDeleteArtifactRequest.builder()- Parameters:
deleteArtifactRequest- AConsumerthat will call methods onDeleteArtifactRequest.Builderto create a request.- Returns:
- 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 an integration with a third-party 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 an integration with a third-party provider.
This is a convenience which creates an instance of the
DeleteIntegrationRequest.Builderavoiding the need to create one manually viaDeleteIntegrationRequest.builder()- Parameters:
deleteIntegrationRequest- AConsumerthat will call methods onDeleteIntegrationRequest.Builderto create a request.- Returns:
- Result of the DeleteIntegration operation returned by the service.
- See Also:
-
deleteMembership
default DeleteMembershipResponse deleteMembership(DeleteMembershipRequest deleteMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes a membership, revoking a user's access to an agent space.
- Parameters:
deleteMembershipRequest- Request structure for removing a single member from an agent space.- Returns:
- Result of the DeleteMembership operation returned by the service.
- See Also:
-
deleteMembership
default DeleteMembershipResponse deleteMembership(Consumer<DeleteMembershipRequest.Builder> deleteMembershipRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Deletes a membership, revoking a user's access to an agent space.
This is a convenience which creates an instance of the
DeleteMembershipRequest.Builderavoiding the need to create one manually viaDeleteMembershipRequest.builder()- Parameters:
deleteMembershipRequest- AConsumerthat will call methods onDeleteMembershipRequest.Builderto create a request. Request structure for removing a single member from an agent space.- Returns:
- 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 registration. After deletion, the domain can no longer be used for penetration testing.
- 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 registration. After deletion, the domain can no longer be used for penetration testing.
This is a convenience which creates an instance of the
DeleteTargetDomainRequest.Builderavoiding the need to create one manually viaDeleteTargetDomainRequest.builder()- Parameters:
deleteTargetDomainRequest- AConsumerthat will call methods onDeleteTargetDomainRequest.Builderto create a request. Input for deleting a target domain.- Returns:
- Result of the DeleteTargetDomain operation returned by the service.
- See Also:
-
getApplication
default GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Retrieves information about an application.
- 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 information about an application.
This is a convenience which creates an instance of the
GetApplicationRequest.Builderavoiding the need to create one manually viaGetApplicationRequest.builder()- Parameters:
getApplicationRequest- AConsumerthat will call methods onGetApplicationRequest.Builderto create a request.- Returns:
- 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 Retrieves an artifact from an 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 Retrieves an artifact from an agent space.
This is a convenience which creates an instance of the
GetArtifactRequest.Builderavoiding the need to create one manually viaGetArtifactRequest.builder()- Parameters:
getArtifactRequest- AConsumerthat will call methods onGetArtifactRequest.Builderto create a request.- Returns:
- 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 Retrieves information about an integration.
- 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 Retrieves information about an integration.
This is a convenience which creates an instance of the
GetIntegrationRequest.Builderavoiding the need to create one manually viaGetIntegrationRequest.builder()- Parameters:
getIntegrationRequest- AConsumerthat will call methods onGetIntegrationRequest.Builderto create a request.- Returns:
- 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 OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.
- 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 OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.
This is a convenience which creates an instance of the
InitiateProviderRegistrationRequest.Builderavoiding the need to create one manually viaInitiateProviderRegistrationRequest.builder()- Parameters:
initiateProviderRegistrationRequest- AConsumerthat will call methods onInitiateProviderRegistrationRequest.Builderto create a request.- Returns:
- Result of the InitiateProviderRegistration operation returned by the service.
- See Also:
-
listAgentSpaces
default ListAgentSpacesResponse listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Returns a paginated list of agent space summaries in your account.
- 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 Returns a paginated list of agent space summaries in your account.
This is a convenience which creates an instance of the
ListAgentSpacesRequest.Builderavoiding the need to create one manually viaListAgentSpacesRequest.builder()- Parameters:
listAgentSpacesRequest- AConsumerthat will call methods onListAgentSpacesRequest.Builderto create a request. Input for listing agent spaces.- Returns:
- 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 Returns a paginated list of application summaries in your 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 Returns a paginated list of application summaries in your account.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- 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 Returns a paginated list of artifact summaries for the specified 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 Returns a paginated list of artifact summaries for the specified agent space.
This is a convenience which creates an instance of the
ListArtifactsRequest.Builderavoiding the need to create one manually viaListArtifactsRequest.builder()- Parameters:
listArtifactsRequest- AConsumerthat will call methods onListArtifactsRequest.Builderto create a request.- Returns:
- 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 Returns a paginated list of endpoints discovered during a pentest job execution.
- 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 Returns a paginated list of endpoints discovered during a pentest job execution.
This is a convenience which creates an instance of the
ListDiscoveredEndpointsRequest.Builderavoiding the need to create one manually viaListDiscoveredEndpointsRequest.builder()- Parameters:
listDiscoveredEndpointsRequest- AConsumerthat will call methods onListDiscoveredEndpointsRequest.Builderto create a request. Input for ListDiscoveredEndpoints operation.- Returns:
- 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 the security findings for a pentest job.
- 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 the security findings for a pentest job.
This is a convenience which creates an instance of the
ListFindingsRequest.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto create a request. Input for ListFindings operation with filtering support.- Returns:
- 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, optionally filtered by integration or resource type.
- 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, optionally filtered by integration or resource type.
This is a convenience which creates an instance of the
ListIntegratedResourcesRequest.Builderavoiding the need to create one manually viaListIntegratedResourcesRequest.builder()- Parameters:
listIntegratedResourcesRequest- AConsumerthat will call methods onListIntegratedResourcesRequest.Builderto create a request.- Returns:
- 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, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Lists the integrations in your account, optionally filtered by provider or provider type.
- 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, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, SecurityAgentException Lists the integrations in your account, optionally filtered by provider or provider type.
This is a convenience which creates an instance of the
ListIntegrationsRequest.Builderavoiding the need to create one manually viaListIntegrationsRequest.builder()- Parameters:
listIntegrationsRequest- AConsumerthat will call methods onListIntegrationsRequest.Builderto create a request.- Returns:
- Result of the ListIntegrations operation returned by the service.
- See Also:
-
listIntegrationsPaginator
default ListIntegrationsIterable listIntegrationsPaginator(ListIntegrationsRequest listIntegrationsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, 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, ValidationException, 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 Returns a paginated list of membership summaries for the specified agent space within an application.
- Parameters:
listMembershipsRequest- Request structure for listing agent space members.- Returns:
- Result of the ListMemberships operation returned by the service.
- See Also:
-
listMemberships
default ListMembershipsResponse listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Returns a paginated list of membership summaries for the specified agent space within an application.
This is a convenience which creates an instance of the
ListMembershipsRequest.Builderavoiding the need to create one manually viaListMembershipsRequest.builder()- Parameters:
listMembershipsRequest- AConsumerthat will call methods onListMembershipsRequest.Builderto create a request. Request structure for listing agent space members.- Returns:
- 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 Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.
- Parameters:
listPentestJobTasksRequest- Input for listing tasks associated with a pentest job.- Returns:
- Result of the ListPentestJobTasks operation returned by the service.
- See Also:
-
listPentestJobTasks
default ListPentestJobTasksResponse listPentestJobTasks(Consumer<ListPentestJobTasksRequest.Builder> listPentestJobTasksRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.
This is a convenience which creates an instance of the
ListPentestJobTasksRequest.Builderavoiding the need to create one manually viaListPentestJobTasksRequest.builder()- Parameters:
listPentestJobTasksRequest- AConsumerthat will call methods onListPentestJobTasksRequest.Builderto create a request. Input for listing tasks associated with a pentest job.- Returns:
- 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 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 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 Returns a paginated list of pentest job summaries for the specified pentest configuration.
- 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 Returns a paginated list of pentest job summaries for the specified pentest configuration.
This is a convenience which creates an instance of the
ListPentestJobsForPentestRequest.Builderavoiding the need to create one manually viaListPentestJobsForPentestRequest.builder()- Parameters:
listPentestJobsForPentestRequest- AConsumerthat will call methods onListPentestJobsForPentestRequest.Builderto create a request. Input for ListPentestJobsForPentest operation.- Returns:
- 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 Returns a paginated list of pentest summaries for the specified agent space.
- 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 Returns a paginated list of pentest summaries for the specified agent space.
This is a convenience which creates an instance of the
ListPentestsRequest.Builderavoiding the need to create one manually viaListPentestsRequest.builder()- Parameters:
listPentestsRequest- AConsumerthat will call methods onListPentestsRequest.Builderto create a request. Input for listing pentests with optional filtering.- Returns:
- 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 Returns the tags associated with the specified 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 Returns the tags associated with the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request. Input for ListTagsForResource operation.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTargetDomains
default ListTargetDomainsResponse listTargetDomains(ListTargetDomainsRequest listTargetDomainsRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Returns a paginated list of target domain summaries in your account.
- 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 Returns a paginated list of target domain summaries in your account.
This is a convenience which creates an instance of the
ListTargetDomainsRequest.Builderavoiding the need to create one manually viaListTargetDomainsRequest.builder()- Parameters:
listTargetDomainsRequest- AConsumerthat will call methods onListTargetDomainsRequest.Builderto create a request. Input for listing target domains.- Returns:
- 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 Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.
- Parameters:
startCodeRemediationRequest- Input for the StartCodeRemediation operation.- Returns:
- Result of the StartCodeRemediation operation returned by the service.
- See Also:
-
startCodeRemediation
default StartCodeRemediationResponse startCodeRemediation(Consumer<StartCodeRemediationRequest.Builder> startCodeRemediationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.
This is a convenience which creates an instance of the
StartCodeRemediationRequest.Builderavoiding the need to create one manually viaStartCodeRemediationRequest.builder()- Parameters:
startCodeRemediationRequest- AConsumerthat will call methods onStartCodeRemediationRequest.Builderto create a request. Input for the StartCodeRemediation operation.- Returns:
- Result of the StartCodeRemediation operation returned by the service.
- See Also:
-
startPentestJob
default StartPentestJobResponse startPentestJob(StartPentestJobRequest startPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.
- Parameters:
startPentestJobRequest- Input for starting the execution of a pentest.- Returns:
- Result of the StartPentestJob operation returned by the service.
- See Also:
-
startPentestJob
default StartPentestJobResponse startPentestJob(Consumer<StartPentestJobRequest.Builder> startPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.
This is a convenience which creates an instance of the
StartPentestJobRequest.Builderavoiding the need to create one manually viaStartPentestJobRequest.builder()- Parameters:
startPentestJobRequest- AConsumerthat will call methods onStartPentestJobRequest.Builderto create a request. Input for starting the execution of a pentest.- Returns:
- Result of the StartPentestJob operation returned by the service.
- See Also:
-
stopPentestJob
default StopPentestJobResponse stopPentestJob(StopPentestJobRequest stopPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.
- Parameters:
stopPentestJobRequest- Input for stopping the execution of a pentest.- Returns:
- Result of the StopPentestJob operation returned by the service.
- See Also:
-
stopPentestJob
default StopPentestJobResponse stopPentestJob(Consumer<StopPentestJobRequest.Builder> stopPentestJobRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.
This is a convenience which creates an instance of the
StopPentestJobRequest.Builderavoiding the need to create one manually viaStopPentestJobRequest.builder()- Parameters:
stopPentestJobRequest- AConsumerthat will call methods onStopPentestJobRequest.Builderto create a request. Input for stopping the execution of a pentest.- Returns:
- 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 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 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 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 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 the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.
- Parameters:
updateAgentSpaceRequest- Input for updating an agent space.- Returns:
- Result of the UpdateAgentSpace operation returned by the service.
- See Also:
-
updateAgentSpace
default UpdateAgentSpaceResponse updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.
This is a convenience which creates an instance of the
UpdateAgentSpaceRequest.Builderavoiding the need to create one manually viaUpdateAgentSpaceRequest.builder()- Parameters:
updateAgentSpaceRequest- AConsumerthat will call methods onUpdateAgentSpaceRequest.Builderto create a request. Input for updating an agent space.- Returns:
- Result of the UpdateAgentSpace operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates the configuration of an existing application, including the IAM role and default KMS key.
- 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 the configuration of an existing application, including the IAM role and default KMS key.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateFinding
default UpdateFindingResponse updateFinding(UpdateFindingRequest updateFindingRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates the status or risk level of a security finding.
- 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 the status or risk level of a security finding.
This is a convenience which creates an instance of the
UpdateFindingRequest.Builderavoiding the need to create one manually viaUpdateFindingRequest.builder()- Parameters:
updateFindingRequest- AConsumerthat will call methods onUpdateFindingRequest.Builderto create a request. Input for updating an existing security finding.- Returns:
- 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, including their capabilities.
- 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, including their capabilities.
This is a convenience which creates an instance of the
UpdateIntegratedResourcesRequest.Builderavoiding the need to create one manually viaUpdateIntegratedResourcesRequest.builder()- Parameters:
updateIntegratedResourcesRequest- AConsumerthat will call methods onUpdateIntegratedResourcesRequest.Builderto create a request.- Returns:
- 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 configuration.
- 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 configuration.
This is a convenience which creates an instance of the
UpdatePentestRequest.Builderavoiding the need to create one manually viaUpdatePentestRequest.builder()- Parameters:
updatePentestRequest- AConsumerthat will call methods onUpdatePentestRequest.Builderto create a request. Input for updating an existing pentest.- Returns:
- Result of the UpdatePentest operation returned by the service.
- See Also:
-
updateTargetDomain
default UpdateTargetDomainResponse updateTargetDomain(UpdateTargetDomainRequest updateTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Updates the verification method for a target domain.
- 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 the verification method for a target domain.
This is a convenience which creates an instance of the
UpdateTargetDomainRequest.Builderavoiding the need to create one manually viaUpdateTargetDomainRequest.builder()- Parameters:
updateTargetDomainRequest- AConsumerthat will call methods onUpdateTargetDomainRequest.Builderto create a request. Input for updating a target domain.- Returns:
- Result of the UpdateTargetDomain operation returned by the service.
- See Also:
-
verifyTargetDomain
default VerifyTargetDomainResponse verifyTargetDomain(VerifyTargetDomainRequest verifyTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Initiates verification of a target domain. This checks whether the domain ownership verification token has been properly configured.
- Parameters:
verifyTargetDomainRequest- Input for verifying ownership for a registered target domain in an agent space.- Returns:
- Result of the VerifyTargetDomain operation returned by the service.
- See Also:
-
verifyTargetDomain
default VerifyTargetDomainResponse verifyTargetDomain(Consumer<VerifyTargetDomainRequest.Builder> verifyTargetDomainRequest) throws AwsServiceException, SdkClientException, SecurityAgentException Initiates verification of a target domain. This checks whether the domain ownership verification token has been properly configured.
This is a convenience which creates an instance of the
VerifyTargetDomainRequest.Builderavoiding the need to create one manually viaVerifyTargetDomainRequest.builder()- Parameters:
verifyTargetDomainRequest- AConsumerthat will call methods onVerifyTargetDomainRequest.Builderto create a request. Input for verifying ownership for a registered target domain in an agent space.- Returns:
- 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
-