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 AmazonInspector
endpoint
- 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)
AmazonInspector
AmazonInspector.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 AmazonInspector
region
- 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)
AmazonInspector
Assigns attributes (key and value pair) to the findings specified by the findings' ARNs.
addAttributesToFindings
in interface AmazonInspector
public AttachAssessmentAndRulesPackageResult attachAssessmentAndRulesPackage(AttachAssessmentAndRulesPackageRequest request)
AmazonInspector
Attaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
attachAssessmentAndRulesPackage
in interface AmazonInspector
public CreateApplicationResult createApplication(CreateApplicationRequest request)
AmazonInspector
Creates 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 AmazonInspector
public CreateAssessmentResult createAssessment(CreateAssessmentRequest request)
AmazonInspector
Creates an assessment for the application specified by the application ARN. You can create up to 500 assessments per AWS account.
createAssessment
in interface AmazonInspector
public CreateResourceGroupResult createResourceGroup(CreateResourceGroupRequest request)
AmazonInspector
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. The created resource group is then used to create an Inspector application.
createResourceGroup
in interface AmazonInspector
public DeleteApplicationResult deleteApplication(DeleteApplicationRequest request)
AmazonInspector
Deletes the application specified by the application ARN.
deleteApplication
in interface AmazonInspector
public DeleteAssessmentResult deleteAssessment(DeleteAssessmentRequest request)
AmazonInspector
Deletes the assessment specified by the assessment ARN.
deleteAssessment
in interface AmazonInspector
public DeleteRunResult deleteRun(DeleteRunRequest request)
AmazonInspector
Deletes the assessment run specified by the run ARN.
deleteRun
in interface AmazonInspector
public DescribeApplicationResult describeApplication(DescribeApplicationRequest request)
AmazonInspector
Describes the application specified by the application ARN.
describeApplication
in interface AmazonInspector
public DescribeAssessmentResult describeAssessment(DescribeAssessmentRequest request)
AmazonInspector
Describes the assessment specified by the assessment ARN.
describeAssessment
in interface AmazonInspector
public DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request)
AmazonInspector
Describes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRole
in interface AmazonInspector
public DescribeFindingResult describeFinding(DescribeFindingRequest request)
AmazonInspector
Describes the finding specified by the finding ARN.
describeFinding
in interface AmazonInspector
public DescribeResourceGroupResult describeResourceGroup(DescribeResourceGroupRequest request)
AmazonInspector
Describes the resource group specified by the resource group ARN.
describeResourceGroup
in interface AmazonInspector
public DescribeRulesPackageResult describeRulesPackage(DescribeRulesPackageRequest request)
AmazonInspector
Describes the rules package specified by the rules package ARN.
describeRulesPackage
in interface AmazonInspector
public DescribeRunResult describeRun(DescribeRunRequest request)
AmazonInspector
Describes the assessment run specified by the run ARN.
describeRun
in interface AmazonInspector
public DetachAssessmentAndRulesPackageResult detachAssessmentAndRulesPackage(DetachAssessmentAndRulesPackageRequest request)
AmazonInspector
Detaches the rules package specified by the rules package ARN from the assessment specified by the assessment ARN.
detachAssessmentAndRulesPackage
in interface AmazonInspector
public GetAssessmentTelemetryResult getAssessmentTelemetry(GetAssessmentTelemetryRequest request)
AmazonInspector
Returns the metadata about the telemetry (application behavioral data) for the assessment specified by the assessment ARN.
getAssessmentTelemetry
in interface AmazonInspector
public ListApplicationsResult listApplications(ListApplicationsRequest request)
AmazonInspector
Lists the ARNs of the applications within this AWS account. For more information about applications, see Inspector Applications.
listApplications
in interface AmazonInspector
public ListAssessmentAgentsResult listAssessmentAgents(ListAssessmentAgentsRequest request)
AmazonInspector
Lists the agents of the assessment specified by the assessment ARN.
listAssessmentAgents
in interface AmazonInspector
public ListAssessmentsResult listAssessments(ListAssessmentsRequest request)
AmazonInspector
Lists the assessments corresponding to applications specified by the applications' ARNs.
listAssessments
in interface AmazonInspector
public ListAttachedAssessmentsResult listAttachedAssessments(ListAttachedAssessmentsRequest request)
AmazonInspector
Lists the assessments attached to the rules package specified by the rules package ARN.
listAttachedAssessments
in interface AmazonInspector
public ListAttachedRulesPackagesResult listAttachedRulesPackages(ListAttachedRulesPackagesRequest request)
AmazonInspector
Lists the rules packages attached to the assessment specified by the assessment ARN.
listAttachedRulesPackages
in interface AmazonInspector
public ListFindingsResult listFindings(ListFindingsRequest request)
AmazonInspector
Lists findings generated by the assessment run specified by the run ARNs.
listFindings
in interface AmazonInspector
public ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest request)
AmazonInspector
Lists all available Inspector rules packages.
listRulesPackages
in interface AmazonInspector
public ListRunsResult listRuns(ListRunsRequest request)
AmazonInspector
Lists the assessment runs associated with the assessments specified by the assessment ARNs.
listRuns
in interface AmazonInspector
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonInspector
Lists all tags associated with a resource.
listTagsForResource
in interface AmazonInspector
public LocalizeTextResult localizeText(LocalizeTextRequest request)
AmazonInspector
Translates a textual identifier into a user-readable text in a specified locale.
localizeText
in interface AmazonInspector
public PreviewAgentsForResourceGroupResult previewAgentsForResourceGroup(PreviewAgentsForResourceGroupRequest request)
AmazonInspector
Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
previewAgentsForResourceGroup
in interface AmazonInspector
public RegisterCrossAccountAccessRoleResult registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request)
AmazonInspector
Register the role that Inspector uses to list your EC2 instances during the assessment.
registerCrossAccountAccessRole
in interface AmazonInspector
public RemoveAttributesFromFindingsResult removeAttributesFromFindings(RemoveAttributesFromFindingsRequest request)
AmazonInspector
Removes 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 AmazonInspector
public RunAssessmentResult runAssessment(RunAssessmentRequest request)
AmazonInspector
Starts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
runAssessment
in interface AmazonInspector
public SetTagsForResourceResult setTagsForResource(SetTagsForResourceRequest request)
AmazonInspector
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
setTagsForResource
in interface AmazonInspector
public StartDataCollectionResult startDataCollection(StartDataCollectionRequest request)
AmazonInspector
Starts 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 AmazonInspector
public StopDataCollectionResult stopDataCollection(StopDataCollectionRequest request)
AmazonInspector
Stop data collection for the assessment specified by the assessment ARN.
stopDataCollection
in interface AmazonInspector
public UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
AmazonInspector
Updates application specified by the application ARN.
updateApplication
in interface AmazonInspector
public UpdateAssessmentResult updateAssessment(UpdateAssessmentRequest request)
AmazonInspector
Updates the assessment specified by the assessment ARN.
updateAssessment
in interface AmazonInspector
public void shutdown()
AmazonInspector
shutdown
in interface AmazonInspector
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonInspector
Response 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 AmazonInspector
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.