Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- inspector :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCrossAccountRoleException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalException :: AsError a => Getting (First ServiceError) a ServiceError
- data Agent
- agent :: Agent
- aTelemetry :: Lens' Agent [Telemetry]
- aAutoScalingGroup :: Lens' Agent (Maybe Text)
- aAgentHealthCode :: Lens' Agent (Maybe Text)
- aAssessmentARN :: Lens' Agent (Maybe Text)
- aAgentId :: Lens' Agent (Maybe Text)
- aAccountId :: Lens' Agent (Maybe Text)
- aAgentHealthDetails :: Lens' Agent (Maybe Text)
- aAgentHealth :: Lens' Agent (Maybe Text)
- data AgentPreview
- agentPreview :: AgentPreview
- apAutoScalingGroup :: Lens' AgentPreview (Maybe Text)
- apAgentId :: Lens' AgentPreview (Maybe Text)
- data AgentsFilter
- agentsFilter :: AgentsFilter
- afAgentHealthList :: Lens' AgentsFilter [Text]
- data Application
- application :: Application
- aApplicationARN :: Lens' Application (Maybe Text)
- aResourceGroupARN :: Lens' Application (Maybe Text)
- aApplicationName :: Lens' Application (Maybe Text)
- data ApplicationsFilter
- applicationsFilter :: ApplicationsFilter
- afApplicationNamePatterns :: Lens' ApplicationsFilter [Text]
- data Assessment
- assessment :: Assessment
- assDataCollected :: Lens' Assessment (Maybe Bool)
- assApplicationARN :: Lens' Assessment (Maybe Text)
- assStartTime :: Lens' Assessment (Maybe UTCTime)
- assAssessmentARN :: Lens' Assessment (Maybe Text)
- assUserAttributesForFindings :: Lens' Assessment [Attribute]
- assFailureMessage :: Lens' Assessment (Maybe Text)
- assAssessmentState :: Lens' Assessment (Maybe Text)
- assEndTime :: Lens' Assessment (Maybe UTCTime)
- assDurationInSeconds :: Lens' Assessment (Maybe Int)
- assAssessmentName :: Lens' Assessment (Maybe Text)
- data AssessmentsFilter
- assessmentsFilter :: AssessmentsFilter
- afDataCollected :: Lens' AssessmentsFilter (Maybe Bool)
- afAssessmentStates :: Lens' AssessmentsFilter [Text]
- afStartTimeRange :: Lens' AssessmentsFilter (Maybe TimestampRange)
- afAssessmentNamePatterns :: Lens' AssessmentsFilter [Text]
- afEndTimeRange :: Lens' AssessmentsFilter (Maybe TimestampRange)
- afDurationRange :: Lens' AssessmentsFilter (Maybe DurationRange)
- data Attribute
- attribute :: Attribute
- aValue :: Lens' Attribute (Maybe Text)
- aKey :: Lens' Attribute (Maybe Text)
- data DurationRange
- durationRange :: DurationRange
- drMaximum :: Lens' DurationRange (Maybe Int)
- drMinimum :: Lens' DurationRange (Maybe Int)
- data Finding
- finding :: Finding
- fAutoScalingGroup :: Lens' Finding (Maybe Text)
- fFinding :: Lens' Finding (Maybe LocalizedText)
- fSeverity :: Lens' Finding (Maybe Text)
- fUserAttributes :: Lens' Finding [Attribute]
- fRuleName :: Lens' Finding (Maybe Text)
- fAgentId :: Lens' Finding (Maybe Text)
- fRunARN :: Lens' Finding (Maybe Text)
- fAttributes :: Lens' Finding [Attribute]
- fRulesPackageARN :: Lens' Finding (Maybe Text)
- fFindingARN :: Lens' Finding (Maybe Text)
- fDescription :: Lens' Finding (Maybe LocalizedText)
- fRecommendation :: Lens' Finding (Maybe LocalizedText)
- data FindingsFilter
- findingsFilter :: FindingsFilter
- ffRuleNames :: Lens' FindingsFilter [Text]
- ffUserAttributes :: Lens' FindingsFilter [Attribute]
- ffRulesPackageARNs :: Lens' FindingsFilter [Text]
- ffAttributes :: Lens' FindingsFilter [Attribute]
- ffSeverities :: Lens' FindingsFilter [Text]
- data LocalizedText
- localizedText :: LocalizedText
- ltKey :: Lens' LocalizedText (Maybe LocalizedTextKey)
- ltParameters :: Lens' LocalizedText [Parameter]
- data LocalizedTextKey
- localizedTextKey :: LocalizedTextKey
- ltkFacility :: Lens' LocalizedTextKey (Maybe Text)
- ltkId :: Lens' LocalizedTextKey (Maybe Text)
- data MessageTypeTelemetry
- messageTypeTelemetry :: MessageTypeTelemetry
- mttDataSize :: Lens' MessageTypeTelemetry (Maybe Integer)
- mttMessageType :: Lens' MessageTypeTelemetry (Maybe Text)
- mttCount :: Lens' MessageTypeTelemetry (Maybe Integer)
- data Parameter
- parameter :: Parameter
- pValue :: Lens' Parameter (Maybe Text)
- pName :: Lens' Parameter (Maybe Text)
- data ResourceGroup
- resourceGroup :: ResourceGroup
- rgResourceGroupTags :: Lens' ResourceGroup (Maybe Text)
- rgResourceGroupARN :: Lens' ResourceGroup (Maybe Text)
- data RulesPackage
- rulesPackage :: RulesPackage
- rpVersion :: Lens' RulesPackage (Maybe Text)
- rpRulesPackageARN :: Lens' RulesPackage (Maybe Text)
- rpRulesPackageName :: Lens' RulesPackage (Maybe Text)
- rpDescription :: Lens' RulesPackage (Maybe LocalizedText)
- rpProvider :: Lens' RulesPackage (Maybe Text)
- data Run
- run :: Run
- runCreationTime :: Lens' Run (Maybe UTCTime)
- runRulesPackages :: Lens' Run [Text]
- runAssessmentARN :: Lens' Run (Maybe Text)
- runRunState :: Lens' Run (Maybe Text)
- runRunName :: Lens' Run (Maybe Text)
- runCompletionTime :: Lens' Run (Maybe UTCTime)
- runRunARN :: Lens' Run (Maybe Text)
- data RunsFilter
- runsFilter :: RunsFilter
- rfCreationTime :: Lens' RunsFilter (Maybe TimestampRange)
- rfRulesPackages :: Lens' RunsFilter [Text]
- rfRunStates :: Lens' RunsFilter [Text]
- rfRunNamePatterns :: Lens' RunsFilter [Text]
- rfCompletionTime :: Lens' RunsFilter (Maybe TimestampRange)
- data Tag
- tag :: Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag (Maybe Text)
- data Telemetry
- telemetry :: Telemetry
- tStatus :: Lens' Telemetry (Maybe Text)
- tMessageTypeTelemetries :: Lens' Telemetry [MessageTypeTelemetry]
- data TimestampRange
- timestampRange :: TimestampRange
- trMaximum :: Lens' TimestampRange (Maybe UTCTime)
- trMinimum :: Lens' TimestampRange (Maybe UTCTime)
Service Configuration
Errors
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for AccessDeniedException' errors.
_NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for NoSuchEntityException' errors.
_OperationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for OperationInProgressException' errors.
_InvalidCrossAccountRoleException :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for InvalidCrossAccountRoleException' errors.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for InvalidInputException' errors.
_InternalException :: AsError a => Getting (First ServiceError) a ServiceError Source
Prism for InternalException' errors.
Agent
Contains information about an Inspector agent. This data type is used as a response element in the ListAssessmentAgents action.
See: agent
smart constructor.
Creates a value of Agent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aTelemetry :: Lens' Agent [Telemetry] Source
The Inspector application data metrics collected by the agent.
aAgentHealthCode :: Lens' Agent (Maybe Text) Source
The detailed health state of the agent. Values can be set to RUNNING, HEALTHY, UNHEALTHY, UNKNOWN, BLACKLISTED, SHUTDOWN, THROTTLED.
aAssessmentARN :: Lens' Agent (Maybe Text) Source
The ARN of the assessment that is associated with the agent.
aAccountId :: Lens' Agent (Maybe Text) Source
AWS account of the EC2 instance where the agent is installed.
aAgentHealth :: Lens' Agent (Maybe Text) Source
The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.
AgentPreview
data AgentPreview Source
This data type is used as a response element in the PreviewAgentsForResourceGroup action.
See: agentPreview
smart constructor.
agentPreview :: AgentPreview Source
Creates a value of AgentPreview
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
apAutoScalingGroup :: Lens' AgentPreview (Maybe Text) Source
The autoscaling group for the EC2 instance where the agent is installed.
apAgentId :: Lens' AgentPreview (Maybe Text) Source
The id of the EC2 instance where the agent is intalled.
AgentsFilter
data AgentsFilter Source
This data type is used as a response element in the ListAssessmentAgents action.
See: agentsFilter
smart constructor.
agentsFilter :: AgentsFilter Source
Creates a value of AgentsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
afAgentHealthList :: Lens' AgentsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the agentHealth property of the Agent data type.
Application
data Application Source
Contains information about an Inspector application.
This data type is used as the response element in the DescribeApplication action.
See: application
smart constructor.
application :: Application Source
Creates a value of Application
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aApplicationARN :: Lens' Application (Maybe Text) Source
The ARN specifying the Inspector application.
aResourceGroupARN :: Lens' Application (Maybe Text) Source
The ARN specifying the resource group that is associated with the application.
aApplicationName :: Lens' Application (Maybe Text) Source
The name of the Inspector application.
ApplicationsFilter
data ApplicationsFilter Source
This data type is used as the request parameter in the ListApplications action.
See: applicationsFilter
smart constructor.
applicationsFilter :: ApplicationsFilter Source
Creates a value of ApplicationsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
afApplicationNamePatterns :: Lens' ApplicationsFilter [Text] Source
For a record to match a filter, an explicit value or a string containing a wildcard specified for this data type property must match the value of the applicationName property of the Application data type.
Assessment
data Assessment Source
Contains information about an Inspector assessment.
This data type is used as the response element in the DescribeAssessment action.
See: assessment
smart constructor.
assessment :: Assessment Source
Creates a value of Assessment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
assDataCollected :: Lens' Assessment (Maybe Bool) Source
Boolean value (true or false) specifying whether the data collection process is completed.
assApplicationARN :: Lens' Assessment (Maybe Text) Source
The ARN of the application that corresponds to this assessment.
assStartTime :: Lens' Assessment (Maybe UTCTime) Source
The assessment start time.
assAssessmentARN :: Lens' Assessment (Maybe Text) Source
The ARN of the assessment.
assUserAttributesForFindings :: Lens' Assessment [Attribute] Source
The user-defined attributes that are assigned to every generated finding.
assFailureMessage :: Lens' Assessment (Maybe Text) Source
This data type property is not currently used.
assAssessmentState :: Lens' Assessment (Maybe Text) Source
The state of the assessment. Values can be set to Created, /Collecting Data, Stopping, and Completed/.
assEndTime :: Lens' Assessment (Maybe UTCTime) Source
The assessment end time.
assDurationInSeconds :: Lens' Assessment (Maybe Int) Source
The assessment duration in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
assAssessmentName :: Lens' Assessment (Maybe Text) Source
The name of the assessment.
AssessmentsFilter
data AssessmentsFilter Source
This data type is used as the request parameter in the ListAssessments and ListAttachedAssessments actions.
See: assessmentsFilter
smart constructor.
assessmentsFilter :: AssessmentsFilter Source
Creates a value of AssessmentsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
afDataCollected :: Lens' AssessmentsFilter (Maybe Bool) Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the dataCollected property of the Assessment data type.
afAssessmentStates :: Lens' AssessmentsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the assessmentState property of the Assessment data type.
afStartTimeRange :: Lens' AssessmentsFilter (Maybe TimestampRange) Source
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the Assessment data type.
afAssessmentNamePatterns :: Lens' AssessmentsFilter [Text] Source
For a record to match a filter, an explicit value or a string containing a wildcard specified for this data type property must match the value of the assessmentName property of the Assessment data type.
afEndTimeRange :: Lens' AssessmentsFilter (Maybe TimestampRange) Source
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the endTime property of the Assessment data type.
afDurationRange :: Lens' AssessmentsFilter (Maybe DurationRange) Source
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the Assessment data type.
Attribute
This data type is used as a response element in the AddAttributesToFindings action and a request parameter in the CreateAssessment action.
See: attribute
smart constructor.
DurationRange
data DurationRange Source
This data type is used in the AssessmentsFilter data type.
See: durationRange
smart constructor.
durationRange :: DurationRange Source
Creates a value of DurationRange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drMaximum :: Lens' DurationRange (Maybe Int) Source
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
drMinimum :: Lens' DurationRange (Maybe Int) Source
The minimum value of the duration range. Must be greater than zero.
Finding
Contains information about an Inspector finding.
This data type is used as the response element in the DescribeFinding action.
See: finding
smart constructor.
Creates a value of Finding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fAutoScalingGroup :: Lens' Finding (Maybe Text) Source
The autoscaling group of the EC2 instance where the agent is installed that is used during the assessment that generates the finding.
fFinding :: Lens' Finding (Maybe LocalizedText) Source
A short description that identifies the finding.
fSeverity :: Lens' Finding (Maybe Text) Source
The finding severity. Values can be set to High, Medium, Low, and Informational.
fUserAttributes :: Lens' Finding [Attribute] Source
The user-defined attributes that are assigned to the finding.
fAgentId :: Lens' Finding (Maybe Text) Source
The EC2 instance ID where the agent is installed that is used during the assessment that generates the finding.
fRunARN :: Lens' Finding (Maybe Text) Source
The ARN of the assessment run that generated the finding.
fAttributes :: Lens' Finding [Attribute] Source
The system-defined attributes for the finding.
fRulesPackageARN :: Lens' Finding (Maybe Text) Source
The ARN of the rules package that is used to generate the finding.
fDescription :: Lens' Finding (Maybe LocalizedText) Source
The description of the finding.
fRecommendation :: Lens' Finding (Maybe LocalizedText) Source
The recommendation for the finding.
FindingsFilter
data FindingsFilter Source
This data type is used as a request parameter in the ListFindings action.
See: findingsFilter
smart constructor.
findingsFilter :: FindingsFilter Source
Creates a value of FindingsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ffRuleNames :: Lens' FindingsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
ffUserAttributes :: Lens' FindingsFilter [Attribute] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the userAttributes property of the Finding data type.
ffRulesPackageARNs :: Lens' FindingsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
ffAttributes :: Lens' FindingsFilter [Attribute] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the attributes property of the Finding data type.
ffSeverities :: Lens' FindingsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
LocalizedText
data LocalizedText Source
The textual identifier. This data type is used as the request parameter in the LocalizeText action.
See: localizedText
smart constructor.
localizedText :: LocalizedText Source
Creates a value of LocalizedText
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltKey :: Lens' LocalizedText (Maybe LocalizedTextKey) Source
The facility and id properties of the LocalizedTextKey data type.
ltParameters :: Lens' LocalizedText [Parameter] Source
Values for the dynamic elements of the string specified by the textual identifier.
LocalizedTextKey
data LocalizedTextKey Source
This data type is used in the LocalizedText data type.
See: localizedTextKey
smart constructor.
localizedTextKey :: LocalizedTextKey Source
Creates a value of LocalizedTextKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltkFacility :: Lens' LocalizedTextKey (Maybe Text) Source
The module response source of the text.
MessageTypeTelemetry
data MessageTypeTelemetry Source
This data type is used in the Telemetry data type.
This is metadata about the behavioral data collected by the Inspector agent on your EC2 instances during an assessment and passed to the Inspector service for analysis.
See: messageTypeTelemetry
smart constructor.
messageTypeTelemetry :: MessageTypeTelemetry Source
Creates a value of MessageTypeTelemetry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mttDataSize :: Lens' MessageTypeTelemetry (Maybe Integer) Source
The total size of the behavioral data that is collected by the agent during an assessment.
mttMessageType :: Lens' MessageTypeTelemetry (Maybe Text) Source
A specific type of behavioral data that is collected by the agent.
mttCount :: Lens' MessageTypeTelemetry (Maybe Integer) Source
The number of times that the behavioral data is collected by the agent during an assessment.
Parameter
This data type is used in the LocalizedText data type.
See: parameter
smart constructor.
pValue :: Lens' Parameter (Maybe Text) Source
The value assigned to the variable that is being replaced.
ResourceGroup
data ResourceGroup Source
Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that comprise the application.
This data type is used as the response element in the DescribeResourceGroup action.
See: resourceGroup
smart constructor.
resourceGroup :: ResourceGroup Source
Creates a value of ResourceGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rgResourceGroupTags :: Lens' ResourceGroup (Maybe Text) Source
The tags (key and value pairs) of the resource group.
This data type property is used in the CreateResourceGroup action.
A collection of keys and an array of possible values in JSON format.
For example, [{ "key1" : ["Value1","Value2"]},{"Key2": ["Value3"]}]
rgResourceGroupARN :: Lens' ResourceGroup (Maybe Text) Source
The ARN of the resource group.
RulesPackage
data RulesPackage Source
Contains information about an Inspector rules package.
This data type is used as the response element in the DescribeRulesPackage action.
See: rulesPackage
smart constructor.
rulesPackage :: RulesPackage Source
Creates a value of RulesPackage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpRulesPackageARN :: Lens' RulesPackage (Maybe Text) Source
The ARN of the rules package.
rpRulesPackageName :: Lens' RulesPackage (Maybe Text) Source
The name of the rules package.
rpDescription :: Lens' RulesPackage (Maybe LocalizedText) Source
The description of the rules package.
rpProvider :: Lens' RulesPackage (Maybe Text) Source
The provider of the rules package.
Run
A snapshot of an Inspector assessment that contains the assessment's findings.
This data type is used as the response element in the DescribeRun action.
See: run
smart constructor.
Creates a value of Run
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
runCreationTime :: Lens' Run (Maybe UTCTime) Source
Run creation time that corresponds to the data collection completion time or failure.
runRulesPackages :: Lens' Run [Text] Source
Rules packages selected for the run of the assessment.
runAssessmentARN :: Lens' Run (Maybe Text) Source
The ARN of the assessment that is associated with the run.
runRunState :: Lens' Run (Maybe Text) Source
The state of the run. Values can be set to DataCollectionComplete, EvaluatingPolicies, EvaluatingPoliciesErrorCanRetry, Completed, Failed, TombStoned.
runCompletionTime :: Lens' Run (Maybe UTCTime) Source
Run completion time that corresponds to the rules packages evaluation completion time or failure.
RunsFilter
data RunsFilter Source
This data type is used as the request parameter in the ListRuns action.
See: runsFilter
smart constructor.
runsFilter :: RunsFilter Source
Creates a value of RunsFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rfCreationTime :: Lens' RunsFilter (Maybe TimestampRange) Source
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the creationTime property of the Run data type.
rfRulesPackages :: Lens' RunsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must match a list of values of the rulesPackages property of the Run data type.
rfRunStates :: Lens' RunsFilter [Text] Source
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the runState property of the Run data type.
rfRunNamePatterns :: Lens' RunsFilter [Text] Source
For a record to match a filter, an explicit value or a string containing a wildcard specified for this data type property must match the value of the runName property of the Run data type.
rfCompletionTime :: Lens' RunsFilter (Maybe TimestampRange) Source
For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completionTime property of the Run data type.
Tag
A key and value pair.
This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action.
See: tag
smart constructor.
Telemetry
The metadata about the Inspector application data metrics collected by the agent.
This data type is used as the response element in the GetAssessmentTelemetry action.
See: telemetry
smart constructor.
Creates a value of Telemetry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tStatus :: Lens' Telemetry (Maybe Text) Source
The category of the individual metrics that together constitute the telemetry that Inspector received from the agent.
tMessageTypeTelemetries :: Lens' Telemetry [MessageTypeTelemetry] Source
Counts of individual metrics received by Inspector from the agent.
TimestampRange
data TimestampRange Source
This data type is used in the AssessmentsFilter and RunsFilter data types.
See: timestampRange
smart constructor.
timestampRange :: TimestampRange Source
Creates a value of TimestampRange
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: