# Packages
Package inspectoriface provides an interface to enable mocking the Amazon Inspector service client for testing your code.
# Functions
AccessDeniedErrorCode_Values returns all elements of the AccessDeniedErrorCode enum.
AgentHealth_Values returns all elements of the AgentHealth enum.
AgentHealthCode_Values returns all elements of the AgentHealthCode enum.
AssessmentRunNotificationSnsStatusCode_Values returns all elements of the AssessmentRunNotificationSnsStatusCode enum.
AssessmentRunState_Values returns all elements of the AssessmentRunState enum.
AssetType_Values returns all elements of the AssetType enum.
Event_Values returns all elements of the Event enum.
FailedItemErrorCode_Values returns all elements of the FailedItemErrorCode enum.
InvalidCrossAccountRoleErrorCode_Values returns all elements of the InvalidCrossAccountRoleErrorCode enum.
InvalidInputErrorCode_Values returns all elements of the InvalidInputErrorCode enum.
LimitExceededErrorCode_Values returns all elements of the LimitExceededErrorCode enum.
Locale_Values returns all elements of the Locale enum.
New creates a new instance of the Inspector client with a session.
NoSuchEntityErrorCode_Values returns all elements of the NoSuchEntityErrorCode enum.
PreviewStatus_Values returns all elements of the PreviewStatus enum.
ReportFileFormat_Values returns all elements of the ReportFileFormat enum.
ReportStatus_Values returns all elements of the ReportStatus enum.
ReportType_Values returns all elements of the ReportType enum.
ScopeType_Values returns all elements of the ScopeType enum.
Severity_Values returns all elements of the Severity enum.
StopAction_Values returns all elements of the StopAction enum.
# Constants
AccessDeniedErrorCodeAccessDeniedToAssessmentRun is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToAssessmentTarget is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToAssessmentTemplate is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToFinding is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToIamRole is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToResourceGroup is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToRulesPackage is a AccessDeniedErrorCode enum value.
AccessDeniedErrorCodeAccessDeniedToSnsTopic is a AccessDeniedErrorCode enum value.
AgentHealthCodeIdle is a AgentHealthCode enum value.
AgentHealthCodeRunning is a AgentHealthCode enum value.
AgentHealthCodeShutdown is a AgentHealthCode enum value.
AgentHealthCodeThrottled is a AgentHealthCode enum value.
AgentHealthCodeUnhealthy is a AgentHealthCode enum value.
AgentHealthCodeUnknown is a AgentHealthCode enum value.
AgentHealthHealthy is a AgentHealth enum value.
AgentHealthUnhealthy is a AgentHealth enum value.
AgentHealthUnknown is a AgentHealth enum value.
AssessmentRunNotificationSnsStatusCodeAccessDenied is a AssessmentRunNotificationSnsStatusCode enum value.
AssessmentRunNotificationSnsStatusCodeInternalError is a AssessmentRunNotificationSnsStatusCode enum value.
AssessmentRunNotificationSnsStatusCodeSuccess is a AssessmentRunNotificationSnsStatusCode enum value.
AssessmentRunNotificationSnsStatusCodeTopicDoesNotExist is a AssessmentRunNotificationSnsStatusCode enum value.
AssessmentRunStateCanceled is a AssessmentRunState enum value.
AssessmentRunStateCollectingData is a AssessmentRunState enum value.
AssessmentRunStateCompleted is a AssessmentRunState enum value.
AssessmentRunStateCompletedWithErrors is a AssessmentRunState enum value.
AssessmentRunStateCreated is a AssessmentRunState enum value.
AssessmentRunStateDataCollected is a AssessmentRunState enum value.
AssessmentRunStateError is a AssessmentRunState enum value.
AssessmentRunStateEvaluatingRules is a AssessmentRunState enum value.
AssessmentRunStateFailed is a AssessmentRunState enum value.
AssessmentRunStateStartDataCollectionInProgress is a AssessmentRunState enum value.
AssessmentRunStateStartDataCollectionPending is a AssessmentRunState enum value.
AssessmentRunStateStartEvaluatingRulesPending is a AssessmentRunState enum value.
AssessmentRunStateStopDataCollectionPending is a AssessmentRunState enum value.
AssetTypeEc2Instance is a AssetType enum value.
ID to lookup a service endpoint with.
ErrCodeAccessDeniedException for service response error code "AccessDeniedException".
ErrCodeAgentsAlreadyRunningAssessmentException for service response error code "AgentsAlreadyRunningAssessmentException".
ErrCodeAssessmentRunInProgressException for service response error code "AssessmentRunInProgressException".
ErrCodeInternalException for service response error code "InternalException".
ErrCodeInvalidCrossAccountRoleException for service response error code "InvalidCrossAccountRoleException".
ErrCodeInvalidInputException for service response error code "InvalidInputException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodeNoSuchEntityException for service response error code "NoSuchEntityException".
ErrCodePreviewGenerationInProgressException for service response error code "PreviewGenerationInProgressException".
ErrCodeServiceTemporarilyUnavailableException for service response error code "ServiceTemporarilyUnavailableException".
ErrCodeUnsupportedFeatureException for service response error code "UnsupportedFeatureException".
EventAssessmentRunCompleted is a Event enum value.
EventAssessmentRunStarted is a Event enum value.
EventAssessmentRunStateChanged is a Event enum value.
EventFindingReported is a Event enum value.
EventOther is a Event enum value.
FailedItemErrorCodeAccessDenied is a FailedItemErrorCode enum value.
FailedItemErrorCodeDuplicateArn is a FailedItemErrorCode enum value.
FailedItemErrorCodeInternalError is a FailedItemErrorCode enum value.
FailedItemErrorCodeInvalidArn is a FailedItemErrorCode enum value.
FailedItemErrorCodeItemDoesNotExist is a FailedItemErrorCode enum value.
FailedItemErrorCodeLimitExceeded is a FailedItemErrorCode enum value.
InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship is a InvalidCrossAccountRoleErrorCode enum value.
InvalidCrossAccountRoleErrorCodeRoleDoesNotHaveCorrectPolicy is a InvalidCrossAccountRoleErrorCode enum value.
InvalidInputErrorCodeAssessmentTargetNameAlreadyTaken is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeAssessmentTemplateNameAlreadyTaken is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAgentId is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentRunArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentRunCompletionTimeRange is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentRunDurationRange is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentRunStartTimeRange is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentRunState is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentRunStateChangeTimeRange is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTargetArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTargetName is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTargetNamePattern is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTemplateArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTemplateDuration is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTemplateDurationRange is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTemplateName is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAssessmentTemplateNamePattern is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAttribute is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidAutoScalingGroup is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidEvent is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidFindingArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidIamRoleArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidLocale is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidMaxResults is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAgentIds is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAssessmentRunArns is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAssessmentRunStates is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAssessmentTargetArns is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAssessmentTemplateArns is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAttributes is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfAutoScalingGroups is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfFindingArns is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfResourceGroupArns is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfResourceGroupTags is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfRuleNames is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfRulesPackageArns is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfSeverities is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfTags is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidNumberOfUserAttributes is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidPaginationToken is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidResourceArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidResourceGroupArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidResourceGroupTagKey is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidResourceGroupTagValue is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidRuleName is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidRulesPackageArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidSeverity is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidSnsTopicArn is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidTag is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidTagKey is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidTagValue is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidUserAttribute is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidUserAttributeKey is a InvalidInputErrorCode enum value.
InvalidInputErrorCodeInvalidUserAttributeValue is a InvalidInputErrorCode enum value.
LimitExceededErrorCodeAssessmentRunLimitExceeded is a LimitExceededErrorCode enum value.
LimitExceededErrorCodeAssessmentTargetLimitExceeded is a LimitExceededErrorCode enum value.
LimitExceededErrorCodeAssessmentTemplateLimitExceeded is a LimitExceededErrorCode enum value.
LimitExceededErrorCodeEventSubscriptionLimitExceeded is a LimitExceededErrorCode enum value.
LimitExceededErrorCodeResourceGroupLimitExceeded is a LimitExceededErrorCode enum value.
LocaleEnUs is a Locale enum value.
NoSuchEntityErrorCodeAssessmentRunDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeAssessmentTargetDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeAssessmentTemplateDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeFindingDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeIamRoleDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeResourceGroupDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeRulesPackageDoesNotExist is a NoSuchEntityErrorCode enum value.
NoSuchEntityErrorCodeSnsTopicDoesNotExist is a NoSuchEntityErrorCode enum value.
PreviewStatusCompleted is a PreviewStatus enum value.
PreviewStatusWorkInProgress is a PreviewStatus enum value.
ReportFileFormatHtml is a ReportFileFormat enum value.
ReportFileFormatPdf is a ReportFileFormat enum value.
ReportStatusCompleted is a ReportStatus enum value.
ReportStatusFailed is a ReportStatus enum value.
ReportStatusWorkInProgress is a ReportStatus enum value.
ReportTypeFinding is a ReportType enum value.
ReportTypeFull is a ReportType enum value.
ScopeTypeInstanceId is a ScopeType enum value.
ScopeTypeRulesPackageArn is a ScopeType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
SeverityHigh is a Severity enum value.
SeverityInformational is a Severity enum value.
SeverityLow is a Severity enum value.
SeverityMedium is a Severity enum value.
SeverityUndefined is a Severity enum value.
StopActionSkipEvaluation is a StopAction enum value.
StopActionStartEvaluation is a StopAction enum value.
# Structs
You do not have required permissions to access the requested resource.
Used in the exception error that is thrown if you start an assessment run for an assessment target that includes an EC2 instance that is already participating in another started assessment run.
Contains information about an Amazon Inspector agent.
Used as a response element in the PreviewAgents action.
You started an assessment run, but one of the instances is already participating in another assessment run.
A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run .
Contains information about an Amazon Inspector agent.
Used as the request parameter in the ListAssessmentRuns action.
You cannot perform a specified action if an assessment run is currently in progress.
Used as one of the elements of the AssessmentRun data type.
Used as one of the elements of the AssessmentRun data type.
Contains information about an Amazon Inspector application.
Used as the request parameter in the ListAssessmentTargets action.
Contains information about an Amazon Inspector assessment template.
Used as the request parameter in the ListAssessmentTemplates action.
A collection of attributes of the host from which the finding is generated.
This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.
This data type is used in the AssessmentTemplateFilter data type.
This data type is used in the Subscription data type.
Contains information about what was excluded from an assessment run.
Contains information about what is excluded from an assessment run given the current state of the assessment template.
Includes details about the failed items.
Contains information about an Amazon Inspector finding.
This data type is used as a request parameter in the ListFindings action.
Inspector provides the API operation methods for making requests to Amazon Inspector.
Internal server error.
Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
The request was rejected because it attempted to create resources beyond the current AWS account limits.
Contains information about the network interfaces interacting with an EC2 instance.
The request was rejected because it referenced an entity that does not exist.
The request is rejected.
Contains information about a private IP address associated with a network interface.
Contains information about a resource group.
This data type is used as one of the elements of the ResourceGroup data type.
Contains information about an Amazon Inspector rules package.
This data type contains key-value pairs that identify various Amazon resources.
Contains information about a security group associated with a network interface.
This data type is used in the Finding data type.
The serice is temporary unavailable.
This data type is used as a response element in the ListEventSubscriptions action.
A key and value pair.
The metadata about the Amazon Inspector application data metrics collected by the agent.
This data type is used in the AssessmentRunFilter data type.
Used by the GetAssessmentReport API.