@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonInspector
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonInspector
instead.
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 |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AddAttributesToFindingsResult |
addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
|
CreateAssessmentTargetResult |
createAssessmentTarget(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the ARN of the resource group that is generated by
CreateResourceGroup.
|
CreateAssessmentTemplateResult |
createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
|
CreateResourceGroupResult |
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.
|
DeleteAssessmentRunResult |
deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
|
DeleteAssessmentTargetResult |
deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
|
DeleteAssessmentTemplateResult |
deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
|
DescribeAssessmentRunsResult |
describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
|
DescribeAssessmentTargetsResult |
describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
|
DescribeAssessmentTemplatesResult |
describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
|
DescribeCrossAccountAccessRoleResult |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
|
DescribeFindingsResult |
describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
|
DescribeResourceGroupsResult |
describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
|
DescribeRulesPackagesResult |
describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
|
GetAssessmentReportResult |
getAssessmentReport(GetAssessmentReportRequest getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
|
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 getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
|
ListAssessmentRunAgentsResult |
listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
|
ListAssessmentRunsResult |
listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the
assessment templates.
|
ListAssessmentTargetsResult |
listAssessmentTargets(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARNs of the assessment targets within this AWS account.
|
ListAssessmentTemplatesResult |
listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
assessment targets.
|
ListEventSubscriptionsResult |
listEventSubscriptions(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment
template.
|
ListFindingsResult |
listFindings(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
|
ListRulesPackagesResult |
listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
|
PreviewAgentsResult |
previewAgents(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
|
RegisterCrossAccountAccessRoleResult |
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.
|
RemoveAttributesFromFindingsResult |
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.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
SetTagsForResourceResult |
setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
template.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartAssessmentRunResult |
startAssessmentRun(StartAssessmentRunRequest startAssessmentRunRequest)
Starts the assessment run specified by the ARN of the assessment template.
|
StopAssessmentRunResult |
stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
|
SubscribeToEventResult |
subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
UnsubscribeFromEventResult |
unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to
a specified SNS topic.
|
UpdateAssessmentTargetResult |
updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
|
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
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.
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.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
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.
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)
AddAttributesToFindingsResult addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
addAttributesToFindingsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.CreateAssessmentTargetResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.CreateAssessmentTemplateResult createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
createAssessmentTemplateRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.CreateResourceGroupResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.AccessDeniedException
- You do not have required permissions to access the requested resource.DeleteAssessmentRunResult deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
deleteAssessmentRunRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AssessmentRunInProgressException
- You cannot perform a specified action if an assessment run is currently in progress.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.DeleteAssessmentTargetResult deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
deleteAssessmentTargetRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AssessmentRunInProgressException
- You cannot perform a specified action if an assessment run is currently in progress.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.DeleteAssessmentTemplateResult deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
deleteAssessmentTemplateRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AssessmentRunInProgressException
- You cannot perform a specified action if an assessment run is currently in progress.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.DescribeAssessmentRunsResult describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
describeAssessmentRunsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.DescribeAssessmentTargetsResult describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
describeAssessmentTargetsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.DescribeAssessmentTemplatesResult describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
describeAssessmentTemplatesRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
describeCrossAccountAccessRoleRequest
- InternalException
- Internal server error.DescribeFindingsResult describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
describeFindingsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.DescribeResourceGroupsResult describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
describeResourceGroupsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.DescribeRulesPackagesResult describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
describeRulesPackagesRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.GetAssessmentReportResult getAssessmentReport(GetAssessmentReportRequest getAssessmentReportRequest)
Produces an assessment report that includes detailed and comprehensive results of a specified assessment run.
getAssessmentReportRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.AssessmentRunInProgressException
- You cannot perform a specified action if an assessment run is currently in progress.UnsupportedFeatureException
- Used by the GetAssessmentReport API. The request was rejected because you tried to generate a
report for an assessment run that existed before reporting was supported in Amazon Inspector. You can
only generate reports for assessment runs that took place or will take place after generating reports in
Amazon Inspector became available.GetTelemetryMetadataResult getTelemetryMetadata(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
getTelemetryMetadataRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.ListAssessmentRunAgentsResult listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
listAssessmentRunAgentsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.ListAssessmentRunsResult listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
listAssessmentRunsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.ListAssessmentTargetsResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.ListAssessmentTemplatesResult listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
listAssessmentTemplatesRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.ListEventSubscriptionsResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.ListFindingsResult listFindings(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
listFindingsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
listRulesPackagesRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
listTagsForResourceRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.PreviewAgentsResult previewAgents(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgentsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.InvalidCrossAccountRoleException
- Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the
assessment run.RegisterCrossAccountAccessRoleResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.InvalidCrossAccountRoleException
- Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the
assessment run.RemoveAttributesFromFindingsResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.SetTagsForResourceResult setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
setTagsForResourceRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.StartAssessmentRunResult 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
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.InvalidCrossAccountRoleException
- Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the
assessment run.AgentsAlreadyRunningAssessmentException
- You started an assessment run, but one of the instances is already participating in another assessment
run.StopAssessmentRunResult stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
stopAssessmentRunRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.SubscribeToEventResult subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
subscribeToEventRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.UnsubscribeFromEventResult unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
unsubscribeFromEventRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.UpdateAssessmentTargetResult updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
updateAssessmentTargetRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.AccessDeniedException
- You do not have required permissions to access the requested resource.NoSuchEntityException
- The request was rejected because it referenced an entity that does not exist. The error code describes
the entity.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.