@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonInspectorClient extends AmazonWebServiceClient implements AmazonInspector
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 |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonInspectorClient()
Deprecated.
|
AmazonInspectorClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonInspectorClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AmazonInspectorClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AmazonInspectorClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| 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.
|
static AmazonInspectorClientBuilder |
builder() |
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.
|
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.
|
SetTagsForResourceResult |
setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment
template.
|
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.
|
addRequestHandler, addRequestHandler, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected static final ClientConfigurationFactory configFactory
@Deprecated public AmazonInspectorClient()
AmazonInspectorClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonInspectorClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this client connects to Amazon Inspector (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AmazonInspectorClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonInspectorClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AmazonInspectorClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Inspector (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Inspector (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Inspector (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AmazonInspectorClientBuilder builder()
public AddAttributesToFindingsResult addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.
addAttributesToFindings in interface AmazonInspectoraddAttributesToFindingsRequest - 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.public 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.
createAssessmentTarget in interface AmazonInspectorcreateAssessmentTargetRequest - 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.public CreateAssessmentTemplateResult createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.
createAssessmentTemplate in interface AmazonInspectorcreateAssessmentTemplateRequest - 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.public 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.
createResourceGroup in interface AmazonInspectorcreateResourceGroupRequest - 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.public DeleteAssessmentRunResult deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run that is specified by the ARN of the assessment run.
deleteAssessmentRun in interface AmazonInspectordeleteAssessmentRunRequest - 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.public DeleteAssessmentTargetResult deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target that is specified by the ARN of the assessment target.
deleteAssessmentTarget in interface AmazonInspectordeleteAssessmentTargetRequest - 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.public DeleteAssessmentTemplateResult deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template that is specified by the ARN of the assessment template.
deleteAssessmentTemplate in interface AmazonInspectordeleteAssessmentTemplateRequest - 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.public DescribeAssessmentRunsResult describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment runs that are specified by the ARNs of the assessment runs.
describeAssessmentRuns in interface AmazonInspectordescribeAssessmentRunsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public DescribeAssessmentTargetsResult describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment targets that are specified by the ARNs of the assessment targets.
describeAssessmentTargets in interface AmazonInspectordescribeAssessmentTargetsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public DescribeAssessmentTemplatesResult describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment templates that are specified by the ARNs of the assessment templates.
describeAssessmentTemplates in interface AmazonInspectordescribeAssessmentTemplatesRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Amazon Inspector to access your AWS account.
describeCrossAccountAccessRole in interface AmazonInspectordescribeCrossAccountAccessRoleRequest - InternalException - Internal server error.public DescribeFindingsResult describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the findings that are specified by the ARNs of the findings.
describeFindings in interface AmazonInspectordescribeFindingsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public DescribeResourceGroupsResult describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes the resource groups that are specified by the ARNs of the resource groups.
describeResourceGroups in interface AmazonInspectordescribeResourceGroupsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public DescribeRulesPackagesResult describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules packages that are specified by the ARNs of the rules packages.
describeRulesPackages in interface AmazonInspectordescribeRulesPackagesRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because an invalid or out-of-range value was supplied for an input parameter.public GetTelemetryMetadataResult getTelemetryMetadata(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data that is collected for the specified assessment run.
getTelemetryMetadata in interface AmazonInspectorgetTelemetryMetadataRequest - 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.public ListAssessmentRunAgentsResult listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
listAssessmentRunAgents in interface AmazonInspectorlistAssessmentRunAgentsRequest - 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.public ListAssessmentRunsResult listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.
listAssessmentRuns in interface AmazonInspectorlistAssessmentRunsRequest - 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.public 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.
listAssessmentTargets in interface AmazonInspectorlistAssessmentTargetsRequest - 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.public ListAssessmentTemplatesResult listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
listAssessmentTemplates in interface AmazonInspectorlistAssessmentTemplatesRequest - 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.public 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.
listEventSubscriptions in interface AmazonInspectorlistEventSubscriptionsRequest - 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.public ListFindingsResult listFindings(ListFindingsRequest listFindingsRequest)
Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.
listFindings in interface AmazonInspectorlistFindingsRequest - 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.public ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Amazon Inspector rules packages.
listRulesPackages in interface AmazonInspectorlistRulesPackagesRequest - 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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
listTagsForResource in interface AmazonInspectorlistTagsForResourceRequest - 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.public PreviewAgentsResult previewAgents(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgents in interface AmazonInspectorpreviewAgentsRequest - 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.public 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.
registerCrossAccountAccessRole in interface AmazonInspectorregisterCrossAccountAccessRoleRequest - 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.public 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.
removeAttributesFromFindings in interface AmazonInspectorremoveAttributesFromFindingsRequest - 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.public SetTagsForResourceResult setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.
setTagsForResource in interface AmazonInspectorsetTagsForResourceRequest - 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.public 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.
startAssessmentRun in interface AmazonInspectorstartAssessmentRunRequest - 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.public StopAssessmentRunResult stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run that is specified by the ARN of the assessment run.
stopAssessmentRun in interface AmazonInspectorstopAssessmentRunRequest - 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.public SubscribeToEventResult subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
subscribeToEvent in interface AmazonInspectorsubscribeToEventRequest - 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.public UnsubscribeFromEventResult unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
unsubscribeFromEvent in interface AmazonInspectorunsubscribeFromEventRequest - 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.public UpdateAssessmentTargetResult updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target that is specified by the ARN of the assessment target.
updateAssessmentTarget in interface AmazonInspectorupdateAssessmentTargetRequest - 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.public 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 the request.
getCachedResponseMetadata in interface AmazonInspectorrequest - The originally executed requestCopyright © 2017. All rights reserved.