AutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface InspectorAsyncClient extends AutoCloseable
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 | Method | 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.
|
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(CreateAssessmentTargetRequest createAssessmentTargetRequest) |
Creates a new assessment target using the ARN of the resource group that is generated by
CreateResourceGroup.
|
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(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(DeleteAssessmentRunRequest deleteAssessmentRunRequest) |
Deletes the assessment run that is specified by the ARN of the assessment run.
|
default CompletableFuture<DeleteAssessmentTargetResponse> |
deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest) |
Deletes the assessment target that is specified by the ARN of the assessment target.
|
default CompletableFuture<DeleteAssessmentTemplateResponse> |
deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest) |
Deletes the assessment template that is specified by the ARN of the assessment template.
|
default CompletableFuture<DescribeAssessmentRunsResponse> |
describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest) |
Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
default CompletableFuture<DescribeAssessmentTargetsResponse> |
describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest) |
Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
default CompletableFuture<DescribeAssessmentTemplatesResponse> |
describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest) |
Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
default CompletableFuture<DescribeCrossAccountAccessRoleResponse> |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest) |
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.
|
default CompletableFuture<DescribeResourceGroupsResponse> |
describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest) |
Describes the resource groups that are specified by the ARNs of the resource groups.
|
default CompletableFuture<DescribeRulesPackagesResponse> |
describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest) |
Describes the rules packages that are specified by the ARNs of the rules packages.
|
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(GetTelemetryMetadataRequest getTelemetryMetadataRequest) |
Information about the data that is collected for the specified assessment run.
|
default CompletableFuture<ListAssessmentRunAgentsResponse> |
listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest) |
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
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 CompletableFuture<ListAssessmentTargetsResponse> |
listAssessmentTargets(ListAssessmentTargetsRequest listAssessmentTargetsRequest) |
Lists the ARNs of the assessment targets within this AWS account.
|
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 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 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 CompletableFuture<ListRulesPackagesResponse> |
listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest) |
Lists all available Amazon Inspector rules packages.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) |
Lists all tags associated with an assessment template.
|
default CompletableFuture<PreviewAgentsResponse> |
previewAgents(PreviewAgentsRequest previewAgentsRequest) |
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
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(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(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(StartAssessmentRunRequest startAssessmentRunRequest) |
Starts the assessment run specified by the ARN of the assessment template.
|
default CompletableFuture<StopAssessmentRunResponse> |
stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest) |
Stops the assessment run that is specified by the ARN of the assessment run.
|
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(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(UpdateAssessmentTargetRequest updateAssessmentTargetRequest) |
Updates the assessment target that is specified by the ARN of the assessment target.
|
close
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<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<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<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<DeleteAssessmentRunResponse> deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
deleteAssessmentRunRequest
- default CompletableFuture<DeleteAssessmentTargetResponse> deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
deleteAssessmentTargetRequest
- default CompletableFuture<DeleteAssessmentTemplateResponse> deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
deleteAssessmentTemplateRequest
- default CompletableFuture<DescribeAssessmentRunsResponse> describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
describeAssessmentRunsRequest
- default CompletableFuture<DescribeAssessmentTargetsResponse> describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
describeAssessmentTargetsRequest
- default CompletableFuture<DescribeAssessmentTemplatesResponse> describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
describeAssessmentTemplatesRequest
- default CompletableFuture<DescribeCrossAccountAccessRoleResponse> describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
describeCrossAccountAccessRoleRequest
- default CompletableFuture<DescribeFindingsResponse> describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
describeFindingsRequest
- default CompletableFuture<DescribeResourceGroupsResponse> describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
describeResourceGroupsRequest
- default CompletableFuture<DescribeRulesPackagesResponse> describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
describeRulesPackagesRequest
- default CompletableFuture<GetAssessmentReportResponse> getAssessmentReport(GetAssessmentReportRequest getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
getAssessmentReportRequest
- default CompletableFuture<GetTelemetryMetadataResponse> getTelemetryMetadata(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
getTelemetryMetadataRequest
- 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<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<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<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<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<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<ListRulesPackagesResponse> listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
listRulesPackagesRequest
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
listTagsForResourceRequest
- 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<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<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<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<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<StopAssessmentRunResponse> stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
stopAssessmentRunRequest
- 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<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<UpdateAssessmentTargetResponse> updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
updateAssessmentTargetRequest
- Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.