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 and Type | Method and Description |
|---|---|
AddAttributesToFindingsResult |
addAttributesToFindings(AddAttributesToFindingsRequest request)
Assigns attributes (key and value pair) to the findings specified by the
findings' ARNs.
|
AttachAssessmentAndRulesPackageResult |
attachAssessmentAndRulesPackage(AttachAssessmentAndRulesPackageRequest request)
Attaches the rules package specified by the rules package ARN to the
assessment specified by the assessment ARN.
|
CreateApplicationResult |
createApplication(CreateApplicationRequest request)
Creates a new application using the resource group ARN generated by
CreateResourceGroup.
|
CreateAssessmentResult |
createAssessment(CreateAssessmentRequest request)
Creates an assessment for the application specified by the application
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 application.
|
DeleteApplicationResult |
deleteApplication(DeleteApplicationRequest request)
Deletes the application specified by the application ARN.
|
DeleteAssessmentResult |
deleteAssessment(DeleteAssessmentRequest request)
Deletes the assessment specified by the assessment ARN.
|
DeleteRunResult |
deleteRun(DeleteRunRequest request)
Deletes the assessment run specified by the run ARN.
|
DescribeApplicationResult |
describeApplication(DescribeApplicationRequest request)
Describes the application specified by the application ARN.
|
DescribeAssessmentResult |
describeAssessment(DescribeAssessmentRequest request)
Describes the assessment specified by the assessment ARN.
|
DescribeCrossAccountAccessRoleResult |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request)
Describes the IAM role that enables Inspector to access your AWS account.
|
DescribeFindingResult |
describeFinding(DescribeFindingRequest request)
Describes the finding specified by the finding ARN.
|
DescribeResourceGroupResult |
describeResourceGroup(DescribeResourceGroupRequest request)
Describes the resource group specified by the resource group ARN.
|
DescribeRulesPackageResult |
describeRulesPackage(DescribeRulesPackageRequest request)
Describes the rules package specified by the rules package ARN.
|
DescribeRunResult |
describeRun(DescribeRunRequest request)
Describes the assessment run specified by the run ARN.
|
DetachAssessmentAndRulesPackageResult |
detachAssessmentAndRulesPackage(DetachAssessmentAndRulesPackageRequest request)
Detaches the rules package specified by the rules package ARN from the
assessment specified by the assessment ARN.
|
GetAssessmentTelemetryResult |
getAssessmentTelemetry(GetAssessmentTelemetryRequest request)
Returns the metadata about the telemetry (application behavioral data)
for the assessment specified by the assessment ARN.
|
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.
|
ListApplicationsResult |
listApplications(ListApplicationsRequest request)
Lists the ARNs of the applications within this AWS account.
|
ListAssessmentAgentsResult |
listAssessmentAgents(ListAssessmentAgentsRequest request)
Lists the agents of the assessment specified by the assessment ARN.
|
ListAssessmentsResult |
listAssessments(ListAssessmentsRequest request)
Lists the assessments corresponding to applications specified by the
applications' ARNs.
|
ListAttachedAssessmentsResult |
listAttachedAssessments(ListAttachedAssessmentsRequest request)
Lists the assessments attached to the rules package specified by the
rules package ARN.
|
ListAttachedRulesPackagesResult |
listAttachedRulesPackages(ListAttachedRulesPackagesRequest request)
Lists the rules packages attached to the assessment specified by the
assessment ARN.
|
ListFindingsResult |
listFindings(ListFindingsRequest request)
Lists findings generated by the assessment run specified by the run ARNs.
|
ListRulesPackagesResult |
listRulesPackages(ListRulesPackagesRequest request)
Lists all available Inspector rules packages.
|
ListRunsResult |
listRuns(ListRunsRequest request)
Lists the assessment runs associated with the assessments specified by
the assessment ARNs.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags associated with a resource.
|
LocalizeTextResult |
localizeText(LocalizeTextRequest request)
Translates a textual identifier into a user-readable text in a specified
locale.
|
PreviewAgentsForResourceGroupResult |
previewAgentsForResourceGroup(PreviewAgentsForResourceGroupRequest request)
Previews the agents installed on the EC2 instances that are included in
the application created with the specified resource group.
|
RegisterCrossAccountAccessRoleResult |
registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request)
Register the role that Inspector uses to list your EC2 instances during
the assessment.
|
RemoveAttributesFromFindingsResult |
removeAttributesFromFindings(RemoveAttributesFromFindingsRequest request)
Removes the entire attribute (key and value pair) from the findings
specified by the finding ARNs where an attribute with the specified key
exists.
|
RunAssessmentResult |
runAssessment(RunAssessmentRequest request)
Starts the analysis of the application’s behavior against selected rule
packages for the assessment specified by the assessment ARN.
|
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. |
SetTagsForResourceResult |
setTagsForResource(SetTagsForResourceRequest request)
Sets tags (key and value pairs) to the assessment specified by the
assessment ARN.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartDataCollectionResult |
startDataCollection(StartDataCollectionRequest request)
Starts data collection for the assessment specified by the assessment
ARN.
|
StopDataCollectionResult |
stopDataCollection(StopDataCollectionRequest request)
Stop data collection for the assessment specified by the assessment ARN.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest request)
Updates application specified by the application ARN.
|
UpdateAssessmentResult |
updateAssessment(UpdateAssessmentRequest request)
Updates the assessment specified by the assessment 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 AttachAssessmentAndRulesPackageResult attachAssessmentAndRulesPackage(AttachAssessmentAndRulesPackageRequest request)
AmazonInspectorAttaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
attachAssessmentAndRulesPackage in interface AmazonInspectorpublic CreateApplicationResult createApplication(CreateApplicationRequest request)
AmazonInspectorCreates a new application using the resource group ARN generated by CreateResourceGroup. You can create up to 50 applications per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Inspector Applications.
createApplication in interface AmazonInspectorpublic CreateAssessmentResult createAssessment(CreateAssessmentRequest request)
AmazonInspectorCreates an assessment for the application specified by the application ARN. You can create up to 500 assessments per AWS account.
createAssessment 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 application. The created resource group is then used to create an Inspector application.
createResourceGroup in interface AmazonInspectorpublic DeleteApplicationResult deleteApplication(DeleteApplicationRequest request)
AmazonInspectorDeletes the application specified by the application ARN.
deleteApplication in interface AmazonInspectorpublic DeleteAssessmentResult deleteAssessment(DeleteAssessmentRequest request)
AmazonInspectorDeletes the assessment specified by the assessment ARN.
deleteAssessment in interface AmazonInspectorpublic DeleteRunResult deleteRun(DeleteRunRequest request)
AmazonInspectorDeletes the assessment run specified by the run ARN.
deleteRun in interface AmazonInspectorpublic DescribeApplicationResult describeApplication(DescribeApplicationRequest request)
AmazonInspectorDescribes the application specified by the application ARN.
describeApplication in interface AmazonInspectorpublic DescribeAssessmentResult describeAssessment(DescribeAssessmentRequest request)
AmazonInspectorDescribes the assessment specified by the assessment ARN.
describeAssessment in interface AmazonInspectorpublic DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request)
AmazonInspectorDescribes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRole in interface AmazonInspectorpublic DescribeFindingResult describeFinding(DescribeFindingRequest request)
AmazonInspectorDescribes the finding specified by the finding ARN.
describeFinding in interface AmazonInspectorpublic DescribeResourceGroupResult describeResourceGroup(DescribeResourceGroupRequest request)
AmazonInspectorDescribes the resource group specified by the resource group ARN.
describeResourceGroup in interface AmazonInspectorpublic DescribeRulesPackageResult describeRulesPackage(DescribeRulesPackageRequest request)
AmazonInspectorDescribes the rules package specified by the rules package ARN.
describeRulesPackage in interface AmazonInspectorpublic DescribeRunResult describeRun(DescribeRunRequest request)
AmazonInspectorDescribes the assessment run specified by the run ARN.
describeRun in interface AmazonInspectorpublic DetachAssessmentAndRulesPackageResult detachAssessmentAndRulesPackage(DetachAssessmentAndRulesPackageRequest request)
AmazonInspectorDetaches the rules package specified by the rules package ARN from the assessment specified by the assessment ARN.
detachAssessmentAndRulesPackage in interface AmazonInspectorpublic GetAssessmentTelemetryResult getAssessmentTelemetry(GetAssessmentTelemetryRequest request)
AmazonInspectorReturns the metadata about the telemetry (application behavioral data) for the assessment specified by the assessment ARN.
getAssessmentTelemetry in interface AmazonInspectorpublic ListApplicationsResult listApplications(ListApplicationsRequest request)
AmazonInspectorLists the ARNs of the applications within this AWS account. For more information about applications, see Inspector Applications.
listApplications in interface AmazonInspectorpublic ListAssessmentAgentsResult listAssessmentAgents(ListAssessmentAgentsRequest request)
AmazonInspectorLists the agents of the assessment specified by the assessment ARN.
listAssessmentAgents in interface AmazonInspectorpublic ListAssessmentsResult listAssessments(ListAssessmentsRequest request)
AmazonInspectorLists the assessments corresponding to applications specified by the applications' ARNs.
listAssessments in interface AmazonInspectorpublic ListAttachedAssessmentsResult listAttachedAssessments(ListAttachedAssessmentsRequest request)
AmazonInspectorLists the assessments attached to the rules package specified by the rules package ARN.
listAttachedAssessments in interface AmazonInspectorpublic ListAttachedRulesPackagesResult listAttachedRulesPackages(ListAttachedRulesPackagesRequest request)
AmazonInspectorLists the rules packages attached to the assessment specified by the assessment ARN.
listAttachedRulesPackages in interface AmazonInspectorpublic ListFindingsResult listFindings(ListFindingsRequest request)
AmazonInspectorLists findings generated by the assessment run specified by the run ARNs.
listFindings in interface AmazonInspectorpublic ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest request)
AmazonInspectorLists all available Inspector rules packages.
listRulesPackages in interface AmazonInspectorpublic ListRunsResult listRuns(ListRunsRequest request)
AmazonInspectorLists the assessment runs associated with the assessments specified by the assessment ARNs.
listRuns in interface AmazonInspectorpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonInspectorLists all tags associated with a resource.
listTagsForResource in interface AmazonInspectorpublic LocalizeTextResult localizeText(LocalizeTextRequest request)
AmazonInspectorTranslates a textual identifier into a user-readable text in a specified locale.
localizeText in interface AmazonInspectorpublic PreviewAgentsForResourceGroupResult previewAgentsForResourceGroup(PreviewAgentsForResourceGroupRequest request)
AmazonInspectorPreviews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
previewAgentsForResourceGroup in interface AmazonInspectorpublic RegisterCrossAccountAccessRoleResult registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request)
AmazonInspectorRegister the role that Inspector uses to list your EC2 instances during the assessment.
registerCrossAccountAccessRole in interface AmazonInspectorpublic RemoveAttributesFromFindingsResult removeAttributesFromFindings(RemoveAttributesFromFindingsRequest request)
AmazonInspectorRemoves the entire attribute (key and value pair) from the findings specified by the finding ARNs where an attribute with the specified key exists.
removeAttributesFromFindings in interface AmazonInspectorpublic RunAssessmentResult runAssessment(RunAssessmentRequest request)
AmazonInspectorStarts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
runAssessment in interface AmazonInspectorpublic SetTagsForResourceResult setTagsForResource(SetTagsForResourceRequest request)
AmazonInspectorSets tags (key and value pairs) to the assessment specified by the assessment ARN.
setTagsForResource in interface AmazonInspectorpublic StartDataCollectionResult startDataCollection(StartDataCollectionRequest request)
AmazonInspectorStarts data collection for the assessment specified by the assessment ARN. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startDataCollection in interface AmazonInspectorpublic StopDataCollectionResult stopDataCollection(StopDataCollectionRequest request)
AmazonInspectorStop data collection for the assessment specified by the assessment ARN.
stopDataCollection in interface AmazonInspectorpublic UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
AmazonInspectorUpdates application specified by the application ARN.
updateApplication in interface AmazonInspectorpublic UpdateAssessmentResult updateAssessment(UpdateAssessmentRequest request)
AmazonInspectorUpdates the assessment specified by the assessment ARN.
updateAssessment 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.