@Generated(value="software.amazon.awssdk:codegen") public interface InspectorAsyncClient extends SdkClient
builder()
method.
Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see Amazon Inspector User Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<AddAttributesToFindingsResponse> |
addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
|
default CompletableFuture<AddAttributesToFindingsResponse> |
addAttributesToFindings(Consumer<AddAttributesToFindingsRequest.Builder> addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
|
static InspectorAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
InspectorAsyncClient . |
static InspectorAsyncClient |
create()
Create a
InspectorAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateAssessmentTargetResponse> |
createAssessmentTarget(Consumer<CreateAssessmentTargetRequest.Builder> createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by
CreateResourceGroup.
|
default CompletableFuture<CreateAssessmentTargetResponse> |
createAssessmentTarget(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by
CreateResourceGroup.
|
default CompletableFuture<CreateAssessmentTemplateResponse> |
createAssessmentTemplate(Consumer<CreateAssessmentTemplateRequest.Builder> createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
|
default CompletableFuture<CreateAssessmentTemplateResponse> |
createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
|
default CompletableFuture<CreateResourceGroupResponse> |
createResourceGroup(Consumer<CreateResourceGroupRequest.Builder> createResourceGroupRequest)
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2
instances to be included in an Amazon Inspector assessment target.
|
default CompletableFuture<CreateResourceGroupResponse> |
createResourceGroup(CreateResourceGroupRequest createResourceGroupRequest)
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2
instances to be included in an Amazon Inspector assessment target.
|
default CompletableFuture<DeleteAssessmentRunResponse> |
deleteAssessmentRun(Consumer<DeleteAssessmentRunRequest.Builder> deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
|
default CompletableFuture<DeleteAssessmentRunResponse> |
deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
|
default CompletableFuture<DeleteAssessmentTargetResponse> |
deleteAssessmentTarget(Consumer<DeleteAssessmentTargetRequest.Builder> deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
|
default CompletableFuture<DeleteAssessmentTargetResponse> |
deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
|
default CompletableFuture<DeleteAssessmentTemplateResponse> |
deleteAssessmentTemplate(Consumer<DeleteAssessmentTemplateRequest.Builder> deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
|
default CompletableFuture<DeleteAssessmentTemplateResponse> |
deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
|
default CompletableFuture<DescribeAssessmentRunsResponse> |
describeAssessmentRuns(Consumer<DescribeAssessmentRunsRequest.Builder> describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<DescribeAssessmentRunsResponse> |
describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<DescribeAssessmentTargetsResponse> |
describeAssessmentTargets(Consumer<DescribeAssessmentTargetsRequest.Builder> describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
default CompletableFuture<DescribeAssessmentTargetsResponse> |
describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
default CompletableFuture<DescribeAssessmentTemplatesResponse> |
describeAssessmentTemplates(Consumer<DescribeAssessmentTemplatesRequest.Builder> describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
default CompletableFuture<DescribeAssessmentTemplatesResponse> |
describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
default CompletableFuture<DescribeCrossAccountAccessRoleResponse> |
describeCrossAccountAccessRole()
Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
default CompletableFuture<DescribeCrossAccountAccessRoleResponse> |
describeCrossAccountAccessRole(Consumer<DescribeCrossAccountAccessRoleRequest.Builder> describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
default CompletableFuture<DescribeCrossAccountAccessRoleResponse> |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
default CompletableFuture<DescribeFindingsResponse> |
describeFindings(Consumer<DescribeFindingsRequest.Builder> describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
|
default CompletableFuture<DescribeFindingsResponse> |
describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
|
default CompletableFuture<DescribeResourceGroupsResponse> |
describeResourceGroups(Consumer<DescribeResourceGroupsRequest.Builder> describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
|
default CompletableFuture<DescribeResourceGroupsResponse> |
describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
|
default CompletableFuture<DescribeRulesPackagesResponse> |
describeRulesPackages(Consumer<DescribeRulesPackagesRequest.Builder> describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
|
default CompletableFuture<DescribeRulesPackagesResponse> |
describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
|
default CompletableFuture<GetAssessmentReportResponse> |
getAssessmentReport(Consumer<GetAssessmentReportRequest.Builder> getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
|
default CompletableFuture<GetAssessmentReportResponse> |
getAssessmentReport(GetAssessmentReportRequest getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
|
default CompletableFuture<GetTelemetryMetadataResponse> |
getTelemetryMetadata(Consumer<GetTelemetryMetadataRequest.Builder> getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
|
default CompletableFuture<GetTelemetryMetadataResponse> |
getTelemetryMetadata(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
|
default CompletableFuture<ListAssessmentRunAgentsResponse> |
listAssessmentRunAgents(Consumer<ListAssessmentRunAgentsRequest.Builder> listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<ListAssessmentRunAgentsResponse> |
listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
default ListAssessmentRunAgentsPublisher |
listAssessmentRunAgentsPaginator(Consumer<ListAssessmentRunAgentsRequest.Builder> listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
default ListAssessmentRunAgentsPublisher |
listAssessmentRunAgentsPaginator(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<ListAssessmentRunsResponse> |
listAssessmentRuns()
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
default CompletableFuture<ListAssessmentRunsResponse> |
listAssessmentRuns(Consumer<ListAssessmentRunsRequest.Builder> listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
default CompletableFuture<ListAssessmentRunsResponse> |
listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
default ListAssessmentRunsPublisher |
listAssessmentRunsPaginator()
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
default ListAssessmentRunsPublisher |
listAssessmentRunsPaginator(Consumer<ListAssessmentRunsRequest.Builder> listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
default ListAssessmentRunsPublisher |
listAssessmentRunsPaginator(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
default CompletableFuture<ListAssessmentTargetsResponse> |
listAssessmentTargets()
Lists the ARNs of the assessment targets within this AWS account.
|
default CompletableFuture<ListAssessmentTargetsResponse> |
listAssessmentTargets(Consumer<ListAssessmentTargetsRequest.Builder> listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account.
|
default CompletableFuture<ListAssessmentTargetsResponse> |
listAssessmentTargets(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account.
|
default ListAssessmentTargetsPublisher |
listAssessmentTargetsPaginator()
Lists the ARNs of the assessment targets within this AWS account.
|
default ListAssessmentTargetsPublisher |
listAssessmentTargetsPaginator(Consumer<ListAssessmentTargetsRequest.Builder> listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account.
|
default ListAssessmentTargetsPublisher |
listAssessmentTargetsPaginator(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account.
|
default CompletableFuture<ListAssessmentTemplatesResponse> |
listAssessmentTemplates()
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
default CompletableFuture<ListAssessmentTemplatesResponse> |
listAssessmentTemplates(Consumer<ListAssessmentTemplatesRequest.Builder> listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
default CompletableFuture<ListAssessmentTemplatesResponse> |
listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
default ListAssessmentTemplatesPublisher |
listAssessmentTemplatesPaginator()
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
default ListAssessmentTemplatesPublisher |
listAssessmentTemplatesPaginator(Consumer<ListAssessmentTemplatesRequest.Builder> listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
default ListAssessmentTemplatesPublisher |
listAssessmentTemplatesPaginator(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
default CompletableFuture<ListEventSubscriptionsResponse> |
listEventSubscriptions()
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
default CompletableFuture<ListEventSubscriptionsResponse> |
listEventSubscriptions(Consumer<ListEventSubscriptionsRequest.Builder> listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
default CompletableFuture<ListEventSubscriptionsResponse> |
listEventSubscriptions(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
default ListEventSubscriptionsPublisher |
listEventSubscriptionsPaginator()
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
default ListEventSubscriptionsPublisher |
listEventSubscriptionsPaginator(Consumer<ListEventSubscriptionsRequest.Builder> listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
default ListEventSubscriptionsPublisher |
listEventSubscriptionsPaginator(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
default CompletableFuture<ListFindingsResponse> |
listFindings()
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
default ListFindingsPublisher |
listFindingsPaginator()
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
default ListFindingsPublisher |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
default ListFindingsPublisher |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<ListRulesPackagesResponse> |
listRulesPackages()
Lists all available Amazon Inspector rules packages.
|
default CompletableFuture<ListRulesPackagesResponse> |
listRulesPackages(Consumer<ListRulesPackagesRequest.Builder> listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
|
default CompletableFuture<ListRulesPackagesResponse> |
listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
|
default ListRulesPackagesPublisher |
listRulesPackagesPaginator()
Lists all available Amazon Inspector rules packages.
|
default ListRulesPackagesPublisher |
listRulesPackagesPaginator(Consumer<ListRulesPackagesRequest.Builder> listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
|
default ListRulesPackagesPublisher |
listRulesPackagesPaginator(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags associated with an assessment template.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
|
default CompletableFuture<PreviewAgentsResponse> |
previewAgents(Consumer<PreviewAgentsRequest.Builder> previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
default CompletableFuture<PreviewAgentsResponse> |
previewAgents(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
default PreviewAgentsPublisher |
previewAgentsPaginator(Consumer<PreviewAgentsRequest.Builder> previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
default PreviewAgentsPublisher |
previewAgentsPaginator(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
default CompletableFuture<RegisterCrossAccountAccessRoleResponse> |
registerCrossAccountAccessRole(Consumer<RegisterCrossAccountAccessRoleRequest.Builder> registerCrossAccountAccessRoleRequest)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run
or when you call the PreviewAgents action.
|
default CompletableFuture<RegisterCrossAccountAccessRoleResponse> |
registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run
or when you call the PreviewAgents action.
|
default CompletableFuture<RemoveAttributesFromFindingsResponse> |
removeAttributesFromFindings(Consumer<RemoveAttributesFromFindingsRequest.Builder> removeAttributesFromFindingsRequest)
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings
where an attribute with the specified key exists.
|
default CompletableFuture<RemoveAttributesFromFindingsResponse> |
removeAttributesFromFindings(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings
where an attribute with the specified key exists.
|
default CompletableFuture<SetTagsForResourceResponse> |
setTagsForResource(Consumer<SetTagsForResourceRequest.Builder> setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
template.
|
default CompletableFuture<SetTagsForResourceResponse> |
setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
template.
|
default CompletableFuture<StartAssessmentRunResponse> |
startAssessmentRun(Consumer<StartAssessmentRunRequest.Builder> startAssessmentRunRequest)
Starts the assessment run specified by the ARN of the assessment template.
|
default CompletableFuture<StartAssessmentRunResponse> |
startAssessmentRun(StartAssessmentRunRequest startAssessmentRunRequest)
Starts the assessment run specified by the ARN of the assessment template.
|
default CompletableFuture<StopAssessmentRunResponse> |
stopAssessmentRun(Consumer<StopAssessmentRunRequest.Builder> stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
|
default CompletableFuture<StopAssessmentRunResponse> |
stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
|
default CompletableFuture<SubscribeToEventResponse> |
subscribeToEvent(Consumer<SubscribeToEventRequest.Builder> subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
default CompletableFuture<SubscribeToEventResponse> |
subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
default CompletableFuture<UnsubscribeFromEventResponse> |
unsubscribeFromEvent(Consumer<UnsubscribeFromEventRequest.Builder> unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
default CompletableFuture<UnsubscribeFromEventResponse> |
unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
default CompletableFuture<UpdateAssessmentTargetResponse> |
updateAssessmentTarget(Consumer<UpdateAssessmentTargetRequest.Builder> updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
|
default CompletableFuture<UpdateAssessmentTargetResponse> |
updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
|
serviceName
close
static final String SERVICE_NAME
static InspectorAsyncClient create()
InspectorAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static InspectorAsyncClientBuilder builder()
InspectorAsyncClient
.default CompletableFuture<AddAttributesToFindingsResponse> addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
addAttributesToFindingsRequest
- default CompletableFuture<AddAttributesToFindingsResponse> addAttributesToFindings(Consumer<AddAttributesToFindingsRequest.Builder> addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
This is a convenience which creates an instance of the AddAttributesToFindingsRequest.Builder
avoiding
the need to create one manually via AddAttributesToFindingsRequest.builder()
addAttributesToFindingsRequest
- A Consumer
that will call methods on AddAttributesToFindingsRequest.Builder
to create a
request.default CompletableFuture<CreateAssessmentTargetResponse> createAssessmentTarget(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.
createAssessmentTargetRequest
- default CompletableFuture<CreateAssessmentTargetResponse> createAssessmentTarget(Consumer<CreateAssessmentTargetRequest.Builder> createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.
This is a convenience which creates an instance of the CreateAssessmentTargetRequest.Builder
avoiding the
need to create one manually via CreateAssessmentTargetRequest.builder()
createAssessmentTargetRequest
- A Consumer
that will call methods on CreateAssessmentTargetRequest.Builder
to create a
request.default CompletableFuture<CreateAssessmentTemplateResponse> createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
createAssessmentTemplateRequest
- default CompletableFuture<CreateAssessmentTemplateResponse> createAssessmentTemplate(Consumer<CreateAssessmentTemplateRequest.Builder> createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
This is a convenience which creates an instance of the CreateAssessmentTemplateRequest.Builder
avoiding
the need to create one manually via CreateAssessmentTemplateRequest.builder()
createAssessmentTemplateRequest
- A Consumer
that will call methods on CreateAssessmentTemplateRequest.Builder
to create a
request.default CompletableFuture<CreateResourceGroupResponse> createResourceGroup(CreateResourceGroupRequest createResourceGroupRequest)
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
createResourceGroupRequest
- default CompletableFuture<CreateResourceGroupResponse> createResourceGroup(Consumer<CreateResourceGroupRequest.Builder> createResourceGroupRequest)
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
This is a convenience which creates an instance of the CreateResourceGroupRequest.Builder
avoiding the
need to create one manually via CreateResourceGroupRequest.builder()
createResourceGroupRequest
- A Consumer
that will call methods on CreateResourceGroupRequest.Builder
to create a
request.default CompletableFuture<DeleteAssessmentRunResponse> deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
deleteAssessmentRunRequest
- default CompletableFuture<DeleteAssessmentRunResponse> deleteAssessmentRun(Consumer<DeleteAssessmentRunRequest.Builder> deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
This is a convenience which creates an instance of the DeleteAssessmentRunRequest.Builder
avoiding the
need to create one manually via DeleteAssessmentRunRequest.builder()
deleteAssessmentRunRequest
- A Consumer
that will call methods on DeleteAssessmentRunRequest.Builder
to create a
request.default CompletableFuture<DeleteAssessmentTargetResponse> deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
deleteAssessmentTargetRequest
- default CompletableFuture<DeleteAssessmentTargetResponse> deleteAssessmentTarget(Consumer<DeleteAssessmentTargetRequest.Builder> deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
This is a convenience which creates an instance of the DeleteAssessmentTargetRequest.Builder
avoiding the
need to create one manually via DeleteAssessmentTargetRequest.builder()
deleteAssessmentTargetRequest
- A Consumer
that will call methods on DeleteAssessmentTargetRequest.Builder
to create a
request.default CompletableFuture<DeleteAssessmentTemplateResponse> deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
deleteAssessmentTemplateRequest
- default CompletableFuture<DeleteAssessmentTemplateResponse> deleteAssessmentTemplate(Consumer<DeleteAssessmentTemplateRequest.Builder> deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
This is a convenience which creates an instance of the DeleteAssessmentTemplateRequest.Builder
avoiding
the need to create one manually via DeleteAssessmentTemplateRequest.builder()
deleteAssessmentTemplateRequest
- A Consumer
that will call methods on DeleteAssessmentTemplateRequest.Builder
to create a
request.default CompletableFuture<DescribeAssessmentRunsResponse> describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
describeAssessmentRunsRequest
- default CompletableFuture<DescribeAssessmentRunsResponse> describeAssessmentRuns(Consumer<DescribeAssessmentRunsRequest.Builder> describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
This is a convenience which creates an instance of the DescribeAssessmentRunsRequest.Builder
avoiding the
need to create one manually via DescribeAssessmentRunsRequest.builder()
describeAssessmentRunsRequest
- A Consumer
that will call methods on DescribeAssessmentRunsRequest.Builder
to create a
request.default CompletableFuture<DescribeAssessmentTargetsResponse> describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
describeAssessmentTargetsRequest
- default CompletableFuture<DescribeAssessmentTargetsResponse> describeAssessmentTargets(Consumer<DescribeAssessmentTargetsRequest.Builder> describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
This is a convenience which creates an instance of the DescribeAssessmentTargetsRequest.Builder
avoiding
the need to create one manually via DescribeAssessmentTargetsRequest.builder()
describeAssessmentTargetsRequest
- A Consumer
that will call methods on DescribeAssessmentTargetsRequest.Builder
to create a
request.default CompletableFuture<DescribeAssessmentTemplatesResponse> describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
describeAssessmentTemplatesRequest
- default CompletableFuture<DescribeAssessmentTemplatesResponse> describeAssessmentTemplates(Consumer<DescribeAssessmentTemplatesRequest.Builder> describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
This is a convenience which creates an instance of the DescribeAssessmentTemplatesRequest.Builder
avoiding the need to create one manually via DescribeAssessmentTemplatesRequest.builder()
describeAssessmentTemplatesRequest
- A Consumer
that will call methods on DescribeAssessmentTemplatesRequest.Builder
to create
a request.default CompletableFuture<DescribeCrossAccountAccessRoleResponse> describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
describeCrossAccountAccessRoleRequest
- default CompletableFuture<DescribeCrossAccountAccessRoleResponse> describeCrossAccountAccessRole(Consumer<DescribeCrossAccountAccessRoleRequest.Builder> describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
This is a convenience which creates an instance of the DescribeCrossAccountAccessRoleRequest.Builder
avoiding the need to create one manually via DescribeCrossAccountAccessRoleRequest.builder()
describeCrossAccountAccessRoleRequest
- A Consumer
that will call methods on DescribeCrossAccountAccessRoleRequest.Builder
to
create a request.default CompletableFuture<DescribeCrossAccountAccessRoleResponse> describeCrossAccountAccessRole()
Describes the IAM role that enables Amazon Inspector to access your AWS account.
default CompletableFuture<DescribeFindingsResponse> describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
describeFindingsRequest
- default CompletableFuture<DescribeFindingsResponse> describeFindings(Consumer<DescribeFindingsRequest.Builder> describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
This is a convenience which creates an instance of the DescribeFindingsRequest.Builder
avoiding the need
to create one manually via DescribeFindingsRequest.builder()
describeFindingsRequest
- A Consumer
that will call methods on DescribeFindingsRequest.Builder
to create a request.default CompletableFuture<DescribeResourceGroupsResponse> describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
describeResourceGroupsRequest
- default CompletableFuture<DescribeResourceGroupsResponse> describeResourceGroups(Consumer<DescribeResourceGroupsRequest.Builder> describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
This is a convenience which creates an instance of the DescribeResourceGroupsRequest.Builder
avoiding the
need to create one manually via DescribeResourceGroupsRequest.builder()
describeResourceGroupsRequest
- A Consumer
that will call methods on DescribeResourceGroupsRequest.Builder
to create a
request.default CompletableFuture<DescribeRulesPackagesResponse> describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
describeRulesPackagesRequest
- default CompletableFuture<DescribeRulesPackagesResponse> describeRulesPackages(Consumer<DescribeRulesPackagesRequest.Builder> describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
This is a convenience which creates an instance of the DescribeRulesPackagesRequest.Builder
avoiding the
need to create one manually via DescribeRulesPackagesRequest.builder()
describeRulesPackagesRequest
- A Consumer
that will call methods on DescribeRulesPackagesRequest.Builder
to create a
request.default CompletableFuture<GetAssessmentReportResponse> getAssessmentReport(GetAssessmentReportRequest getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
getAssessmentReportRequest
- default CompletableFuture<GetAssessmentReportResponse> getAssessmentReport(Consumer<GetAssessmentReportRequest.Builder> getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
This is a convenience which creates an instance of the GetAssessmentReportRequest.Builder
avoiding the
need to create one manually via GetAssessmentReportRequest.builder()
getAssessmentReportRequest
- A Consumer
that will call methods on GetAssessmentReportRequest.Builder
to create a
request.default CompletableFuture<GetTelemetryMetadataResponse> getTelemetryMetadata(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
getTelemetryMetadataRequest
- default CompletableFuture<GetTelemetryMetadataResponse> getTelemetryMetadata(Consumer<GetTelemetryMetadataRequest.Builder> getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
This is a convenience which creates an instance of the GetTelemetryMetadataRequest.Builder
avoiding the
need to create one manually via GetTelemetryMetadataRequest.builder()
getTelemetryMetadataRequest
- A Consumer
that will call methods on GetTelemetryMetadataRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentRunAgentsResponse> listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
listAssessmentRunAgentsRequest
- default CompletableFuture<ListAssessmentRunAgentsResponse> listAssessmentRunAgents(Consumer<ListAssessmentRunAgentsRequest.Builder> listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
This is a convenience which creates an instance of the ListAssessmentRunAgentsRequest.Builder
avoiding
the need to create one manually via ListAssessmentRunAgentsRequest.builder()
listAssessmentRunAgentsRequest
- A Consumer
that will call methods on ListAssessmentRunAgentsRequest.Builder
to create a
request.default ListAssessmentRunAgentsPublisher listAssessmentRunAgentsPaginator(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
This is a variant of
listAssessmentRunAgents(software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunAgentsPublisher publisher = client.listAssessmentRunAgentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunAgentsPublisher publisher = client.listAssessmentRunAgentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentRunAgents(software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsRequest)
operation.
listAssessmentRunAgentsRequest
- default ListAssessmentRunAgentsPublisher listAssessmentRunAgentsPaginator(Consumer<ListAssessmentRunAgentsRequest.Builder> listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
This is a variant of
listAssessmentRunAgents(software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunAgentsPublisher publisher = client.listAssessmentRunAgentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunAgentsPublisher publisher = client.listAssessmentRunAgentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentRunAgents(software.amazon.awssdk.services.inspector.model.ListAssessmentRunAgentsRequest)
operation.
This is a convenience which creates an instance of the ListAssessmentRunAgentsRequest.Builder
avoiding
the need to create one manually via ListAssessmentRunAgentsRequest.builder()
listAssessmentRunAgentsRequest
- A Consumer
that will call methods on ListAssessmentRunAgentsRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentRunsResponse> listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
listAssessmentRunsRequest
- default CompletableFuture<ListAssessmentRunsResponse> listAssessmentRuns(Consumer<ListAssessmentRunsRequest.Builder> listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
This is a convenience which creates an instance of the ListAssessmentRunsRequest.Builder
avoiding the
need to create one manually via ListAssessmentRunsRequest.builder()
listAssessmentRunsRequest
- A Consumer
that will call methods on ListAssessmentRunsRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentRunsResponse> listAssessmentRuns()
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
default ListAssessmentRunsPublisher listAssessmentRunsPaginator()
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
This is a variant of
listAssessmentRuns(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunsPublisher publisher = client.listAssessmentRunsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunsPublisher publisher = client.listAssessmentRunsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentRunsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentRuns(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsRequest)
operation.
default ListAssessmentRunsPublisher listAssessmentRunsPaginator(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
This is a variant of
listAssessmentRuns(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunsPublisher publisher = client.listAssessmentRunsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunsPublisher publisher = client.listAssessmentRunsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentRunsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentRuns(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsRequest)
operation.
listAssessmentRunsRequest
- default ListAssessmentRunsPublisher listAssessmentRunsPaginator(Consumer<ListAssessmentRunsRequest.Builder> listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
This is a variant of
listAssessmentRuns(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunsPublisher publisher = client.listAssessmentRunsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentRunsPublisher publisher = client.listAssessmentRunsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentRunsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentRuns(software.amazon.awssdk.services.inspector.model.ListAssessmentRunsRequest)
operation.
This is a convenience which creates an instance of the ListAssessmentRunsRequest.Builder
avoiding the
need to create one manually via ListAssessmentRunsRequest.builder()
listAssessmentRunsRequest
- A Consumer
that will call methods on ListAssessmentRunsRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentTargetsResponse> listAssessmentTargets(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
listAssessmentTargetsRequest
- default CompletableFuture<ListAssessmentTargetsResponse> listAssessmentTargets(Consumer<ListAssessmentTargetsRequest.Builder> listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
This is a convenience which creates an instance of the ListAssessmentTargetsRequest.Builder
avoiding the
need to create one manually via ListAssessmentTargetsRequest.builder()
listAssessmentTargetsRequest
- A Consumer
that will call methods on ListAssessmentTargetsRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentTargetsResponse> listAssessmentTargets()
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
default ListAssessmentTargetsPublisher listAssessmentTargetsPaginator()
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
This is a variant of
listAssessmentTargets(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTargetsPublisher publisher = client.listAssessmentTargetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTargetsPublisher publisher = client.listAssessmentTargetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentTargets(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsRequest)
operation.
default ListAssessmentTargetsPublisher listAssessmentTargetsPaginator(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
This is a variant of
listAssessmentTargets(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTargetsPublisher publisher = client.listAssessmentTargetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTargetsPublisher publisher = client.listAssessmentTargetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentTargets(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsRequest)
operation.
listAssessmentTargetsRequest
- default ListAssessmentTargetsPublisher listAssessmentTargetsPaginator(Consumer<ListAssessmentTargetsRequest.Builder> listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
This is a variant of
listAssessmentTargets(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTargetsPublisher publisher = client.listAssessmentTargetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTargetsPublisher publisher = client.listAssessmentTargetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentTargets(software.amazon.awssdk.services.inspector.model.ListAssessmentTargetsRequest)
operation.
This is a convenience which creates an instance of the ListAssessmentTargetsRequest.Builder
avoiding the
need to create one manually via ListAssessmentTargetsRequest.builder()
listAssessmentTargetsRequest
- A Consumer
that will call methods on ListAssessmentTargetsRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentTemplatesResponse> listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
listAssessmentTemplatesRequest
- default CompletableFuture<ListAssessmentTemplatesResponse> listAssessmentTemplates(Consumer<ListAssessmentTemplatesRequest.Builder> listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
This is a convenience which creates an instance of the ListAssessmentTemplatesRequest.Builder
avoiding
the need to create one manually via ListAssessmentTemplatesRequest.builder()
listAssessmentTemplatesRequest
- A Consumer
that will call methods on ListAssessmentTemplatesRequest.Builder
to create a
request.default CompletableFuture<ListAssessmentTemplatesResponse> listAssessmentTemplates()
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
default ListAssessmentTemplatesPublisher listAssessmentTemplatesPaginator()
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
This is a variant of
listAssessmentTemplates(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTemplatesPublisher publisher = client.listAssessmentTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTemplatesPublisher publisher = client.listAssessmentTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentTemplates(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesRequest)
operation.
default ListAssessmentTemplatesPublisher listAssessmentTemplatesPaginator(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
This is a variant of
listAssessmentTemplates(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTemplatesPublisher publisher = client.listAssessmentTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTemplatesPublisher publisher = client.listAssessmentTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentTemplates(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesRequest)
operation.
listAssessmentTemplatesRequest
- default ListAssessmentTemplatesPublisher listAssessmentTemplatesPaginator(Consumer<ListAssessmentTemplatesRequest.Builder> listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
This is a variant of
listAssessmentTemplates(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTemplatesPublisher publisher = client.listAssessmentTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListAssessmentTemplatesPublisher publisher = client.listAssessmentTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listAssessmentTemplates(software.amazon.awssdk.services.inspector.model.ListAssessmentTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListAssessmentTemplatesRequest.Builder
avoiding
the need to create one manually via ListAssessmentTemplatesRequest.builder()
listAssessmentTemplatesRequest
- A Consumer
that will call methods on ListAssessmentTemplatesRequest.Builder
to create a
request.default CompletableFuture<ListEventSubscriptionsResponse> listEventSubscriptions(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
listEventSubscriptionsRequest
- default CompletableFuture<ListEventSubscriptionsResponse> listEventSubscriptions(Consumer<ListEventSubscriptionsRequest.Builder> listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
This is a convenience which creates an instance of the ListEventSubscriptionsRequest.Builder
avoiding the
need to create one manually via ListEventSubscriptionsRequest.builder()
listEventSubscriptionsRequest
- A Consumer
that will call methods on ListEventSubscriptionsRequest.Builder
to create a
request.default CompletableFuture<ListEventSubscriptionsResponse> listEventSubscriptions()
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
default ListEventSubscriptionsPublisher listEventSubscriptionsPaginator()
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
This is a variant of
listEventSubscriptions(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListEventSubscriptionsPublisher publisher = client.listEventSubscriptionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListEventSubscriptionsPublisher publisher = client.listEventSubscriptionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listEventSubscriptions(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsRequest)
operation.
default ListEventSubscriptionsPublisher listEventSubscriptionsPaginator(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
This is a variant of
listEventSubscriptions(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListEventSubscriptionsPublisher publisher = client.listEventSubscriptionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListEventSubscriptionsPublisher publisher = client.listEventSubscriptionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listEventSubscriptions(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsRequest)
operation.
listEventSubscriptionsRequest
- default ListEventSubscriptionsPublisher listEventSubscriptionsPaginator(Consumer<ListEventSubscriptionsRequest.Builder> listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
This is a variant of
listEventSubscriptions(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListEventSubscriptionsPublisher publisher = client.listEventSubscriptionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListEventSubscriptionsPublisher publisher = client.listEventSubscriptionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listEventSubscriptions(software.amazon.awssdk.services.inspector.model.ListEventSubscriptionsRequest)
operation.
This is a convenience which creates an instance of the ListEventSubscriptionsRequest.Builder
avoiding the
need to create one manually via ListEventSubscriptionsRequest.builder()
listEventSubscriptionsRequest
- A Consumer
that will call methods on ListEventSubscriptionsRequest.Builder
to create a
request.default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
listFindingsRequest
- default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
This is a convenience which creates an instance of the ListFindingsRequest.Builder
avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest
- A Consumer
that will call methods on ListFindingsRequest.Builder
to create a request.default CompletableFuture<ListFindingsResponse> listFindings()
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
default ListFindingsPublisher listFindingsPaginator()
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
This is a variant of listFindings(software.amazon.awssdk.services.inspector.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.inspector.model.ListFindingsRequest)
operation.
default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
This is a variant of listFindings(software.amazon.awssdk.services.inspector.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.inspector.model.ListFindingsRequest)
operation.
listFindingsRequest
- default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
This is a variant of listFindings(software.amazon.awssdk.services.inspector.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.inspector.model.ListFindingsRequest)
operation.
This is a convenience which creates an instance of the ListFindingsRequest.Builder
avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest
- A Consumer
that will call methods on ListFindingsRequest.Builder
to create a request.default CompletableFuture<ListRulesPackagesResponse> listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
listRulesPackagesRequest
- default CompletableFuture<ListRulesPackagesResponse> listRulesPackages(Consumer<ListRulesPackagesRequest.Builder> listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
This is a convenience which creates an instance of the ListRulesPackagesRequest.Builder
avoiding the need
to create one manually via ListRulesPackagesRequest.builder()
listRulesPackagesRequest
- A Consumer
that will call methods on ListRulesPackagesRequest.Builder
to create a request.default CompletableFuture<ListRulesPackagesResponse> listRulesPackages()
Lists all available Amazon Inspector rules packages.
default ListRulesPackagesPublisher listRulesPackagesPaginator()
Lists all available Amazon Inspector rules packages.
This is a variant of
listRulesPackages(software.amazon.awssdk.services.inspector.model.ListRulesPackagesRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListRulesPackagesPublisher publisher = client.listRulesPackagesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListRulesPackagesPublisher publisher = client.listRulesPackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListRulesPackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListRulesPackagesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listRulesPackages(software.amazon.awssdk.services.inspector.model.ListRulesPackagesRequest)
operation.
default ListRulesPackagesPublisher listRulesPackagesPaginator(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
This is a variant of
listRulesPackages(software.amazon.awssdk.services.inspector.model.ListRulesPackagesRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListRulesPackagesPublisher publisher = client.listRulesPackagesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListRulesPackagesPublisher publisher = client.listRulesPackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListRulesPackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListRulesPackagesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listRulesPackages(software.amazon.awssdk.services.inspector.model.ListRulesPackagesRequest)
operation.
listRulesPackagesRequest
- default ListRulesPackagesPublisher listRulesPackagesPaginator(Consumer<ListRulesPackagesRequest.Builder> listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
This is a variant of
listRulesPackages(software.amazon.awssdk.services.inspector.model.ListRulesPackagesRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.ListRulesPackagesPublisher publisher = client.listRulesPackagesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.ListRulesPackagesPublisher publisher = client.listRulesPackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.ListRulesPackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.ListRulesPackagesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listRulesPackages(software.amazon.awssdk.services.inspector.model.ListRulesPackagesRequest)
operation.
This is a convenience which creates an instance of the ListRulesPackagesRequest.Builder
avoiding the need
to create one manually via ListRulesPackagesRequest.builder()
listRulesPackagesRequest
- A Consumer
that will call methods on ListRulesPackagesRequest.Builder
to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
listTagsForResourceRequest
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags associated with an assessment template.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.default CompletableFuture<PreviewAgentsResponse> previewAgents(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgentsRequest
- default CompletableFuture<PreviewAgentsResponse> previewAgents(Consumer<PreviewAgentsRequest.Builder> previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
This is a convenience which creates an instance of the PreviewAgentsRequest.Builder
avoiding the need to
create one manually via PreviewAgentsRequest.builder()
previewAgentsRequest
- A Consumer
that will call methods on PreviewAgentsRequest.Builder
to create a request.default PreviewAgentsPublisher previewAgentsPaginator(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
This is a variant of previewAgents(software.amazon.awssdk.services.inspector.model.PreviewAgentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.PreviewAgentsPublisher publisher = client.previewAgentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.PreviewAgentsPublisher publisher = client.previewAgentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.PreviewAgentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.PreviewAgentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
previewAgents(software.amazon.awssdk.services.inspector.model.PreviewAgentsRequest)
operation.
previewAgentsRequest
- default PreviewAgentsPublisher previewAgentsPaginator(Consumer<PreviewAgentsRequest.Builder> previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
This is a variant of previewAgents(software.amazon.awssdk.services.inspector.model.PreviewAgentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.inspector.paginators.PreviewAgentsPublisher publisher = client.previewAgentsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector.paginators.PreviewAgentsPublisher publisher = client.previewAgentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector.model.PreviewAgentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector.model.PreviewAgentsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
previewAgents(software.amazon.awssdk.services.inspector.model.PreviewAgentsRequest)
operation.
This is a convenience which creates an instance of the PreviewAgentsRequest.Builder
avoiding the need to
create one manually via PreviewAgentsRequest.builder()
previewAgentsRequest
- A Consumer
that will call methods on PreviewAgentsRequest.Builder
to create a request.default CompletableFuture<RegisterCrossAccountAccessRoleResponse> registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
registerCrossAccountAccessRoleRequest
- default CompletableFuture<RegisterCrossAccountAccessRoleResponse> registerCrossAccountAccessRole(Consumer<RegisterCrossAccountAccessRoleRequest.Builder> registerCrossAccountAccessRoleRequest)
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
This is a convenience which creates an instance of the RegisterCrossAccountAccessRoleRequest.Builder
avoiding the need to create one manually via RegisterCrossAccountAccessRoleRequest.builder()
registerCrossAccountAccessRoleRequest
- A Consumer
that will call methods on RegisterCrossAccountAccessRoleRequest.Builder
to
create a request.default CompletableFuture<RemoveAttributesFromFindingsResponse> removeAttributesFromFindings(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.
removeAttributesFromFindingsRequest
- default CompletableFuture<RemoveAttributesFromFindingsResponse> removeAttributesFromFindings(Consumer<RemoveAttributesFromFindingsRequest.Builder> removeAttributesFromFindingsRequest)
Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.
This is a convenience which creates an instance of the RemoveAttributesFromFindingsRequest.Builder
avoiding the need to create one manually via RemoveAttributesFromFindingsRequest.builder()
removeAttributesFromFindingsRequest
- A Consumer
that will call methods on RemoveAttributesFromFindingsRequest.Builder
to create
a request.default CompletableFuture<SetTagsForResourceResponse> setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
setTagsForResourceRequest
- default CompletableFuture<SetTagsForResourceResponse> setTagsForResource(Consumer<SetTagsForResourceRequest.Builder> setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
This is a convenience which creates an instance of the SetTagsForResourceRequest.Builder
avoiding the
need to create one manually via SetTagsForResourceRequest.builder()
setTagsForResourceRequest
- A Consumer
that will call methods on SetTagsForResourceRequest.Builder
to create a
request.default CompletableFuture<StartAssessmentRunResponse> startAssessmentRun(StartAssessmentRunRequest startAssessmentRunRequest)
Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startAssessmentRunRequest
- default CompletableFuture<StartAssessmentRunResponse> startAssessmentRun(Consumer<StartAssessmentRunRequest.Builder> startAssessmentRunRequest)
Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
This is a convenience which creates an instance of the StartAssessmentRunRequest.Builder
avoiding the
need to create one manually via StartAssessmentRunRequest.builder()
startAssessmentRunRequest
- A Consumer
that will call methods on StartAssessmentRunRequest.Builder
to create a
request.default CompletableFuture<StopAssessmentRunResponse> stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
stopAssessmentRunRequest
- default CompletableFuture<StopAssessmentRunResponse> stopAssessmentRun(Consumer<StopAssessmentRunRequest.Builder> stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
This is a convenience which creates an instance of the StopAssessmentRunRequest.Builder
avoiding the need
to create one manually via StopAssessmentRunRequest.builder()
stopAssessmentRunRequest
- A Consumer
that will call methods on StopAssessmentRunRequest.Builder
to create a request.default CompletableFuture<SubscribeToEventResponse> subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
subscribeToEventRequest
- default CompletableFuture<SubscribeToEventResponse> subscribeToEvent(Consumer<SubscribeToEventRequest.Builder> subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
This is a convenience which creates an instance of the SubscribeToEventRequest.Builder
avoiding the need
to create one manually via SubscribeToEventRequest.builder()
subscribeToEventRequest
- A Consumer
that will call methods on SubscribeToEventRequest.Builder
to create a request.default CompletableFuture<UnsubscribeFromEventResponse> unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
unsubscribeFromEventRequest
- default CompletableFuture<UnsubscribeFromEventResponse> unsubscribeFromEvent(Consumer<UnsubscribeFromEventRequest.Builder> unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
This is a convenience which creates an instance of the UnsubscribeFromEventRequest.Builder
avoiding the
need to create one manually via UnsubscribeFromEventRequest.builder()
unsubscribeFromEventRequest
- A Consumer
that will call methods on UnsubscribeFromEventRequest.Builder
to create a
request.default CompletableFuture<UpdateAssessmentTargetResponse> updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
updateAssessmentTargetRequest
- default CompletableFuture<UpdateAssessmentTargetResponse> updateAssessmentTarget(Consumer<UpdateAssessmentTargetRequest.Builder> updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
This is a convenience which creates an instance of the UpdateAssessmentTargetRequest.Builder
avoiding the
need to create one manually via UpdateAssessmentTargetRequest.builder()
updateAssessmentTargetRequest
- A Consumer
that will call methods on UpdateAssessmentTargetRequest.Builder
to create a
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.