public class AbstractAmazonInspector extends Object implements AmazonInspector
AmazonInspector. Convenient method forms
pass through to the corresponding overload that takes a request object, which
throws an UnsupportedOperationException.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAmazonInspector() |
| Modifier and Type | Method and Description |
|---|---|
AddAttributesToFindingsResult |
addAttributesToFindings(AddAttributesToFindingsRequest request)
Assigns attributes (key and value pair) to the findings specified by the
findings' ARNs.
|
CreateAssessmentTargetResult |
createAssessmentTarget(CreateAssessmentTargetRequest request)
Creates a new assessment target using the resource group ARN generated by
CreateResourceGroup.
|
CreateAssessmentTemplateResult |
createAssessmentTemplate(CreateAssessmentTemplateRequest request)
Creates an assessment template for the assessment target specified by the
assessment target ARN.
|
CreateResourceGroupResult |
createResourceGroup(CreateResourceGroupRequest request)
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
Inspector assessment target.
|
void |
deleteAssessmentRun(DeleteAssessmentRunRequest request)
Deletes the assessment run specified by the assessment run ARN.
|
void |
deleteAssessmentTarget(DeleteAssessmentTargetRequest request)
Deletes the assessment target specified by the assessment target ARN.
|
void |
deleteAssessmentTemplate(DeleteAssessmentTemplateRequest request)
Deletes the assessment template specified by the assessment template ARN.
|
DescribeAssessmentRunsResult |
describeAssessmentRuns(DescribeAssessmentRunsRequest request)
Describes the assessment run(s) specified by the assessment run ARN(s).
|
DescribeAssessmentTargetsResult |
describeAssessmentTargets(DescribeAssessmentTargetsRequest request)
Describes the assessment target(s) specified by the assessment target
ARN(s).
|
DescribeAssessmentTemplatesResult |
describeAssessmentTemplates(DescribeAssessmentTemplatesRequest request)
Describes the assessment template(s) specified by the assessment
template(s) ARN(s).
|
DescribeCrossAccountAccessRoleResult |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request)
Describes the IAM role that enables Inspector to access your AWS account.
|
DescribeFindingsResult |
describeFindings(DescribeFindingsRequest request)
Describes the finding(s) specified by the finding ARN(s).
|
DescribeResourceGroupsResult |
describeResourceGroups(DescribeResourceGroupsRequest request)
Describes resource group(s) specified by the resource group ARN(s).
|
DescribeRulesPackagesResult |
describeRulesPackages(DescribeRulesPackagesRequest request)
Describes the rules package(s) specified by the rules package ARN(s).
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
GetTelemetryMetadataResult |
getTelemetryMetadata(GetTelemetryMetadataRequest request)
Information about the data collected for the specified assessment run.
|
ListAssessmentRunAgentsResult |
listAssessmentRunAgents(ListAssessmentRunAgentsRequest request)
Lists the agents of the assessment run specified by the assessment run
ARN.
|
ListAssessmentRunsResult |
listAssessmentRuns(ListAssessmentRunsRequest request)
Lists the assessments run corresponding to assessment template(s)
specified by the assessment template(s)' ARN(s).
|
ListAssessmentTargetsResult |
listAssessmentTargets(ListAssessmentTargetsRequest request)
Lists the ARN(s) of the assessment target(s) within this AWS account.
|
ListAssessmentTemplatesResult |
listAssessmentTemplates(ListAssessmentTemplatesRequest request)
Lists the assessment template(s) corresponding to the assessment
target(s) specified by the assessment targets' ARN(s).
|
ListEventSubscriptionsResult |
listEventSubscriptions(ListEventSubscriptionsRequest request)
Lists all the event subscriptions for the assessment template specified
by the assessment template ARN.
|
ListFindingsResult |
listFindings(ListFindingsRequest request)
Lists findings generated by the assessment run(s) specified by the
assessment run ARN(s).
|
ListRulesPackagesResult |
listRulesPackages(ListRulesPackagesRequest request)
Lists all available Inspector rules packages.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags associated with an assessment template.
|
PreviewAgentsResult |
previewAgents(PreviewAgentsRequest request)
Previews the agents installed on the EC2 instances that are part of the
specified assessment target.
|
void |
registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request)
Registers the IAM role that Inspector uses to list your EC2 instances at
the start of the assessment run or when you call the PreviewAgents
action.
|
RemoveAttributesFromFindingsResult |
removeAttributesFromFindings(RemoveAttributesFromFindingsRequest request)
Removes entire attributes (key and value pairs) from the findings
specified by the finding ARNs where an attribute with the specified key
exists.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://inspector.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AmazonInspector.setEndpoint(String), sets the
regional endpoint for this client's service calls. |
void |
setTagsForResource(SetTagsForResourceRequest request)
Sets tags (key and value pairs) to the assessment template specified by
the assessment template ARN.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartAssessmentRunResult |
startAssessmentRun(StartAssessmentRunRequest request)
Starts the assessment run specified by the assessment template ARN.
|
void |
stopAssessmentRun(StopAssessmentRunRequest request)
Stops the assessment run specified by the assessment run ARN.
|
void |
subscribeToEvent(SubscribeToEventRequest request)
Enables the process of sending Amazon Simple Notification Service (SNS)
notifications about a specified event to a specified topic.
|
void |
unsubscribeFromEvent(UnsubscribeFromEventRequest request)
Disables the process of sending Amazon Simple Notification Service (SNS)
notifications about a specified event to a specified topic.
|
void |
updateAssessmentTarget(UpdateAssessmentTargetRequest request)
Updates the assessment target specified by the assessment target ARN.
|
public void setEndpoint(String endpoint)
AmazonInspector
Callers can pass in just the endpoint (ex:
"inspector.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://inspector.us-east-1.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint in interface AmazonInspectorendpoint - The endpoint (ex: "inspector.us-east-1.amazonaws.com") or a full
URL, including the protocol (ex:
"https://inspector.us-east-1.amazonaws.com") of the region
specific AWS endpoint this client will communicate with.public void setRegion(Region region)
AmazonInspectorAmazonInspector.setEndpoint(String), sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion in interface AmazonInspectorregion - The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions) for
accessing a given region. Must not be null and must be a region
where the service is available.Region.getRegion(com.amazonaws.regions.Regions),
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration),
Region.isServiceSupported(String)public AddAttributesToFindingsResult addAttributesToFindings(AddAttributesToFindingsRequest request)
AmazonInspectorAssigns attributes (key and value pair) to the findings specified by the findings' ARNs.
addAttributesToFindings in interface AmazonInspectorpublic CreateAssessmentTargetResult createAssessmentTarget(CreateAssessmentTargetRequest request)
AmazonInspectorCreates a new assessment target using the resource group ARN 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.
createAssessmentTarget in interface AmazonInspectorpublic CreateAssessmentTemplateResult createAssessmentTemplate(CreateAssessmentTemplateRequest request)
AmazonInspectorCreates an assessment template for the assessment target specified by the assessment target ARN.
createAssessmentTemplate in interface AmazonInspectorpublic CreateResourceGroupResult createResourceGroup(CreateResourceGroupRequest request)
AmazonInspectorCreates 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 Inspector assessment target. The created resource group is then used to create an Inspector assessment target.
createResourceGroup in interface AmazonInspectorpublic void deleteAssessmentRun(DeleteAssessmentRunRequest request)
AmazonInspectorDeletes the assessment run specified by the assessment run ARN.
deleteAssessmentRun in interface AmazonInspectorpublic void deleteAssessmentTarget(DeleteAssessmentTargetRequest request)
AmazonInspectorDeletes the assessment target specified by the assessment target ARN.
deleteAssessmentTarget in interface AmazonInspectorpublic void deleteAssessmentTemplate(DeleteAssessmentTemplateRequest request)
AmazonInspectorDeletes the assessment template specified by the assessment template ARN.
deleteAssessmentTemplate in interface AmazonInspectorpublic DescribeAssessmentRunsResult describeAssessmentRuns(DescribeAssessmentRunsRequest request)
AmazonInspectorDescribes the assessment run(s) specified by the assessment run ARN(s).
describeAssessmentRuns in interface AmazonInspectorpublic DescribeAssessmentTargetsResult describeAssessmentTargets(DescribeAssessmentTargetsRequest request)
AmazonInspectorDescribes the assessment target(s) specified by the assessment target ARN(s).
describeAssessmentTargets in interface AmazonInspectorpublic DescribeAssessmentTemplatesResult describeAssessmentTemplates(DescribeAssessmentTemplatesRequest request)
AmazonInspectorDescribes the assessment template(s) specified by the assessment template(s) ARN(s).
describeAssessmentTemplates in interface AmazonInspectorpublic DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request)
AmazonInspectorDescribes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRole in interface AmazonInspectorpublic DescribeFindingsResult describeFindings(DescribeFindingsRequest request)
AmazonInspectorDescribes the finding(s) specified by the finding ARN(s).
describeFindings in interface AmazonInspectorpublic DescribeResourceGroupsResult describeResourceGroups(DescribeResourceGroupsRequest request)
AmazonInspectorDescribes resource group(s) specified by the resource group ARN(s).
describeResourceGroups in interface AmazonInspectorpublic DescribeRulesPackagesResult describeRulesPackages(DescribeRulesPackagesRequest request)
AmazonInspectorDescribes the rules package(s) specified by the rules package ARN(s).
describeRulesPackages in interface AmazonInspectorpublic GetTelemetryMetadataResult getTelemetryMetadata(GetTelemetryMetadataRequest request)
AmazonInspectorInformation about the data collected for the specified assessment run.
getTelemetryMetadata in interface AmazonInspectorpublic ListAssessmentRunAgentsResult listAssessmentRunAgents(ListAssessmentRunAgentsRequest request)
AmazonInspectorLists the agents of the assessment run specified by the assessment run ARN.
listAssessmentRunAgents in interface AmazonInspectorpublic ListAssessmentRunsResult listAssessmentRuns(ListAssessmentRunsRequest request)
AmazonInspectorLists the assessments run corresponding to assessment template(s) specified by the assessment template(s)' ARN(s).
listAssessmentRuns in interface AmazonInspectorpublic ListAssessmentTargetsResult listAssessmentTargets(ListAssessmentTargetsRequest request)
AmazonInspectorLists the ARN(s) of the assessment target(s) within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
listAssessmentTargets in interface AmazonInspectorpublic ListAssessmentTemplatesResult listAssessmentTemplates(ListAssessmentTemplatesRequest request)
AmazonInspectorLists the assessment template(s) corresponding to the assessment target(s) specified by the assessment targets' ARN(s).
listAssessmentTemplates in interface AmazonInspectorpublic ListEventSubscriptionsResult listEventSubscriptions(ListEventSubscriptionsRequest request)
AmazonInspectorLists all the event subscriptions for the assessment template specified by the assessment template ARN. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
listEventSubscriptions in interface AmazonInspectorpublic ListFindingsResult listFindings(ListFindingsRequest request)
AmazonInspectorLists findings generated by the assessment run(s) specified by the assessment run ARN(s).
listFindings in interface AmazonInspectorpublic ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest request)
AmazonInspectorLists all available Inspector rules packages.
listRulesPackages in interface AmazonInspectorpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonInspectorLists all tags associated with an assessment template.
listTagsForResource in interface AmazonInspectorpublic PreviewAgentsResult previewAgents(PreviewAgentsRequest request)
AmazonInspectorPreviews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgents in interface AmazonInspectorpublic void registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request)
AmazonInspectorRegisters the IAM role that Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
registerCrossAccountAccessRole in interface AmazonInspectorpublic RemoveAttributesFromFindingsResult removeAttributesFromFindings(RemoveAttributesFromFindingsRequest request)
AmazonInspectorRemoves entire attributes (key and value pairs) from the findings specified by the finding ARNs where an attribute with the specified key exists.
removeAttributesFromFindings in interface AmazonInspectorpublic void setTagsForResource(SetTagsForResourceRequest request)
AmazonInspectorSets tags (key and value pairs) to the assessment template specified by the assessment template ARN.
setTagsForResource in interface AmazonInspectorpublic StartAssessmentRunResult startAssessmentRun(StartAssessmentRunRequest request)
AmazonInspectorStarts the assessment run specified by the assessment template ARN. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startAssessmentRun in interface AmazonInspectorpublic void stopAssessmentRun(StopAssessmentRunRequest request)
AmazonInspectorStops the assessment run specified by the assessment run ARN.
stopAssessmentRun in interface AmazonInspectorpublic void subscribeToEvent(SubscribeToEventRequest request)
AmazonInspectorEnables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified topic.
subscribeToEvent in interface AmazonInspectorpublic void unsubscribeFromEvent(UnsubscribeFromEventRequest request)
AmazonInspectorDisables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified topic.
unsubscribeFromEvent in interface AmazonInspectorpublic void updateAssessmentTarget(UpdateAssessmentTargetRequest request)
AmazonInspectorUpdates the assessment target specified by the assessment target ARN.
updateAssessmentTarget in interface AmazonInspectorpublic void shutdown()
AmazonInspectorshutdown in interface AmazonInspectorpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonInspectorResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonInspectorrequest - The originally executed request.Copyright © 2016. All rights reserved.