@ThreadSafe 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.
LOGGING_AWS_REQUEST_METRIC
Constructor and Description |
---|
AmazonInspectorClient()
Constructs a new client to invoke service methods on Amazon Inspector.
|
AmazonInspectorClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on Amazon Inspector
using the specified AWS account credentials.
|
AmazonInspectorClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon Inspector
using the specified AWS account credentials and client configuration
options.
|
AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on Amazon Inspector
using the specified AWS account credentials provider.
|
AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon Inspector
using the specified AWS account credentials provider and client
configuration options.
|
AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on Amazon Inspector
using the specified AWS account credentials provider, client
configuration options, and request metric collector.
|
AmazonInspectorClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon Inspector.
|
Modifier and Type | Method and Description |
---|---|
AddAttributesToFindingsResult |
addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pair) to the findings specified by the
findings' ARNs.
|
CreateAssessmentTargetResult |
createAssessmentTarget(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the resource group ARN generated by
CreateResourceGroup.
|
CreateAssessmentTemplateResult |
createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target specified by the
assessment target ARN.
|
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
Inspector assessment target.
|
void |
deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run specified by the assessment run ARN.
|
void |
deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target specified by the assessment target ARN.
|
void |
deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template specified by the assessment template ARN.
|
DescribeAssessmentRunsResult |
describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment run(s) specified by the assessment run ARN(s).
|
DescribeAssessmentTargetsResult |
describeAssessmentTargets(DescribeAssessmentTargetsRequest describeAssessmentTargetsRequest)
Describes the assessment target(s) specified by the assessment target
ARN(s).
|
DescribeAssessmentTemplatesResult |
describeAssessmentTemplates(DescribeAssessmentTemplatesRequest describeAssessmentTemplatesRequest)
Describes the assessment template(s) specified by the assessment
template(s) ARN(s).
|
DescribeCrossAccountAccessRoleResult |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Inspector to access your AWS account.
|
DescribeFindingsResult |
describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the finding(s) specified by the finding ARN(s).
|
DescribeResourceGroupsResult |
describeResourceGroups(DescribeResourceGroupsRequest describeResourceGroupsRequest)
Describes resource group(s) specified by the resource group ARN(s).
|
DescribeRulesPackagesResult |
describeRulesPackages(DescribeRulesPackagesRequest describeRulesPackagesRequest)
Describes the rules package(s) specified by the rules package ARN(s).
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful,
request, typically used for debugging issues where a service isn't acting
as expected.
|
GetTelemetryMetadataResult |
getTelemetryMetadata(GetTelemetryMetadataRequest getTelemetryMetadataRequest)
Information about the data collected for the specified assessment run.
|
ListAssessmentRunAgentsResult |
listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment run specified by the assessment run
ARN.
|
ListAssessmentRunsResult |
listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessments run corresponding to assessment template(s)
specified by the assessment template(s)' ARN(s).
|
ListAssessmentTargetsResult |
listAssessmentTargets(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARN(s) of the assessment target(s) within this AWS account.
|
ListAssessmentTemplatesResult |
listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment template(s) corresponding to the assessment
target(s) specified by the assessment targets' ARN(s).
|
ListEventSubscriptionsResult |
listEventSubscriptions(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template specified
by the assessment template ARN.
|
ListFindingsResult |
listFindings(ListFindingsRequest listFindingsRequest)
Lists findings generated by the assessment run(s) specified by the
assessment run ARN(s).
|
ListRulesPackagesResult |
listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available 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.
|
void |
registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Registers the IAM role that Inspector uses to list your EC2 instances at
the start of the assessment run or when you call the PreviewAgents
action.
|
RemoveAttributesFromFindingsResult |
removeAttributesFromFindings(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
Removes entire attributes (key and value pairs) from the findings
specified by the finding ARNs where an attribute with the specified key
exists.
|
void |
setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template specified by
the assessment template ARN.
|
StartAssessmentRunResult |
startAssessmentRun(StartAssessmentRunRequest startAssessmentRunRequest)
Starts the assessment run specified by the assessment template ARN.
|
void |
stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run specified by the assessment run ARN.
|
void |
subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS)
notifications about a specified event to a specified topic.
|
void |
unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS)
notifications about a specified event to a specified topic.
|
void |
updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target specified by the assessment target ARN.
|
addRequestHandler, addRequestHandler, configureRegion, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
public AmazonInspectorClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AmazonInspectorClient(ClientConfiguration 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
public AmazonInspectorClient(AWSCredentials awsCredentials)
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.public AmazonInspectorClient(AWSCredentials awsCredentials, ClientConfiguration 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.).public AmazonInspectorClient(AWSCredentialsProvider 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.public AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration 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.).public AmazonInspectorClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector 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 AddAttributesToFindingsResult addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pair) to the findings specified by the findings' ARNs.
addAttributesToFindings
in interface AmazonInspector
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.public CreateAssessmentTargetResult createAssessmentTarget(CreateAssessmentTargetRequest createAssessmentTargetRequest)
Creates a new assessment target using the resource group ARN generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.
createAssessmentTarget
in interface AmazonInspector
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.public CreateAssessmentTemplateResult createAssessmentTemplate(CreateAssessmentTemplateRequest createAssessmentTemplateRequest)
Creates an assessment template for the assessment target specified by the assessment target ARN.
createAssessmentTemplate
in interface AmazonInspector
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.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 Inspector assessment target. The created resource group is then used to create an Inspector assessment target.
createResourceGroup
in interface AmazonInspector
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.public void deleteAssessmentRun(DeleteAssessmentRunRequest deleteAssessmentRunRequest)
Deletes the assessment run specified by the assessment run ARN.
deleteAssessmentRun
in interface AmazonInspector
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.public void deleteAssessmentTarget(DeleteAssessmentTargetRequest deleteAssessmentTargetRequest)
Deletes the assessment target specified by the assessment target ARN.
deleteAssessmentTarget
in interface AmazonInspector
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.public void deleteAssessmentTemplate(DeleteAssessmentTemplateRequest deleteAssessmentTemplateRequest)
Deletes the assessment template specified by the assessment template ARN.
deleteAssessmentTemplate
in interface AmazonInspector
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.public DescribeAssessmentRunsResult describeAssessmentRuns(DescribeAssessmentRunsRequest describeAssessmentRunsRequest)
Describes the assessment run(s) specified by the assessment run ARN(s).
describeAssessmentRuns
in interface AmazonInspector
describeAssessmentRunsRequest
- 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 target(s) specified by the assessment target ARN(s).
describeAssessmentTargets
in interface AmazonInspector
describeAssessmentTargetsRequest
- 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 template(s) specified by the assessment template(s) ARN(s).
describeAssessmentTemplates
in interface AmazonInspector
describeAssessmentTemplatesRequest
- 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 Inspector to access your AWS account.
describeCrossAccountAccessRole
in interface AmazonInspector
describeCrossAccountAccessRoleRequest
- InternalException
- Internal server error.public DescribeFindingsResult describeFindings(DescribeFindingsRequest describeFindingsRequest)
Describes the finding(s) specified by the finding ARN(s).
describeFindings
in interface AmazonInspector
describeFindingsRequest
- 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 resource group(s) specified by the resource group ARN(s).
describeResourceGroups
in interface AmazonInspector
describeResourceGroupsRequest
- 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 package(s) specified by the rules package ARN(s).
describeRulesPackages
in interface AmazonInspector
describeRulesPackagesRequest
- 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 collected for the specified assessment run.
getTelemetryMetadata
in interface AmazonInspector
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.public ListAssessmentRunAgentsResult listAssessmentRunAgents(ListAssessmentRunAgentsRequest listAssessmentRunAgentsRequest)
Lists the agents of the assessment run specified by the assessment run ARN.
listAssessmentRunAgents
in interface AmazonInspector
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.public ListAssessmentRunsResult listAssessmentRuns(ListAssessmentRunsRequest listAssessmentRunsRequest)
Lists the assessments run corresponding to assessment template(s) specified by the assessment template(s)' ARN(s).
listAssessmentRuns
in interface AmazonInspector
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.public ListAssessmentTargetsResult listAssessmentTargets(ListAssessmentTargetsRequest listAssessmentTargetsRequest)
Lists the ARN(s) of the assessment target(s) within this AWS account. For more information about assessment targets, see Amazon Inspector Assessment Targets.
listAssessmentTargets
in interface AmazonInspector
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.public ListAssessmentTemplatesResult listAssessmentTemplates(ListAssessmentTemplatesRequest listAssessmentTemplatesRequest)
Lists the assessment template(s) corresponding to the assessment target(s) specified by the assessment targets' ARN(s).
listAssessmentTemplates
in interface AmazonInspector
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.public ListEventSubscriptionsResult listEventSubscriptions(ListEventSubscriptionsRequest listEventSubscriptionsRequest)
Lists all the event subscriptions for the assessment template specified by the assessment template ARN. For more information, see SubscribeToEvent and UnsubscribeFromEvent.
listEventSubscriptions
in interface AmazonInspector
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.public ListFindingsResult listFindings(ListFindingsRequest listFindingsRequest)
Lists findings generated by the assessment run(s) specified by the assessment run ARN(s).
listFindings
in interface AmazonInspector
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.public ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Inspector rules packages.
listRulesPackages
in interface AmazonInspector
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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with an assessment template.
listTagsForResource
in interface AmazonInspector
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.public PreviewAgentsResult previewAgents(PreviewAgentsRequest previewAgentsRequest)
Previews the agents installed on the EC2 instances that are part of the specified assessment target.
previewAgents
in interface AmazonInspector
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
- Inspector cannot assume the cross account role it needs to list
your EC2 instances during the assessment run.public void registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Registers the IAM role that Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
registerCrossAccountAccessRole
in interface AmazonInspector
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
- Inspector cannot assume the cross account role 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 specified by the finding ARNs where an attribute with the specified key exists.
removeAttributesFromFindings
in interface AmazonInspector
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.public void setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment template specified by the assessment template ARN.
setTagsForResource
in interface AmazonInspector
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.public StartAssessmentRunResult startAssessmentRun(StartAssessmentRunRequest startAssessmentRunRequest)
Starts the assessment run specified by the assessment template ARN. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startAssessmentRun
in interface AmazonInspector
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
- Inspector cannot assume the cross account role it needs to list
your EC2 instances during the assessment run.AgentsAlreadyRunningAssessmentException
- You start an assessment run and one of the instances is already
participating in another assessment run.public void stopAssessmentRun(StopAssessmentRunRequest stopAssessmentRunRequest)
Stops the assessment run specified by the assessment run ARN.
stopAssessmentRun
in interface AmazonInspector
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.public void subscribeToEvent(SubscribeToEventRequest subscribeToEventRequest)
Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified topic.
subscribeToEvent
in interface AmazonInspector
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.public void unsubscribeFromEvent(UnsubscribeFromEventRequest unsubscribeFromEventRequest)
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified topic.
unsubscribeFromEvent
in interface AmazonInspector
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.public void updateAssessmentTarget(UpdateAssessmentTargetRequest updateAssessmentTargetRequest)
Updates the assessment target specified by the assessment target ARN.
updateAssessmentTarget
in interface AmazonInspector
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.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 AmazonInspector
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.