packages feed

amazonka-inspector 1.4.4 → 1.4.5

raw patch · 37 files changed

+490/−371 lines, 37 filesdep ~amazonka-coredep ~amazonka-inspectordep ~amazonka-testPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: amazonka-core, amazonka-inspector, amazonka-test

API changes (from Hackage documentation)

- Network.AWS.Inspector.AddAttributesToFindings: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.AddAttributesToFindings.AddAttributesToFindings
- Network.AWS.Inspector.CreateAssessmentTarget: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.CreateAssessmentTarget.CreateAssessmentTarget
- Network.AWS.Inspector.CreateAssessmentTemplate: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.CreateAssessmentTemplate.CreateAssessmentTemplate
- Network.AWS.Inspector.CreateResourceGroup: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.CreateResourceGroup.CreateResourceGroup
- Network.AWS.Inspector.DeleteAssessmentRun: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DeleteAssessmentRun.DeleteAssessmentRun
- Network.AWS.Inspector.DeleteAssessmentTarget: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DeleteAssessmentTarget.DeleteAssessmentTarget
- Network.AWS.Inspector.DeleteAssessmentTemplate: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DeleteAssessmentTemplate.DeleteAssessmentTemplate
- Network.AWS.Inspector.DescribeAssessmentRuns: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeAssessmentRuns.DescribeAssessmentRuns
- Network.AWS.Inspector.DescribeAssessmentTargets: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeAssessmentTargets.DescribeAssessmentTargets
- Network.AWS.Inspector.DescribeAssessmentTemplates: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeAssessmentTemplates.DescribeAssessmentTemplates
- Network.AWS.Inspector.DescribeCrossAccountAccessRole: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeCrossAccountAccessRole.DescribeCrossAccountAccessRole
- Network.AWS.Inspector.DescribeFindings: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeFindings.DescribeFindings
- Network.AWS.Inspector.DescribeResourceGroups: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeResourceGroups.DescribeResourceGroups
- Network.AWS.Inspector.DescribeRulesPackages: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.DescribeRulesPackages.DescribeRulesPackages
- Network.AWS.Inspector.GetTelemetryMetadata: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.GetTelemetryMetadata.GetTelemetryMetadata
- Network.AWS.Inspector.ListAssessmentRunAgents: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListAssessmentRunAgents.ListAssessmentRunAgents
- Network.AWS.Inspector.ListAssessmentRuns: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListAssessmentRuns.ListAssessmentRuns
- Network.AWS.Inspector.ListAssessmentTargets: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListAssessmentTargets.ListAssessmentTargets
- Network.AWS.Inspector.ListAssessmentTemplates: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListAssessmentTemplates.ListAssessmentTemplates
- Network.AWS.Inspector.ListEventSubscriptions: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListEventSubscriptions.ListEventSubscriptions
- Network.AWS.Inspector.ListFindings: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListFindings.ListFindings
- Network.AWS.Inspector.ListRulesPackages: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListRulesPackages.ListRulesPackages
- Network.AWS.Inspector.ListTagsForResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.ListTagsForResource.ListTagsForResource
- Network.AWS.Inspector.PreviewAgents: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.PreviewAgents.PreviewAgents
- Network.AWS.Inspector.RegisterCrossAccountAccessRole: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.RegisterCrossAccountAccessRole.RegisterCrossAccountAccessRole
- Network.AWS.Inspector.RemoveAttributesFromFindings: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.RemoveAttributesFromFindings.RemoveAttributesFromFindings
- Network.AWS.Inspector.SetTagsForResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.SetTagsForResource.SetTagsForResource
- Network.AWS.Inspector.StartAssessmentRun: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.StartAssessmentRun.StartAssessmentRun
- Network.AWS.Inspector.StopAssessmentRun: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.StopAssessmentRun.StopAssessmentRun
- Network.AWS.Inspector.SubscribeToEvent: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.SubscribeToEvent.SubscribeToEvent
- Network.AWS.Inspector.UnsubscribeFromEvent: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.UnsubscribeFromEvent.UnsubscribeFromEvent
- Network.AWS.Inspector.UpdateAssessmentTarget: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Inspector.UpdateAssessmentTarget.UpdateAssessmentTarget
+ Network.AWS.Inspector.AddAttributesToFindings: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.AddAttributesToFindings.AddAttributesToFindings
+ Network.AWS.Inspector.CreateAssessmentTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.CreateAssessmentTarget.CreateAssessmentTarget
+ Network.AWS.Inspector.CreateAssessmentTemplate: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.CreateAssessmentTemplate.CreateAssessmentTemplate
+ Network.AWS.Inspector.CreateResourceGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.CreateResourceGroup.CreateResourceGroup
+ Network.AWS.Inspector.DeleteAssessmentRun: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DeleteAssessmentRun.DeleteAssessmentRun
+ Network.AWS.Inspector.DeleteAssessmentTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DeleteAssessmentTarget.DeleteAssessmentTarget
+ Network.AWS.Inspector.DeleteAssessmentTemplate: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DeleteAssessmentTemplate.DeleteAssessmentTemplate
+ Network.AWS.Inspector.DescribeAssessmentRuns: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeAssessmentRuns.DescribeAssessmentRuns
+ Network.AWS.Inspector.DescribeAssessmentTargets: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeAssessmentTargets.DescribeAssessmentTargets
+ Network.AWS.Inspector.DescribeAssessmentTemplates: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeAssessmentTemplates.DescribeAssessmentTemplates
+ Network.AWS.Inspector.DescribeCrossAccountAccessRole: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeCrossAccountAccessRole.DescribeCrossAccountAccessRole
+ Network.AWS.Inspector.DescribeFindings: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeFindings.DescribeFindings
+ Network.AWS.Inspector.DescribeResourceGroups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeResourceGroups.DescribeResourceGroups
+ Network.AWS.Inspector.DescribeRulesPackages: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.DescribeRulesPackages.DescribeRulesPackages
+ Network.AWS.Inspector.GetTelemetryMetadata: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.GetTelemetryMetadata.GetTelemetryMetadata
+ Network.AWS.Inspector.ListAssessmentRunAgents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListAssessmentRunAgents.ListAssessmentRunAgents
+ Network.AWS.Inspector.ListAssessmentRuns: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListAssessmentRuns.ListAssessmentRuns
+ Network.AWS.Inspector.ListAssessmentTargets: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListAssessmentTargets.ListAssessmentTargets
+ Network.AWS.Inspector.ListAssessmentTemplates: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListAssessmentTemplates.ListAssessmentTemplates
+ Network.AWS.Inspector.ListEventSubscriptions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListEventSubscriptions.ListEventSubscriptions
+ Network.AWS.Inspector.ListFindings: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListFindings.ListFindings
+ Network.AWS.Inspector.ListRulesPackages: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListRulesPackages.ListRulesPackages
+ Network.AWS.Inspector.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.ListTagsForResource.ListTagsForResource
+ Network.AWS.Inspector.PreviewAgents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.PreviewAgents.PreviewAgents
+ Network.AWS.Inspector.RegisterCrossAccountAccessRole: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.RegisterCrossAccountAccessRole.RegisterCrossAccountAccessRole
+ Network.AWS.Inspector.RemoveAttributesFromFindings: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.RemoveAttributesFromFindings.RemoveAttributesFromFindings
+ Network.AWS.Inspector.SetTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.SetTagsForResource.SetTagsForResource
+ Network.AWS.Inspector.StartAssessmentRun: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.StartAssessmentRun.StartAssessmentRun
+ Network.AWS.Inspector.StopAssessmentRun: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.StopAssessmentRun.StopAssessmentRun
+ Network.AWS.Inspector.SubscribeToEvent: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.SubscribeToEvent.SubscribeToEvent
+ Network.AWS.Inspector.UnsubscribeFromEvent: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.UnsubscribeFromEvent.UnsubscribeFromEvent
+ Network.AWS.Inspector.UpdateAssessmentTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Inspector.UpdateAssessmentTarget.UpdateAssessmentTarget

Files

README.md view
@@ -8,26 +8,27 @@  ## Version -`1.4.4`+`1.4.5`   ## Description -Amazon Inspector--Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html Amazon Inspector User Guide>.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-inspector) and the [AWS API Reference](https://aws.amazon.com/documentation/).  The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.Inspector](http://hackage.haskell.org/package/amazonka-inspector/docs/Network-AWS-Inspector.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+  ## Contribute 
amazonka-inspector.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-inspector-version:               1.4.4+version:               1.4.5 synopsis:              Amazon Inspector SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -13,22 +13,19 @@ cabal-version:         >= 1.10 extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:-    Amazon Inspector--    Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html Amazon Inspector User Guide>.-    .     The types from this library are intended to be used with     <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information and sending requests.+    mechanisms for specifying AuthN/AuthZ information, sending requests,+    and receiving responses.     .-    Use of lenses is required for constructing and manipulating types.-    This is due to the amount of nesting of AWS types and transparency regarding+    Lenses are used for constructing and manipulating types,+    due to the depth of nesting of AWS types and transparency regarding     de/serialisation into more palatable Haskell values.     The provided lenses should be compatible with any of the major lens libraries     such as <http://hackage.haskell.org/package/lens lens> or     <http://hackage.haskell.org/package/lens-family-core lens-family-core>.     .-    See "Network.AWS.Inspector" or <https://aws.amazon.com/documentation/ the AWS Documentation>+    See "Network.AWS.Inspector" or <https://aws.amazon.com/documentation/ the AWS documentation>     to get started.  source-repository head@@ -83,7 +80,7 @@         , Network.AWS.Inspector.Types.Sum      build-depends:-          amazonka-core == 1.4.4.*+          amazonka-core == 1.4.5.*         , base          >= 4.7     && < 5  test-suite amazonka-inspector-test@@ -103,9 +100,9 @@         , Test.AWS.Inspector.Internal      build-depends:-          amazonka-core == 1.4.4.*-        , amazonka-test == 1.4.4.*-        , amazonka-inspector == 1.4.4.*+          amazonka-core == 1.4.5.*+        , amazonka-test == 1.4.5.*+        , amazonka-inspector == 1.4.5.*         , base         , bytestring         , tasty
gen/Network/AWS/Inspector.hs view
@@ -11,9 +11,10 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Amazon Inspector+-- __Amazon Inspector__ ----- Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html Amazon Inspector User Guide>.+-- Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html Amazon Inspector User Guide> .+-- module Network.AWS.Inspector     (     -- * Service Configuration
gen/Network/AWS/Inspector/AddAttributesToFindings.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.+--+-- module Network.AWS.Inspector.AddAttributesToFindings     (     -- * Creating a Request@@ -53,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aatfFindingARNs'+-- * 'aatfFindingARNs' - The ARNs that specify the findings that you want to assign attributes to. ----- * 'aatfAttributes'+-- * 'aatfAttributes' - The array of attributes that you want to assign to specified findings. addAttributesToFindings     :: NonEmpty Text -- ^ 'aatfFindingARNs'     -> AddAttributesToFindings@@ -121,9 +123,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aatfrsResponseStatus'+-- * 'aatfrsResponseStatus' - -- | The response status code. ----- * 'aatfrsFailedItems'+-- * 'aatfrsFailedItems' - Attribute details that cannot be described. An error code is provided for each failed item. addAttributesToFindingsResponse     :: Int -- ^ 'aatfrsResponseStatus'     -> AddAttributesToFindingsResponse@@ -133,7 +135,7 @@     , _aatfrsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. aatfrsResponseStatus :: Lens' AddAttributesToFindingsResponse Int aatfrsResponseStatus = lens _aatfrsResponseStatus (\ s a -> s{_aatfrsResponseStatus = a}); 
gen/Network/AWS/Inspector/CreateAssessmentTarget.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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 <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html Amazon Inspector Assessment Targets>.+-- 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 <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html Amazon Inspector Assessment Targets> .+--+-- module Network.AWS.Inspector.CreateAssessmentTarget     (     -- * Creating a Request@@ -53,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'catAssessmentTargetName'+-- * 'catAssessmentTargetName' - The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account. ----- * 'catResourceGroupARN'+-- * 'catResourceGroupARN' - The ARN that specifies the resource group that is used to create the assessment target. createAssessmentTarget     :: Text -- ^ 'catAssessmentTargetName'     -> Text -- ^ 'catResourceGroupARN'@@ -123,9 +125,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'catrsResponseStatus'+-- * 'catrsResponseStatus' - -- | The response status code. ----- * 'catrsAssessmentTargetARN'+-- * 'catrsAssessmentTargetARN' - The ARN that specifies the assessment target that is created. createAssessmentTargetResponse     :: Int -- ^ 'catrsResponseStatus'     -> Text -- ^ 'catrsAssessmentTargetARN'@@ -136,7 +138,7 @@     , _catrsAssessmentTargetARN = pAssessmentTargetARN_     } --- | The response status code.+-- | -- | The response status code. catrsResponseStatus :: Lens' CreateAssessmentTargetResponse Int catrsResponseStatus = lens _catrsResponseStatus (\ s a -> s{_catrsResponseStatus = a}); 
gen/Network/AWS/Inspector/CreateAssessmentTemplate.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Creates an assessment template for the assessment target that is specified by the ARN of the assessment target.+--+-- module Network.AWS.Inspector.CreateAssessmentTemplate     (     -- * Creating a Request@@ -59,15 +61,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'catUserAttributesForFindings'+-- * 'catUserAttributesForFindings' - The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. ----- * 'catAssessmentTargetARN'+-- * 'catAssessmentTargetARN' - The ARN that specifies the assessment target for which you want to create the assessment template. ----- * 'catAssessmentTemplateName'+-- * 'catAssessmentTemplateName' - The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique. ----- * 'catDurationInSeconds'+-- * 'catDurationInSeconds' - The duration of the assessment run in seconds. The default value is 3600 seconds (one hour). ----- * 'catRulesPackageARNs'+-- * 'catRulesPackageARNs' - The ARNs that specify the rules packages that you want to attach to the assessment template. createAssessmentTemplate     :: Text -- ^ 'catAssessmentTargetARN'     -> Text -- ^ 'catAssessmentTemplateName'@@ -157,9 +159,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crsResponseStatus'+-- * 'crsResponseStatus' - -- | The response status code. ----- * 'crsAssessmentTemplateARN'+-- * 'crsAssessmentTemplateARN' - The ARN that specifies the assessment template that is created. createAssessmentTemplateResponse     :: Int -- ^ 'crsResponseStatus'     -> Text -- ^ 'crsAssessmentTemplateARN'@@ -170,7 +172,7 @@     , _crsAssessmentTemplateARN = pAssessmentTemplateARN_     } --- | The response status code.+-- | -- | The response status code. crsResponseStatus :: Lens' CreateAssessmentTemplateResponse Int crsResponseStatus = lens _crsResponseStatus (\ s a -> s{_crsResponseStatus = a}); 
gen/Network/AWS/Inspector/CreateResourceGroup.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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' .+--+-- module Network.AWS.Inspector.CreateResourceGroup     (     -- * Creating a Request@@ -51,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crgResourceGroupTags'+-- * 'crgResourceGroupTags' - A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'. For example,'[{"key":"Name","values":["TestEC2Instance"]}]'. createResourceGroup     :: NonEmpty ResourceGroupTag -- ^ 'crgResourceGroupTags'     -> CreateResourceGroup@@ -60,9 +62,7 @@     { _crgResourceGroupTags = _List1 # pResourceGroupTags_     } --- | A collection of keys and an array of possible values, \'[{\"key\":\"key1\",\"values\":[\"Value1\",\"Value2\"]},{\"key\":\"Key2\",\"values\":[\"Value3\"]}]\'.------ For example,\'[{\"key\":\"Name\",\"values\":[\"TestEC2Instance\"]}]\'.+-- | A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'. For example,'[{"key":"Name","values":["TestEC2Instance"]}]'. crgResourceGroupTags :: Lens' CreateResourceGroup (NonEmpty ResourceGroupTag) crgResourceGroupTags = lens _crgResourceGroupTags (\ s a -> s{_crgResourceGroupTags = a}) . _List1; @@ -113,9 +113,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crgrsResponseStatus'+-- * 'crgrsResponseStatus' - -- | The response status code. ----- * 'crgrsResourceGroupARN'+-- * 'crgrsResourceGroupARN' - The ARN that specifies the resource group that is created. createResourceGroupResponse     :: Int -- ^ 'crgrsResponseStatus'     -> Text -- ^ 'crgrsResourceGroupARN'@@ -126,7 +126,7 @@     , _crgrsResourceGroupARN = pResourceGroupARN_     } --- | The response status code.+-- | -- | The response status code. crgrsResponseStatus :: Lens' CreateResourceGroupResponse Int crgrsResponseStatus = lens _crgrsResponseStatus (\ s a -> s{_crgrsResponseStatus = a}); 
gen/Network/AWS/Inspector/DeleteAssessmentRun.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the assessment run that is specified by the ARN of the assessment run.+--+-- module Network.AWS.Inspector.DeleteAssessmentRun     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'darAssessmentRunARN'+-- * 'darAssessmentRunARN' - The ARN that specifies the assessment run that you want to delete. deleteAssessmentRun     :: Text -- ^ 'darAssessmentRunARN'     -> DeleteAssessmentRun
gen/Network/AWS/Inspector/DeleteAssessmentTarget.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the assessment target that is specified by the ARN of the assessment target.+--+-- module Network.AWS.Inspector.DeleteAssessmentTarget     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'datAssessmentTargetARN'+-- * 'datAssessmentTargetARN' - The ARN that specifies the assessment target that you want to delete. deleteAssessmentTarget     :: Text -- ^ 'datAssessmentTargetARN'     -> DeleteAssessmentTarget
gen/Network/AWS/Inspector/DeleteAssessmentTemplate.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the assessment template that is specified by the ARN of the assessment template.+--+-- module Network.AWS.Inspector.DeleteAssessmentTemplate     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'datAssessmentTemplateARN'+-- * 'datAssessmentTemplateARN' - The ARN that specifies the assessment template that you want to delete. deleteAssessmentTemplate     :: Text -- ^ 'datAssessmentTemplateARN'     -> DeleteAssessmentTemplate
gen/Network/AWS/Inspector/DescribeAssessmentRuns.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the assessment runs that are specified by the ARNs of the assessment runs.+--+-- module Network.AWS.Inspector.DescribeAssessmentRuns     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'darAssessmentRunARNs'+-- * 'darAssessmentRunARNs' - The ARN that specifies the assessment run that you want to describe. describeAssessmentRuns     :: NonEmpty Text -- ^ 'darAssessmentRunARNs'     -> DescribeAssessmentRuns@@ -115,11 +117,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'darrsResponseStatus'+-- * 'darrsResponseStatus' - -- | The response status code. ----- * 'darrsAssessmentRuns'+-- * 'darrsAssessmentRuns' - Information about the assessment run. ----- * 'darrsFailedItems'+-- * 'darrsFailedItems' - Assessment run details that cannot be described. An error code is provided for each failed item. describeAssessmentRunsResponse     :: Int -- ^ 'darrsResponseStatus'     -> DescribeAssessmentRunsResponse@@ -130,7 +132,7 @@     , _darrsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. darrsResponseStatus :: Lens' DescribeAssessmentRunsResponse Int darrsResponseStatus = lens _darrsResponseStatus (\ s a -> s{_darrsResponseStatus = a}); 
gen/Network/AWS/Inspector/DescribeAssessmentTargets.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the assessment targets that are specified by the ARNs of the assessment targets.+--+-- module Network.AWS.Inspector.DescribeAssessmentTargets     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'datAssessmentTargetARNs'+-- * 'datAssessmentTargetARNs' - The ARNs that specifies the assessment targets that you want to describe. describeAssessmentTargets     :: NonEmpty Text -- ^ 'datAssessmentTargetARNs'     -> DescribeAssessmentTargets@@ -116,11 +118,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsResponseStatus'+-- * 'drsResponseStatus' - -- | The response status code. ----- * 'drsAssessmentTargets'+-- * 'drsAssessmentTargets' - Information about the assessment targets. ----- * 'drsFailedItems'+-- * 'drsFailedItems' - Assessment target details that cannot be described. An error code is provided for each failed item. describeAssessmentTargetsResponse     :: Int -- ^ 'drsResponseStatus'     -> DescribeAssessmentTargetsResponse@@ -131,7 +133,7 @@     , _drsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. drsResponseStatus :: Lens' DescribeAssessmentTargetsResponse Int drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a}); 
gen/Network/AWS/Inspector/DescribeAssessmentTemplates.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the assessment templates that are specified by the ARNs of the assessment templates.+--+-- module Network.AWS.Inspector.DescribeAssessmentTemplates     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'datAssessmentTemplateARNs'+-- * 'datAssessmentTemplateARNs' - The ARN that specifiesthe assessment templates that you want to describe. describeAssessmentTemplates     :: NonEmpty Text -- ^ 'datAssessmentTemplateARNs'     -> DescribeAssessmentTemplates@@ -116,11 +118,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'datrsResponseStatus'+-- * 'datrsResponseStatus' - -- | The response status code. ----- * 'datrsAssessmentTemplates'+-- * 'datrsAssessmentTemplates' - Information about the assessment templates. ----- * 'datrsFailedItems'+-- * 'datrsFailedItems' - Assessment template details that cannot be described. An error code is provided for each failed item. describeAssessmentTemplatesResponse     :: Int -- ^ 'datrsResponseStatus'     -> DescribeAssessmentTemplatesResponse@@ -131,7 +133,7 @@     , _datrsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. datrsResponseStatus :: Lens' DescribeAssessmentTemplatesResponse Int datrsResponseStatus = lens _datrsResponseStatus (\ s a -> s{_datrsResponseStatus = a}); 
gen/Network/AWS/Inspector/DescribeCrossAccountAccessRole.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the IAM role that enables Amazon Inspector to access your AWS account.+--+-- module Network.AWS.Inspector.DescribeCrossAccountAccessRole     (     -- * Creating a Request@@ -102,13 +104,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcaarrsResponseStatus'+-- * 'dcaarrsResponseStatus' - -- | The response status code. ----- * 'dcaarrsRoleARN'+-- * 'dcaarrsRoleARN' - The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account. ----- * 'dcaarrsValid'+-- * 'dcaarrsValid' - A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account. ----- * 'dcaarrsRegisteredAt'+-- * 'dcaarrsRegisteredAt' - The date when the cross-account access role was registered. describeCrossAccountAccessRoleResponse     :: Int -- ^ 'dcaarrsResponseStatus'     -> Text -- ^ 'dcaarrsRoleARN'@@ -123,7 +125,7 @@     , _dcaarrsRegisteredAt = _Time # pRegisteredAt_     } --- | The response status code.+-- | -- | The response status code. dcaarrsResponseStatus :: Lens' DescribeCrossAccountAccessRoleResponse Int dcaarrsResponseStatus = lens _dcaarrsResponseStatus (\ s a -> s{_dcaarrsResponseStatus = a}); 
gen/Network/AWS/Inspector/DescribeFindings.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the findings that are specified by the ARNs of the findings.+--+-- module Network.AWS.Inspector.DescribeFindings     (     -- * Creating a Request@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dfLocale'+-- * 'dfLocale' - The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding. ----- * 'dfFindingARNs'+-- * 'dfFindingARNs' - The ARN that specifies the finding that you want to describe. describeFindings     :: NonEmpty Text -- ^ 'dfFindingARNs'     -> DescribeFindings@@ -121,11 +123,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dfrsResponseStatus'+-- * 'dfrsResponseStatus' - -- | The response status code. ----- * 'dfrsFindings'+-- * 'dfrsFindings' - Information about the finding. ----- * 'dfrsFailedItems'+-- * 'dfrsFailedItems' - Finding details that cannot be described. An error code is provided for each failed item. describeFindingsResponse     :: Int -- ^ 'dfrsResponseStatus'     -> DescribeFindingsResponse@@ -136,7 +138,7 @@     , _dfrsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. dfrsResponseStatus :: Lens' DescribeFindingsResponse Int dfrsResponseStatus = lens _dfrsResponseStatus (\ s a -> s{_dfrsResponseStatus = a}); 
gen/Network/AWS/Inspector/DescribeResourceGroups.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the resource groups that are specified by the ARNs of the resource groups.+--+-- module Network.AWS.Inspector.DescribeResourceGroups     (     -- * Creating a Request@@ -52,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drgResourceGroupARNs'+-- * 'drgResourceGroupARNs' - The ARN that specifies the resource group that you want to describe. describeResourceGroups     :: NonEmpty Text -- ^ 'drgResourceGroupARNs'     -> DescribeResourceGroups@@ -115,11 +117,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drgrsResponseStatus'+-- * 'drgrsResponseStatus' - -- | The response status code. ----- * 'drgrsResourceGroups'+-- * 'drgrsResourceGroups' - Information about a resource group. ----- * 'drgrsFailedItems'+-- * 'drgrsFailedItems' - Resource group details that cannot be described. An error code is provided for each failed item. describeResourceGroupsResponse     :: Int -- ^ 'drgrsResponseStatus'     -> DescribeResourceGroupsResponse@@ -130,7 +132,7 @@     , _drgrsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. drgrsResponseStatus :: Lens' DescribeResourceGroupsResponse Int drgrsResponseStatus = lens _drgrsResponseStatus (\ s a -> s{_drgrsResponseStatus = a}); 
gen/Network/AWS/Inspector/DescribeRulesPackages.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the rules packages that are specified by the ARNs of the rules packages.+--+-- module Network.AWS.Inspector.DescribeRulesPackages     (     -- * Creating a Request@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drpLocale'+-- * 'drpLocale' - The locale that you want to translate a rules package description into. ----- * 'drpRulesPackageARNs'+-- * 'drpRulesPackageARNs' - The ARN that specifies the rules package that you want to describe. describeRulesPackages     :: NonEmpty Text -- ^ 'drpRulesPackageARNs'     -> DescribeRulesPackages@@ -124,11 +126,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drprsResponseStatus'+-- * 'drprsResponseStatus' - -- | The response status code. ----- * 'drprsRulesPackages'+-- * 'drprsRulesPackages' - Information about the rules package. ----- * 'drprsFailedItems'+-- * 'drprsFailedItems' - Rules package details that cannot be described. An error code is provided for each failed item. describeRulesPackagesResponse     :: Int -- ^ 'drprsResponseStatus'     -> DescribeRulesPackagesResponse@@ -139,7 +141,7 @@     , _drprsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. drprsResponseStatus :: Lens' DescribeRulesPackagesResponse Int drprsResponseStatus = lens _drprsResponseStatus (\ s a -> s{_drprsResponseStatus = a}); 
gen/Network/AWS/Inspector/GetTelemetryMetadata.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Information about the data that is collected for the specified assessment run.+--+-- module Network.AWS.Inspector.GetTelemetryMetadata     (     -- * Creating a Request@@ -51,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtmAssessmentRunARN'+-- * 'gtmAssessmentRunARN' - The ARN that specifies the assessment run that has the telemetry data that you want to obtain. getTelemetryMetadata     :: Text -- ^ 'gtmAssessmentRunARN'     -> GetTelemetryMetadata@@ -111,9 +113,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtmrsResponseStatus'+-- * 'gtmrsResponseStatus' - -- | The response status code. ----- * 'gtmrsTelemetryMetadata'+-- * 'gtmrsTelemetryMetadata' - Telemetry details. getTelemetryMetadataResponse     :: Int -- ^ 'gtmrsResponseStatus'     -> GetTelemetryMetadataResponse@@ -123,7 +125,7 @@     , _gtmrsTelemetryMetadata = mempty     } --- | The response status code.+-- | -- | The response status code. gtmrsResponseStatus :: Lens' GetTelemetryMetadataResponse Int gtmrsResponseStatus = lens _gtmrsResponseStatus (\ s a -> s{_gtmrsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListAssessmentRunAgents.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.+--+-- module Network.AWS.Inspector.ListAssessmentRunAgents     (     -- * Creating a Request@@ -58,13 +60,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'laraNextToken'+-- * 'laraNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListAssessmentRunAgents__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'laraFilter'+-- * 'laraFilter' - You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. ----- * 'laraMaxResults'+-- * 'laraMaxResults' - You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500. ----- * 'laraAssessmentRunARN'+-- * 'laraAssessmentRunARN' - The ARN that specifies the assessment run whose agents you want to list. listAssessmentRunAgents     :: Text -- ^ 'laraAssessmentRunARN'     -> ListAssessmentRunAgents@@ -80,9 +82,7 @@ laraNextToken :: Lens' ListAssessmentRunAgents (Maybe Text) laraNextToken = lens _laraNextToken (\ s a -> s{_laraNextToken = a}); --- | You can use this parameter to specify a subset of data to be included in the action\'s response.------ For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.+-- | You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. laraFilter :: Lens' ListAssessmentRunAgents (Maybe AgentFilter) laraFilter = lens _laraFilter (\ s a -> s{_laraFilter = a}); @@ -145,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lararsNextToken'+-- * 'lararsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'lararsResponseStatus'+-- * 'lararsResponseStatus' - -- | The response status code. ----- * 'lararsAssessmentRunAgents'+-- * 'lararsAssessmentRunAgents' - A list of ARNs that specifies the agents returned by the action. listAssessmentRunAgentsResponse     :: Int -- ^ 'lararsResponseStatus'     -> ListAssessmentRunAgentsResponse@@ -164,7 +164,7 @@ lararsNextToken :: Lens' ListAssessmentRunAgentsResponse (Maybe Text) lararsNextToken = lens _lararsNextToken (\ s a -> s{_lararsNextToken = a}); --- | The response status code.+-- | -- | The response status code. lararsResponseStatus :: Lens' ListAssessmentRunAgentsResponse Int lararsResponseStatus = lens _lararsResponseStatus (\ s a -> s{_lararsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListAssessmentRuns.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.+--+-- module Network.AWS.Inspector.ListAssessmentRuns     (     -- * Creating a Request@@ -58,13 +60,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'larNextToken'+-- * 'larNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListAssessmentRuns__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'larFilter'+-- * 'larFilter' - You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. ----- * 'larAssessmentTemplateARNs'+-- * 'larAssessmentTemplateARNs' - The ARNs that specify the assessment templates whose assessment runs you want to list. ----- * 'larMaxResults'+-- * 'larMaxResults' - You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500. listAssessmentRuns     :: ListAssessmentRuns listAssessmentRuns =@@ -79,9 +81,7 @@ larNextToken :: Lens' ListAssessmentRuns (Maybe Text) larNextToken = lens _larNextToken (\ s a -> s{_larNextToken = a}); --- | You can use this parameter to specify a subset of data to be included in the action\'s response.------ For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.+-- | You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. larFilter :: Lens' ListAssessmentRuns (Maybe AssessmentRunFilter) larFilter = lens _larFilter (\ s a -> s{_larFilter = a}); @@ -145,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'larrsNextToken'+-- * 'larrsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'larrsResponseStatus'+-- * 'larrsResponseStatus' - -- | The response status code. ----- * 'larrsAssessmentRunARNs'+-- * 'larrsAssessmentRunARNs' - A list of ARNs that specifies the assessment runs that are returned by the action. listAssessmentRunsResponse     :: Int -- ^ 'larrsResponseStatus'     -> ListAssessmentRunsResponse@@ -164,7 +164,7 @@ larrsNextToken :: Lens' ListAssessmentRunsResponse (Maybe Text) larrsNextToken = lens _larrsNextToken (\ s a -> s{_larrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. larrsResponseStatus :: Lens' ListAssessmentRunsResponse Int larrsResponseStatus = lens _larrsResponseStatus (\ s a -> s{_larrsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListAssessmentTargets.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html Amazon Inspector Assessment Targets>.+-- Lists the ARNs of the assessment targets within this AWS account. For more information about assessment targets, see <http://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html Amazon Inspector Assessment Targets> .+--+-- module Network.AWS.Inspector.ListAssessmentTargets     (     -- * Creating a Request@@ -56,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lNextToken'+-- * 'lNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListAssessmentTargets__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'lFilter'+-- * 'lFilter' - You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. ----- * 'lMaxResults'+-- * 'lMaxResults' - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. listAssessmentTargets     :: ListAssessmentTargets listAssessmentTargets =@@ -74,9 +76,7 @@ lNextToken :: Lens' ListAssessmentTargets (Maybe Text) lNextToken = lens _lNextToken (\ s a -> s{_lNextToken = a}); --- | You can use this parameter to specify a subset of data to be included in the action\'s response.------ For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.+-- | You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. lFilter :: Lens' ListAssessmentTargets (Maybe AssessmentTargetFilter) lFilter = lens _lFilter (\ s a -> s{_lFilter = a}); @@ -134,11 +134,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrsNextToken'+-- * 'lrsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'lrsResponseStatus'+-- * 'lrsResponseStatus' - -- | The response status code. ----- * 'lrsAssessmentTargetARNs'+-- * 'lrsAssessmentTargetARNs' - A list of ARNs that specifies the assessment targets that are returned by the action. listAssessmentTargetsResponse     :: Int -- ^ 'lrsResponseStatus'     -> ListAssessmentTargetsResponse@@ -153,7 +153,7 @@ lrsNextToken :: Lens' ListAssessmentTargetsResponse (Maybe Text) lrsNextToken = lens _lrsNextToken (\ s a -> s{_lrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. lrsResponseStatus :: Lens' ListAssessmentTargetsResponse Int lrsResponseStatus = lens _lrsResponseStatus (\ s a -> s{_lrsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListAssessmentTemplates.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.+--+-- module Network.AWS.Inspector.ListAssessmentTemplates     (     -- * Creating a Request@@ -58,13 +60,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'latNextToken'+-- * 'latNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListAssessmentTemplates__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'latFilter'+-- * 'latFilter' - You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. ----- * 'latMaxResults'+-- * 'latMaxResults' - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ----- * 'latAssessmentTargetARNs'+-- * 'latAssessmentTargetARNs' - A list of ARNs that specifies the assessment targets whose assessment templates you want to list. listAssessmentTemplates     :: ListAssessmentTemplates listAssessmentTemplates =@@ -79,9 +81,7 @@ latNextToken :: Lens' ListAssessmentTemplates (Maybe Text) latNextToken = lens _latNextToken (\ s a -> s{_latNextToken = a}); --- | You can use this parameter to specify a subset of data to be included in the action\'s response.------ For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.+-- | You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. latFilter :: Lens' ListAssessmentTemplates (Maybe AssessmentTemplateFilter) latFilter = lens _latFilter (\ s a -> s{_latFilter = a}); @@ -145,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'latrsNextToken'+-- * 'latrsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'latrsResponseStatus'+-- * 'latrsResponseStatus' - -- | The response status code. ----- * 'latrsAssessmentTemplateARNs'+-- * 'latrsAssessmentTemplateARNs' - A list of ARNs that specifies the assessment templates returned by the action. listAssessmentTemplatesResponse     :: Int -- ^ 'latrsResponseStatus'     -> ListAssessmentTemplatesResponse@@ -164,7 +164,7 @@ latrsNextToken :: Lens' ListAssessmentTemplatesResponse (Maybe Text) latrsNextToken = lens _latrsNextToken (\ s a -> s{_latrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. latrsResponseStatus :: Lens' ListAssessmentTemplatesResponse Int latrsResponseStatus = lens _latrsResponseStatus (\ s a -> s{_latrsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListEventSubscriptions.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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' .+--+-- module Network.AWS.Inspector.ListEventSubscriptions     (     -- * Creating a Request@@ -56,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lesNextToken'+-- * 'lesNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListEventSubscriptions__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'lesResourceARN'+-- * 'lesResourceARN' - The ARN of the assessment template for which you want to list the existing event subscriptions. ----- * 'lesMaxResults'+-- * 'lesMaxResults' - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. listEventSubscriptions     :: ListEventSubscriptions listEventSubscriptions =@@ -132,11 +134,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lesrsNextToken'+-- * 'lesrsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'lesrsResponseStatus'+-- * 'lesrsResponseStatus' - -- | The response status code. ----- * 'lesrsSubscriptions'+-- * 'lesrsSubscriptions' - Details of the returned event subscriptions. listEventSubscriptionsResponse     :: Int -- ^ 'lesrsResponseStatus'     -> ListEventSubscriptionsResponse@@ -151,7 +153,7 @@ lesrsNextToken :: Lens' ListEventSubscriptionsResponse (Maybe Text) lesrsNextToken = lens _lesrsNextToken (\ s a -> s{_lesrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. lesrsResponseStatus :: Lens' ListEventSubscriptionsResponse Int lesrsResponseStatus = lens _lesrsResponseStatus (\ s a -> s{_lesrsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListFindings.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.+--+-- module Network.AWS.Inspector.ListFindings     (     -- * Creating a Request@@ -58,13 +60,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lfAssessmentRunARNs'+-- * 'lfAssessmentRunARNs' - The ARNs of the assessment runs that generate the findings that you want to list. ----- * 'lfNextToken'+-- * 'lfNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListFindings__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'lfFilter'+-- * 'lfFilter' - You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. ----- * 'lfMaxResults'+-- * 'lfMaxResults' - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. listFindings     :: ListFindings listFindings =@@ -83,9 +85,7 @@ lfNextToken :: Lens' ListFindings (Maybe Text) lfNextToken = lens _lfNextToken (\ s a -> s{_lfNextToken = a}); --- | You can use this parameter to specify a subset of data to be included in the action\'s response.------ For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.+-- | You can use this parameter to specify a subset of data to be included in the action's response. For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match. lfFilter :: Lens' ListFindings (Maybe FindingFilter) lfFilter = lens _lfFilter (\ s a -> s{_lfFilter = a}); @@ -142,11 +142,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lfrsNextToken'+-- * 'lfrsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'lfrsResponseStatus'+-- * 'lfrsResponseStatus' - -- | The response status code. ----- * 'lfrsFindingARNs'+-- * 'lfrsFindingARNs' - A list of ARNs that specifies the findings returned by the action. listFindingsResponse     :: Int -- ^ 'lfrsResponseStatus'     -> ListFindingsResponse@@ -161,7 +161,7 @@ lfrsNextToken :: Lens' ListFindingsResponse (Maybe Text) lfrsNextToken = lens _lfrsNextToken (\ s a -> s{_lfrsNextToken = a}); --- | The response status code.+-- | -- | The response status code. lfrsResponseStatus :: Lens' ListFindingsResponse Int lfrsResponseStatus = lens _lfrsResponseStatus (\ s a -> s{_lfrsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListRulesPackages.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists all available Amazon Inspector rules packages.+--+-- module Network.AWS.Inspector.ListRulesPackages     (     -- * Creating a Request@@ -54,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrpNextToken'+-- * 'lrpNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __ListRulesPackages__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'lrpMaxResults'+-- * 'lrpMaxResults' - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. listRulesPackages     :: ListRulesPackages listRulesPackages =@@ -120,11 +122,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrprsNextToken'+-- * 'lrprsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'lrprsResponseStatus'+-- * 'lrprsResponseStatus' - -- | The response status code. ----- * 'lrprsRulesPackageARNs'+-- * 'lrprsRulesPackageARNs' - The list of ARNs that specifies the rules packages returned by the action. listRulesPackagesResponse     :: Int -- ^ 'lrprsResponseStatus'     -> ListRulesPackagesResponse@@ -139,7 +141,7 @@ lrprsNextToken :: Lens' ListRulesPackagesResponse (Maybe Text) lrprsNextToken = lens _lrprsNextToken (\ s a -> s{_lrprsNextToken = a}); --- | The response status code.+-- | -- | The response status code. lrprsResponseStatus :: Lens' ListRulesPackagesResponse Int lrprsResponseStatus = lens _lrprsResponseStatus (\ s a -> s{_lrprsResponseStatus = a}); 
gen/Network/AWS/Inspector/ListTagsForResource.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists all tags associated with an assessment template.+--+-- module Network.AWS.Inspector.ListTagsForResource     (     -- * Creating a Request@@ -51,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltfrResourceARN'+-- * 'ltfrResourceARN' - The ARN that specifies the assessment template whose tags you want to list. listTagsForResource     :: Text -- ^ 'ltfrResourceARN'     -> ListTagsForResource@@ -110,9 +112,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltfrrsResponseStatus'+-- * 'ltfrrsResponseStatus' - -- | The response status code. ----- * 'ltfrrsTags'+-- * 'ltfrrsTags' - A collection of key and value pairs. listTagsForResourceResponse     :: Int -- ^ 'ltfrrsResponseStatus'     -> ListTagsForResourceResponse@@ -122,7 +124,7 @@     , _ltfrrsTags = mempty     } --- | The response status code.+-- | -- | The response status code. ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int ltfrrsResponseStatus = lens _ltfrrsResponseStatus (\ s a -> s{_ltfrrsResponseStatus = a}); 
gen/Network/AWS/Inspector/PreviewAgents.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Previews the agents installed on the EC2 instances that are part of the specified assessment target.+--+-- module Network.AWS.Inspector.PreviewAgents     (     -- * Creating a Request@@ -56,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'paNextToken'+-- * 'paNextToken' - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the __PreviewAgents__ action. Subsequent calls to the action fill __nextToken__ in the request with the value of __NextToken__ from the previous response to continue listing data. ----- * 'paMaxResults'+-- * 'paMaxResults' - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500. ----- * 'paPreviewAgentsARN'+-- * 'paPreviewAgentsARN' - The ARN of the assessment target whose agents you want to preview. previewAgents     :: Text -- ^ 'paPreviewAgentsARN'     -> PreviewAgents@@ -131,11 +133,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'parsNextToken'+-- * 'parsNextToken' - When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the __nextToken__ parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null. ----- * 'parsResponseStatus'+-- * 'parsResponseStatus' - -- | The response status code. ----- * 'parsAgentPreviews'+-- * 'parsAgentPreviews' - The resulting list of agents. previewAgentsResponse     :: Int -- ^ 'parsResponseStatus'     -> PreviewAgentsResponse@@ -150,7 +152,7 @@ parsNextToken :: Lens' PreviewAgentsResponse (Maybe Text) parsNextToken = lens _parsNextToken (\ s a -> s{_parsNextToken = a}); --- | The response status code.+-- | -- | The response status code. parsResponseStatus :: Lens' PreviewAgentsResponse Int parsResponseStatus = lens _parsResponseStatus (\ s a -> s{_parsResponseStatus = a}); 
gen/Network/AWS/Inspector/RegisterCrossAccountAccessRole.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+--+-- module Network.AWS.Inspector.RegisterCrossAccountAccessRole     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcaarRoleARN'+-- * 'rcaarRoleARN' - The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the 'PreviewAgents' action. registerCrossAccountAccessRole     :: Text -- ^ 'rcaarRoleARN'     -> RegisterCrossAccountAccessRole@@ -57,7 +59,7 @@     { _rcaarRoleARN = pRoleARN_     } --- | The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the < PreviewAgents> action.+-- | The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the 'PreviewAgents' action. rcaarRoleARN :: Lens' RegisterCrossAccountAccessRole Text rcaarRoleARN = lens _rcaarRoleARN (\ s a -> s{_rcaarRoleARN = a}); 
gen/Network/AWS/Inspector/RemoveAttributesFromFindings.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- 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.+--+-- module Network.AWS.Inspector.RemoveAttributesFromFindings     (     -- * Creating a Request@@ -53,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'raffFindingARNs'+-- * 'raffFindingARNs' - The ARNs that specify the findings that you want to remove attributes from. ----- * 'raffAttributeKeys'+-- * 'raffAttributeKeys' - The array of attribute keys that you want to remove from specified findings. removeAttributesFromFindings     :: NonEmpty Text -- ^ 'raffFindingARNs'     -> RemoveAttributesFromFindings@@ -122,9 +124,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'raffrsResponseStatus'+-- * 'raffrsResponseStatus' - -- | The response status code. ----- * 'raffrsFailedItems'+-- * 'raffrsFailedItems' - Attributes details that cannot be described. An error code is provided for each failed item. removeAttributesFromFindingsResponse     :: Int -- ^ 'raffrsResponseStatus'     -> RemoveAttributesFromFindingsResponse@@ -134,7 +136,7 @@     , _raffrsFailedItems = mempty     } --- | The response status code.+-- | -- | The response status code. raffrsResponseStatus :: Lens' RemoveAttributesFromFindingsResponse Int raffrsResponseStatus = lens _raffrsResponseStatus (\ s a -> s{_raffrsResponseStatus = a}); 
gen/Network/AWS/Inspector/SetTagsForResource.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.+--+-- module Network.AWS.Inspector.SetTagsForResource     (     -- * Creating a Request@@ -50,9 +52,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'stfrTags'+-- * 'stfrTags' - A collection of key and value pairs that you want to set to the assessment template. ----- * 'stfrResourceARN'+-- * 'stfrResourceARN' - The ARN of the assessment template that you want to set tags to. setTagsForResource     :: Text -- ^ 'stfrResourceARN'     -> SetTagsForResource
gen/Network/AWS/Inspector/StartAssessmentRun.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- 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.+--+-- module Network.AWS.Inspector.StartAssessmentRun     (     -- * Creating a Request@@ -53,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sarAssessmentRunName'+-- * 'sarAssessmentRunName' - You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template. ----- * 'sarAssessmentTemplateARN'+-- * 'sarAssessmentTemplateARN' - The ARN of the assessment template of the assessment run that you want to start. startAssessmentRun     :: Text -- ^ 'sarAssessmentTemplateARN'     -> StartAssessmentRun@@ -122,9 +124,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sarrsResponseStatus'+-- * 'sarrsResponseStatus' - -- | The response status code. ----- * 'sarrsAssessmentRunARN'+-- * 'sarrsAssessmentRunARN' - The ARN of the assessment run that has been started. startAssessmentRunResponse     :: Int -- ^ 'sarrsResponseStatus'     -> Text -- ^ 'sarrsAssessmentRunARN'@@ -135,7 +137,7 @@     , _sarrsAssessmentRunARN = pAssessmentRunARN_     } --- | The response status code.+-- | -- | The response status code. sarrsResponseStatus :: Lens' StartAssessmentRunResponse Int sarrsResponseStatus = lens _sarrsResponseStatus (\ s a -> s{_sarrsResponseStatus = a}); 
gen/Network/AWS/Inspector/StopAssessmentRun.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Stops the assessment run that is specified by the ARN of the assessment run.+--+-- module Network.AWS.Inspector.StopAssessmentRun     (     -- * Creating a Request@@ -48,7 +50,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sarAssessmentRunARN'+-- * 'sarAssessmentRunARN' - The ARN of the assessment run that you want to stop. stopAssessmentRun     :: Text -- ^ 'sarAssessmentRunARN'     -> StopAssessmentRun
gen/Network/AWS/Inspector/SubscribeToEvent.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.+--+-- module Network.AWS.Inspector.SubscribeToEvent     (     -- * Creating a Request@@ -52,11 +54,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'steResourceARN'+-- * 'steResourceARN' - The ARN of the assessment template that is used during the event for which you want to receive SNS notifications. ----- * 'steEvent'+-- * 'steEvent' - The event for which you want to receive SNS notifications. ----- * 'steTopicARN'+-- * 'steTopicARN' - The ARN of the SNS topic to which the SNS notifications are sent. subscribeToEvent     :: Text -- ^ 'steResourceARN'     -> InspectorEvent -- ^ 'steEvent'
gen/Network/AWS/Inspector/Types.hs view
@@ -282,7 +282,7 @@ import           Network.AWS.Prelude import           Network.AWS.Sign.V4 --- | API version '2016-02-16' of the Amazon Inspector SDK configuration.+-- | API version @2016-02-16@ of the Amazon Inspector SDK configuration. inspector :: Service inspector =     Service@@ -317,36 +317,52 @@       | otherwise = Nothing  -- | You do not have required permissions to access the requested resource.+--+-- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError _AccessDeniedException = _ServiceError . hasCode "AccessDeniedException"  -- | You cannot perform a specified action if an assessment run is currently in progress.+--+-- _AssessmentRunInProgressException :: AsError a => Getting (First ServiceError) a ServiceError _AssessmentRunInProgressException =     _ServiceError . hasCode "AssessmentRunInProgressException"  -- | The request was rejected because it referenced an entity that does not exist. The error code describes the entity.+--+-- _NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchEntityException = _ServiceError . hasCode "NoSuchEntityException"  -- | You started an assessment run, but one of the instances is already participating in another assessment run.+--+-- _AgentsAlreadyRunningAssessmentException :: AsError a => Getting (First ServiceError) a ServiceError _AgentsAlreadyRunningAssessmentException =     _ServiceError . hasCode "AgentsAlreadyRunningAssessmentException"  -- | Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.+--+-- _InvalidCrossAccountRoleException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidCrossAccountRoleException =     _ServiceError . hasCode "InvalidCrossAccountRoleException"  -- | The request was rejected because an invalid or out-of-range value was supplied for an input parameter.+--+-- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidInputException = _ServiceError . hasCode "InvalidInputException"  -- | Internal server error.+--+-- _InternalException :: AsError a => Getting (First ServiceError) a ServiceError _InternalException = _ServiceError . hasCode "InternalException"  -- | The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.+--+-- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError _LimitExceededException = _ServiceError . hasCode "LimitExceededException"
gen/Network/AWS/Inspector/Types/Product.hs view
@@ -21,8 +21,10 @@ import           Network.AWS.Lens import           Network.AWS.Prelude --- | Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the < ListAssessmentRunAgents> action.+-- | Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the 'ListAssessmentRunAgents' action. --+--+-- -- /See:/ 'agentFilter' smart constructor. data AgentFilter = AgentFilter'     { _afAgentHealths     :: ![AgentHealth]@@ -33,9 +35,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'afAgentHealths'+-- * 'afAgentHealths' - The current health state of the agent. Values can be set to __HEALTHY__ or __UNHEALTHY__ . ----- * 'afAgentHealthCodes'+-- * 'afAgentHealthCodes' - The detailed health state of the agent. Values can be set to __IDLE__ , __RUNNING__ , __SHUTDOWN__ , __UNHEALTHY__ , __THROTTLED__ , and __UNKNOWN__ . agentFilter     :: AgentFilter agentFilter =@@ -44,11 +46,11 @@     , _afAgentHealthCodes = mempty     } --- | The current health state of the agent. Values can be set to __HEALTHY__ or __UNHEALTHY__.+-- | The current health state of the agent. Values can be set to __HEALTHY__ or __UNHEALTHY__ . afAgentHealths :: Lens' AgentFilter [AgentHealth] afAgentHealths = lens _afAgentHealths (\ s a -> s{_afAgentHealths = a}) . _Coerce; --- | The detailed health state of the agent. Values can be set to __IDLE__, __RUNNING__, __SHUTDOWN__, __UNHEALTHY__, __THROTTLED__, and __UNKNOWN__.+-- | The detailed health state of the agent. Values can be set to __IDLE__ , __RUNNING__ , __SHUTDOWN__ , __UNHEALTHY__ , __THROTTLED__ , and __UNKNOWN__ . afAgentHealthCodes :: Lens' AgentFilter [AgentHealthCode] afAgentHealthCodes = lens _afAgentHealthCodes (\ s a -> s{_afAgentHealthCodes = a}) . _Coerce; @@ -63,8 +65,10 @@                  [Just ("agentHealths" .= _afAgentHealths),                   Just ("agentHealthCodes" .= _afAgentHealthCodes)]) --- | Used as a response element in the < PreviewAgents> action.+-- | Used as a response element in the 'PreviewAgents' action. --+--+-- -- /See:/ 'agentPreview' smart constructor. data AgentPreview = AgentPreview'     { _apAutoScalingGroup :: !(Maybe Text)@@ -75,9 +79,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'apAutoScalingGroup'+-- * 'apAutoScalingGroup' - The Auto Scaling group for the EC2 instance where the agent is installed. ----- * 'apAgentId'+-- * 'apAgentId' - The ID of the EC2 instance where the agent is installed. agentPreview     :: Text -- ^ 'apAgentId'     -> AgentPreview@@ -108,8 +112,10 @@  -- | A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run . ----- Used as the response element in the < DescribeAssessmentRuns> action. --+-- Used as the response element in the 'DescribeAssessmentRuns' action.+--+-- -- /See:/ 'assessmentRun' smart constructor. data AssessmentRun = AssessmentRun'     { _arStartedAt                 :: !(Maybe POSIX)@@ -132,33 +138,33 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'arStartedAt'+-- * 'arStartedAt' - The time when 'StartAssessmentRun' was called. ----- * 'arCompletedAt'+-- * 'arCompletedAt' - The assessment run completion time that corresponds to the rules packages evaluation completion time or failure. ----- * 'arArn'+-- * 'arArn' - The ARN of the assessment run. ----- * 'arName'+-- * 'arName' - The auto-generated name for the assessment run. ----- * 'arAssessmentTemplateARN'+-- * 'arAssessmentTemplateARN' - The ARN of the assessment template that is associated with the assessment run. ----- * 'arState'+-- * 'arState' - The state of the assessment run. ----- * 'arDurationInSeconds'+-- * 'arDurationInSeconds' - The duration of the assessment run. ----- * 'arRulesPackageARNs'+-- * 'arRulesPackageARNs' - The rules packages selected for the assessment run. ----- * 'arUserAttributesForFindings'+-- * 'arUserAttributesForFindings' - The user-defined attributes that are assigned to every generated finding. ----- * 'arCreatedAt'+-- * 'arCreatedAt' - The time when 'StartAssessmentRun' was called. ----- * 'arStateChangedAt'+-- * 'arStateChangedAt' - The last time when the assessment run's state changed. ----- * 'arDataCollected'+-- * 'arDataCollected' - A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed. ----- * 'arStateChanges'+-- * 'arStateChanges' - A list of the assessment run state changes. ----- * 'arNotifications'+-- * 'arNotifications' - A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once. assessmentRun     :: Text -- ^ 'arArn'     -> Text -- ^ 'arName'@@ -188,7 +194,7 @@     , _arNotifications = mempty     } --- | The time when < StartAssessmentRun> was called.+-- | The time when 'StartAssessmentRun' was called. arStartedAt :: Lens' AssessmentRun (Maybe UTCTime) arStartedAt = lens _arStartedAt (\ s a -> s{_arStartedAt = a}) . mapping _Time; @@ -224,11 +230,11 @@ arUserAttributesForFindings :: Lens' AssessmentRun [Attribute] arUserAttributesForFindings = lens _arUserAttributesForFindings (\ s a -> s{_arUserAttributesForFindings = a}) . _Coerce; --- | The time when < StartAssessmentRun> was called.+-- | The time when 'StartAssessmentRun' was called. arCreatedAt :: Lens' AssessmentRun UTCTime arCreatedAt = lens _arCreatedAt (\ s a -> s{_arCreatedAt = a}) . _Time; --- | The last time when the assessment run\'s state changed.+-- | The last time when the assessment run's state changed. arStateChangedAt :: Lens' AssessmentRun UTCTime arStateChangedAt = lens _arStateChangedAt (\ s a -> s{_arStateChangedAt = a}) . _Time; @@ -267,8 +273,10 @@  instance NFData AssessmentRun --- | Contains information about an Amazon Inspector agent. This data type is used as a response element in the < ListAssessmentRunAgents> action.+-- | Contains information about an Amazon Inspector agent. This data type is used as a response element in the 'ListAssessmentRunAgents' action. --+--+-- -- /See:/ 'assessmentRunAgent' smart constructor. data AssessmentRunAgent = AssessmentRunAgent'     { _araAutoScalingGroup   :: !(Maybe Text)@@ -284,19 +292,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'araAutoScalingGroup'+-- * 'araAutoScalingGroup' - The Auto Scaling group of the EC2 instance that is specified by the agent ID. ----- * 'araAgentHealthDetails'+-- * 'araAgentHealthDetails' - The description for the agent health code. ----- * 'araAgentId'+-- * 'araAgentId' - The AWS account of the EC2 instance where the agent is installed. ----- * 'araAssessmentRunARN'+-- * 'araAssessmentRunARN' - The ARN of the assessment run that is associated with the agent. ----- * 'araAgentHealth'+-- * 'araAgentHealth' - The current health state of the agent. ----- * 'araAgentHealthCode'+-- * 'araAgentHealthCode' - The detailed health state of the agent. ----- * 'araTelemetryMetadata'+-- * 'araTelemetryMetadata' - The Amazon Inspector application data metrics that are collected by the agent. assessmentRunAgent     :: Text -- ^ 'araAgentId'     -> Text -- ^ 'araAssessmentRunARN'@@ -359,8 +367,10 @@  instance NFData AssessmentRunAgent --- | Used as the request parameter in the < ListAssessmentRuns> action.+-- | Used as the request parameter in the 'ListAssessmentRuns' action. --+--+-- -- /See:/ 'assessmentRunFilter' smart constructor. data AssessmentRunFilter = AssessmentRunFilter'     { _arfStates               :: !(Maybe [AssessmentRunState])@@ -376,19 +386,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'arfStates'+-- * 'arfStates' - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the __assessmentRunState__ property of the 'AssessmentRun' data type. ----- * 'arfNamePattern'+-- * 'arfNamePattern' - For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the __assessmentRunName__ property of the 'AssessmentRun' data type. ----- * 'arfStartTimeRange'+-- * 'arfStartTimeRange' - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __startTime__ property of the 'AssessmentRun' data type. ----- * 'arfStateChangeTimeRange'+-- * 'arfStateChangeTimeRange' - For a record to match a filter, the value that is specified for this data type property must match the __stateChangedAt__ property of the 'AssessmentRun' data type. ----- * 'arfRulesPackageARNs'+-- * 'arfRulesPackageARNs' - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the __rulesPackages__ property of the 'AssessmentRun' data type. ----- * 'arfCompletionTimeRange'+-- * 'arfCompletionTimeRange' - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __completedAt__ property of the 'AssessmentRun' data type. ----- * 'arfDurationRange'+-- * 'arfDurationRange' - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __durationInSeconds__ property of the 'AssessmentRun' data type. assessmentRunFilter     :: AssessmentRunFilter assessmentRunFilter =@@ -402,31 +412,31 @@     , _arfDurationRange = Nothing     } --- | For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the __assessmentRunState__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the __assessmentRunState__ property of the 'AssessmentRun' data type. arfStates :: Lens' AssessmentRunFilter [AssessmentRunState] arfStates = lens _arfStates (\ s a -> s{_arfStates = a}) . _Default . _Coerce; --- | For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the __assessmentRunName__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the __assessmentRunName__ property of the 'AssessmentRun' data type. arfNamePattern :: Lens' AssessmentRunFilter (Maybe Text) arfNamePattern = lens _arfNamePattern (\ s a -> s{_arfNamePattern = a}); --- | For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __startTime__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __startTime__ property of the 'AssessmentRun' data type. arfStartTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) arfStartTimeRange = lens _arfStartTimeRange (\ s a -> s{_arfStartTimeRange = a}); --- | For a record to match a filter, the value that is specified for this data type property must match the __stateChangedAt__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, the value that is specified for this data type property must match the __stateChangedAt__ property of the 'AssessmentRun' data type. arfStateChangeTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) arfStateChangeTimeRange = lens _arfStateChangeTimeRange (\ s a -> s{_arfStateChangeTimeRange = a}); --- | For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the __rulesPackages__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the __rulesPackages__ property of the 'AssessmentRun' data type. arfRulesPackageARNs :: Lens' AssessmentRunFilter [Text] arfRulesPackageARNs = lens _arfRulesPackageARNs (\ s a -> s{_arfRulesPackageARNs = a}) . _Default . _Coerce; --- | For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __completedAt__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __completedAt__ property of the 'AssessmentRun' data type. arfCompletionTimeRange :: Lens' AssessmentRunFilter (Maybe TimestampRange) arfCompletionTimeRange = lens _arfCompletionTimeRange (\ s a -> s{_arfCompletionTimeRange = a}); --- | For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __durationInSeconds__ property of the < AssessmentRun> data type.+-- | For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the __durationInSeconds__ property of the 'AssessmentRun' data type. arfDurationRange :: Lens' AssessmentRunFilter (Maybe DurationRange) arfDurationRange = lens _arfDurationRange (\ s a -> s{_arfDurationRange = a}); @@ -448,8 +458,10 @@                     _arfCompletionTimeRange,                   ("durationRange" .=) <$> _arfDurationRange]) --- | Used as one of the elements of the < AssessmentRun> data type.+-- | Used as one of the elements of the 'AssessmentRun' data type. --+--+-- -- /See:/ 'assessmentRunNotification' smart constructor. data AssessmentRunNotification = AssessmentRunNotification'     { _arnSnsTopicARN          :: !(Maybe Text)@@ -464,17 +476,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'arnSnsTopicARN'+-- * 'arnSnsTopicARN' - The SNS topic to which the SNS notification is sent. ----- * 'arnSnsPublishStatusCode'+-- * 'arnSnsPublishStatusCode' - The status code of the SNS notification. ----- * 'arnMessage'+-- * 'arnMessage' - Undocumented member. ----- * 'arnDate'+-- * 'arnDate' - The date of the notification. ----- * 'arnEvent'+-- * 'arnEvent' - The event for which a notification is sent. ----- * 'arnError'+-- * 'arnError' - The Boolean value that specifies whether the notification represents an error. assessmentRunNotification     :: UTCTime -- ^ 'arnDate'     -> InspectorEvent -- ^ 'arnEvent'@@ -530,8 +542,10 @@  instance NFData AssessmentRunNotification --- | Used as one of the elements of the < AssessmentRun> data type.+-- | Used as one of the elements of the 'AssessmentRun' data type. --+--+-- -- /See:/ 'assessmentRunStateChange' smart constructor. data AssessmentRunStateChange = AssessmentRunStateChange'     { _arscStateChangedAt :: !POSIX@@ -542,9 +556,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'arscStateChangedAt'+-- * 'arscStateChangedAt' - The last time the assessment run state changed. ----- * 'arscState'+-- * 'arscState' - The assessment run state. assessmentRunStateChange     :: UTCTime -- ^ 'arscStateChangedAt'     -> AssessmentRunState -- ^ 'arscState'@@ -574,8 +588,10 @@  instance NFData AssessmentRunStateChange --- | Contains information about an Amazon Inspector application. This data type is used as the response element in the < DescribeAssessmentTargets> action.+-- | Contains information about an Amazon Inspector application. This data type is used as the response element in the 'DescribeAssessmentTargets' action. --+--+-- -- /See:/ 'assessmentTarget' smart constructor. data AssessmentTarget = AssessmentTarget'     { _aArn              :: !Text@@ -589,15 +605,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aArn'+-- * 'aArn' - The ARN that specifies the Amazon Inspector assessment target. ----- * 'aName'+-- * 'aName' - The name of the Amazon Inspector assessment target. ----- * 'aResourceGroupARN'+-- * 'aResourceGroupARN' - The ARN that specifies the resource group that is associated with the assessment target. ----- * 'aCreatedAt'+-- * 'aCreatedAt' - The time at which the assessment target is created. ----- * 'aUpdatedAt'+-- * 'aUpdatedAt' - The time at which 'UpdateAssessmentTarget' is called. assessmentTarget     :: Text -- ^ 'aArn'     -> Text -- ^ 'aName'@@ -630,7 +646,7 @@ aCreatedAt :: Lens' AssessmentTarget UTCTime aCreatedAt = lens _aCreatedAt (\ s a -> s{_aCreatedAt = a}) . _Time; --- | The time at which < UpdateAssessmentTarget> is called.+-- | The time at which 'UpdateAssessmentTarget' is called. aUpdatedAt :: Lens' AssessmentTarget UTCTime aUpdatedAt = lens _aUpdatedAt (\ s a -> s{_aUpdatedAt = a}) . _Time; @@ -648,8 +664,10 @@  instance NFData AssessmentTarget --- | Used as the request parameter in the < ListAssessmentTargets> action.+-- | Used as the request parameter in the 'ListAssessmentTargets' action. --+--+-- -- /See:/ 'assessmentTargetFilter' smart constructor. newtype AssessmentTargetFilter = AssessmentTargetFilter'     { _atfAssessmentTargetNamePattern :: Maybe Text@@ -659,7 +677,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atfAssessmentTargetNamePattern'+-- * 'atfAssessmentTargetNamePattern' - For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the __assessmentTargetName__ property of the 'AssessmentTarget' data type. assessmentTargetFilter     :: AssessmentTargetFilter assessmentTargetFilter =@@ -667,7 +685,7 @@     { _atfAssessmentTargetNamePattern = Nothing     } --- | For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the __assessmentTargetName__ property of the < AssessmentTarget> data type.+-- | For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the __assessmentTargetName__ property of the 'AssessmentTarget' data type. atfAssessmentTargetNamePattern :: Lens' AssessmentTargetFilter (Maybe Text) atfAssessmentTargetNamePattern = lens _atfAssessmentTargetNamePattern (\ s a -> s{_atfAssessmentTargetNamePattern = a}); @@ -682,8 +700,10 @@                  [("assessmentTargetNamePattern" .=) <$>                     _atfAssessmentTargetNamePattern]) --- | Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the < DescribeAssessmentTemplates> action.+-- | Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the 'DescribeAssessmentTemplates' action. --+--+-- -- /See:/ 'assessmentTemplate' smart constructor. data AssessmentTemplate = AssessmentTemplate'     { _atArn                       :: !Text@@ -699,19 +719,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atArn'+-- * 'atArn' - The ARN of the assessment template. ----- * 'atName'+-- * 'atName' - The name of the assessment template. ----- * 'atAssessmentTargetARN'+-- * 'atAssessmentTargetARN' - The ARN of the assessment target that corresponds to this assessment template. ----- * 'atDurationInSeconds'+-- * 'atDurationInSeconds' - The duration in seconds specified for this assessment tempate. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day). ----- * 'atRulesPackageARNs'+-- * 'atRulesPackageARNs' - The rules packages that are specified for this assessment template. ----- * 'atUserAttributesForFindings'+-- * 'atUserAttributesForFindings' - The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template. ----- * 'atCreatedAt'+-- * 'atCreatedAt' - The time at which the assessment template is created. assessmentTemplate     :: Text -- ^ 'atArn'     -> Text -- ^ 'atName'@@ -774,8 +794,10 @@  instance NFData AssessmentTemplate --- | Used as the request parameter in the < ListAssessmentTemplates> action.+-- | Used as the request parameter in the 'ListAssessmentTemplates' action. --+--+-- -- /See:/ 'assessmentTemplateFilter' smart constructor. data AssessmentTemplateFilter = AssessmentTemplateFilter'     { _atfNamePattern      :: !(Maybe Text)@@ -787,11 +809,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atfNamePattern'+-- * 'atfNamePattern' - For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the __assessmentTemplateName__ property of the 'AssessmentTemplate' data type. ----- * 'atfRulesPackageARNs'+-- * 'atfRulesPackageARNs' - For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the __rulesPackageArns__ property of the 'AssessmentTemplate' data type. ----- * 'atfDurationRange'+-- * 'atfDurationRange' - 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 'AssessmentTemplate' data type. assessmentTemplateFilter     :: AssessmentTemplateFilter assessmentTemplateFilter =@@ -801,15 +823,15 @@     , _atfDurationRange = Nothing     } --- | For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the __assessmentTemplateName__ property of the < AssessmentTemplate> data type.+-- | For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the __assessmentTemplateName__ property of the 'AssessmentTemplate' data type. atfNamePattern :: Lens' AssessmentTemplateFilter (Maybe Text) atfNamePattern = lens _atfNamePattern (\ s a -> s{_atfNamePattern = a}); --- | For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the __rulesPackageArns__ property of the < AssessmentTemplate> data type.+-- | For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the __rulesPackageArns__ property of the 'AssessmentTemplate' data type. atfRulesPackageARNs :: Lens' AssessmentTemplateFilter [Text] atfRulesPackageARNs = lens _atfRulesPackageARNs (\ s a -> s{_atfRulesPackageARNs = a}) . _Default . _Coerce; --- | 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 < AssessmentTemplate> data type.+-- | 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 'AssessmentTemplate' data type. atfDurationRange :: Lens' AssessmentTemplateFilter (Maybe DurationRange) atfDurationRange = lens _atfDurationRange (\ s a -> s{_atfDurationRange = a}); @@ -827,6 +849,8 @@  -- | A collection of attributes of the host from which the finding is generated. --+--+-- -- /See:/ 'assetAttributes' smart constructor. data AssetAttributes = AssetAttributes'     { _aaHostname         :: !(Maybe Text)@@ -841,17 +865,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aaHostname'+-- * 'aaHostname' - The hostname of the EC2 instance where the finding is generated. ----- * 'aaAutoScalingGroup'+-- * 'aaAutoScalingGroup' - The Auto Scaling group of the EC2 instance where the finding is generated. ----- * 'aaIpv4Addresses'+-- * 'aaIpv4Addresses' - The list of IP v4 addresses of the EC2 instance where the finding is generated. ----- * 'aaAgentId'+-- * 'aaAgentId' - The ID of the agent that is installed on the EC2 instance where the finding is generated. ----- * 'aaAmiId'+-- * 'aaAmiId' - The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated. ----- * 'aaSchemaVersion'+-- * 'aaSchemaVersion' - The schema version of this data type. assetAttributes     :: Natural -- ^ 'aaSchemaVersion'     -> AssetAttributes@@ -904,8 +928,10 @@  instance NFData AssetAttributes --- | This data type is used as a request parameter in the < AddAttributesToFindings> and < CreateAssessmentTemplate> actions.+-- | This data type is used as a request parameter in the 'AddAttributesToFindings' and 'CreateAssessmentTemplate' actions. --+--+-- -- /See:/ 'attribute' smart constructor. data Attribute = Attribute'     { _aValue :: !(Maybe Text)@@ -916,9 +942,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aValue'+-- * 'aValue' - The value assigned to the attribute key. ----- * 'aKey'+-- * 'aKey' - The attribute key. attribute     :: Text -- ^ 'aKey'     -> Attribute@@ -952,8 +978,10 @@               (catMaybes                  [("value" .=) <$> _aValue, Just ("key" .= _aKey)]) --- | This data type is used in the < AssessmentTemplateFilter> data type.+-- | This data type is used in the 'AssessmentTemplateFilter' data type. --+--+-- -- /See:/ 'durationRange' smart constructor. data DurationRange = DurationRange'     { _drMinSeconds :: !(Maybe Nat)@@ -964,9 +992,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drMinSeconds'+-- * 'drMinSeconds' - The minimum value of the duration range. Must be greater than zero. ----- * 'drMaxSeconds'+-- * 'drMaxSeconds' - The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week). durationRange     :: DurationRange durationRange =@@ -994,8 +1022,10 @@                  [("minSeconds" .=) <$> _drMinSeconds,                   ("maxSeconds" .=) <$> _drMaxSeconds]) --- | This data type is used in the < Subscription> data type.+-- | This data type is used in the 'Subscription' data type. --+--+-- -- /See:/ 'eventSubscription' smart constructor. data EventSubscription = EventSubscription'     { _esEvent        :: !InspectorEvent@@ -1006,9 +1036,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'esEvent'+-- * 'esEvent' - The event for which Amazon Simple Notification Service (SNS) notifications are sent. ----- * 'esSubscribedAt'+-- * 'esSubscribedAt' - The time at which 'SubscribeToEvent' is called. eventSubscription     :: InspectorEvent -- ^ 'esEvent'     -> UTCTime -- ^ 'esSubscribedAt'@@ -1023,7 +1053,7 @@ esEvent :: Lens' EventSubscription InspectorEvent esEvent = lens _esEvent (\ s a -> s{_esEvent = a}); --- | The time at which < SubscribeToEvent> is called.+-- | The time at which 'SubscribeToEvent' is called. esSubscribedAt :: Lens' EventSubscription UTCTime esSubscribedAt = lens _esSubscribedAt (\ s a -> s{_esSubscribedAt = a}) . _Time; @@ -1040,6 +1070,8 @@  -- | Includes details about the failed items. --+--+-- -- /See:/ 'failedItemDetails' smart constructor. data FailedItemDetails = FailedItemDetails'     { _fidFailureCode :: !FailedItemErrorCode@@ -1050,9 +1082,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'fidFailureCode'+-- * 'fidFailureCode' - The status code of a failed item. ----- * 'fidRetryable'+-- * 'fidRetryable' - Indicates whether you can immediately retry a request for this item for a specified resource. failedItemDetails     :: FailedItemErrorCode -- ^ 'fidFailureCode'     -> Bool -- ^ 'fidRetryable'@@ -1082,8 +1114,10 @@  instance NFData FailedItemDetails --- | Contains information about an Amazon Inspector finding. This data type is used as the response element in the < DescribeFindings> action.+-- | Contains information about an Amazon Inspector finding. This data type is used as the response element in the 'DescribeFindings' action. --+--+-- -- /See:/ 'finding' smart constructor. data Finding = Finding'     { _fService               :: !(Maybe Text)@@ -1110,41 +1144,41 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'fService'+-- * 'fService' - The data element is set to "Inspector". ----- * 'fSeverity'+-- * 'fSeverity' - The finding severity. Values can be set to High, Medium, Low, and Informational. ----- * 'fSchemaVersion'+-- * 'fSchemaVersion' - The schema version of this data type. ----- * 'fConfidence'+-- * 'fConfidence' - This data element is currently not used. ----- * 'fAssetAttributes'+-- * 'fAssetAttributes' - A collection of attributes of the host from which the finding is generated. ----- * 'fServiceAttributes'+-- * 'fServiceAttributes' - Undocumented member. ----- * 'fId'+-- * 'fId' - The ID of the finding. ----- * 'fNumericSeverity'+-- * 'fNumericSeverity' - The numeric value of the finding severity. ----- * 'fAssetType'+-- * 'fAssetType' - The type of the host from which the finding is generated. ----- * 'fTitle'+-- * 'fTitle' - The name of the finding. ----- * 'fIndicatorOfCompromise'+-- * 'fIndicatorOfCompromise' - This data element is currently not used. ----- * 'fDescription'+-- * 'fDescription' - The description of the finding. ----- * 'fRecommendation'+-- * 'fRecommendation' - The recommendation for the finding. ----- * 'fArn'+-- * 'fArn' - The ARN that specifies the finding. ----- * 'fAttributes'+-- * 'fAttributes' - The system-defined attributes for the finding. ----- * 'fUserAttributes'+-- * 'fUserAttributes' - The user-defined attributes that are assigned to the finding. ----- * 'fCreatedAt'+-- * 'fCreatedAt' - The time when the finding was generated. ----- * 'fUpdatedAt'+-- * 'fUpdatedAt' - The time when 'AddAttributesToFindings' is called. finding     :: Text -- ^ 'fArn'     -> UTCTime -- ^ 'fCreatedAt'@@ -1172,7 +1206,7 @@     , _fUpdatedAt = _Time # pUpdatedAt_     } --- | The data element is set to \"Inspector\".+-- | The data element is set to "Inspector". fService :: Lens' Finding (Maybe Text) fService = lens _fService (\ s a -> s{_fService = a}); @@ -1240,7 +1274,7 @@ fCreatedAt :: Lens' Finding UTCTime fCreatedAt = lens _fCreatedAt (\ s a -> s{_fCreatedAt = a}) . _Time; --- | The time when < AddAttributesToFindings> is called.+-- | The time when 'AddAttributesToFindings' is called. fUpdatedAt :: Lens' Finding UTCTime fUpdatedAt = lens _fUpdatedAt (\ s a -> s{_fUpdatedAt = a}) . _Time; @@ -1271,8 +1305,10 @@  instance NFData Finding --- | This data type is used as a request parameter in the < ListFindings> action.+-- | This data type is used as a request parameter in the 'ListFindings' action. --+--+-- -- /See:/ 'findingFilter' smart constructor. data FindingFilter = FindingFilter'     { _ffAgentIds          :: !(Maybe [Text])@@ -1289,21 +1325,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ffAgentIds'+-- * 'ffAgentIds' - For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __agentId__ property of the 'Finding' data type. ----- * 'ffRuleNames'+-- * 'ffRuleNames' - For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __ruleName__ property of the 'Finding' data type. ----- * 'ffUserAttributes'+-- * 'ffUserAttributes' - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the __userAttributes__ property of the 'Finding' data type. ----- * 'ffRulesPackageARNs'+-- * 'ffRulesPackageARNs' - For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __rulesPackageArn__ property of the 'Finding' data type. ----- * 'ffAttributes'+-- * 'ffAttributes' - For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the __attributes__ property of the 'Finding' data type. ----- * 'ffSeverities'+-- * 'ffSeverities' - For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __severity__ property of the 'Finding' data type. ----- * 'ffCreationTimeRange'+-- * 'ffCreationTimeRange' - The time range during which the finding is generated. ----- * 'ffAutoScalingGroups'+-- * 'ffAutoScalingGroups' - For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __autoScalingGroup__ property of the 'Finding' data type. findingFilter     :: FindingFilter findingFilter =@@ -1318,27 +1354,27 @@     , _ffAutoScalingGroups = Nothing     } --- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __agentId__ property of the < Finding> data type.+-- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __agentId__ property of the 'Finding' data type. ffAgentIds :: Lens' FindingFilter [Text] ffAgentIds = lens _ffAgentIds (\ s a -> s{_ffAgentIds = a}) . _Default . _Coerce; --- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __ruleName__ property of the < Finding> data type.+-- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __ruleName__ property of the 'Finding' data type. ffRuleNames :: Lens' FindingFilter [Text] ffRuleNames = lens _ffRuleNames (\ s a -> s{_ffRuleNames = a}) . _Default . _Coerce; --- | For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the __userAttributes__ property of the < Finding> data type.+-- | For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the __userAttributes__ property of the 'Finding' data type. ffUserAttributes :: Lens' FindingFilter [Attribute] ffUserAttributes = lens _ffUserAttributes (\ s a -> s{_ffUserAttributes = a}) . _Default . _Coerce; --- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __rulesPackageArn__ property of the < Finding> data type.+-- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __rulesPackageArn__ property of the 'Finding' data type. ffRulesPackageARNs :: Lens' FindingFilter [Text] ffRulesPackageARNs = lens _ffRulesPackageARNs (\ s a -> s{_ffRulesPackageARNs = a}) . _Default . _Coerce; --- | For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the __attributes__ property of the < Finding> data type.+-- | For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the __attributes__ property of the 'Finding' data type. ffAttributes :: Lens' FindingFilter [Attribute] ffAttributes = lens _ffAttributes (\ s a -> s{_ffAttributes = a}) . _Default . _Coerce; --- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __severity__ property of the < Finding> data type.+-- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __severity__ property of the 'Finding' data type. ffSeverities :: Lens' FindingFilter [Severity] ffSeverities = lens _ffSeverities (\ s a -> s{_ffSeverities = a}) . _Default . _Coerce; @@ -1346,7 +1382,7 @@ ffCreationTimeRange :: Lens' FindingFilter (Maybe TimestampRange) ffCreationTimeRange = lens _ffCreationTimeRange (\ s a -> s{_ffCreationTimeRange = a}); --- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __autoScalingGroup__ property of the < Finding> data type.+-- | For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the __autoScalingGroup__ property of the 'Finding' data type. ffAutoScalingGroups :: Lens' FindingFilter [Text] ffAutoScalingGroups = lens _ffAutoScalingGroups (\ s a -> s{_ffAutoScalingGroups = a}) . _Default . _Coerce; @@ -1367,8 +1403,10 @@                   ("creationTimeRange" .=) <$> _ffCreationTimeRange,                   ("autoScalingGroups" .=) <$> _ffAutoScalingGroups]) --- | This data type is used in the < Finding> data type.+-- | This data type is used in the 'Finding' data type. --+--+-- -- /See:/ 'inspectorServiceAttributes' smart constructor. data InspectorServiceAttributes = InspectorServiceAttributes'     { _isaRulesPackageARN  :: !(Maybe Text)@@ -1380,11 +1418,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'isaRulesPackageARN'+-- * 'isaRulesPackageARN' - The ARN of the rules package that is used to generate the finding. ----- * 'isaAssessmentRunARN'+-- * 'isaAssessmentRunARN' - The ARN of the assessment run during which the finding is generated. ----- * 'isaSchemaVersion'+-- * 'isaSchemaVersion' - The schema version of this data type. inspectorServiceAttributes     :: Natural -- ^ 'isaSchemaVersion'     -> InspectorServiceAttributes@@ -1420,8 +1458,10 @@  instance NFData InspectorServiceAttributes --- | Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the < DescribeResourceGroups> action.+-- | Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the 'DescribeResourceGroups' action. --+--+-- -- /See:/ 'resourceGroup' smart constructor. data ResourceGroup = ResourceGroup'     { _rgArn       :: !Text@@ -1433,11 +1473,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rgArn'+-- * 'rgArn' - The ARN of the resource group. ----- * 'rgTags'+-- * 'rgTags' - The tags (key and value pairs) of the resource group. This data type property is used in the 'CreateResourceGroup' action. ----- * 'rgCreatedAt'+-- * 'rgCreatedAt' - The time at which resource group is created. resourceGroup     :: Text -- ^ 'rgArn'     -> NonEmpty ResourceGroupTag -- ^ 'rgTags'@@ -1454,7 +1494,7 @@ rgArn :: Lens' ResourceGroup Text rgArn = lens _rgArn (\ s a -> s{_rgArn = a}); --- | The tags (key and value pairs) of the resource group. This data type property is used in the < CreateResourceGroup> action.+-- | The tags (key and value pairs) of the resource group. This data type property is used in the 'CreateResourceGroup' action. rgTags :: Lens' ResourceGroup (NonEmpty ResourceGroupTag) rgTags = lens _rgTags (\ s a -> s{_rgTags = a}) . _List1; @@ -1474,8 +1514,10 @@  instance NFData ResourceGroup --- | This data type is used as one of the elements of the < ResourceGroup> data type.+-- | This data type is used as one of the elements of the 'ResourceGroup' data type. --+--+-- -- /See:/ 'resourceGroupTag' smart constructor. data ResourceGroupTag = ResourceGroupTag'     { _rgtValue :: !(Maybe Text)@@ -1486,9 +1528,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rgtValue'+-- * 'rgtValue' - The value assigned to a tag key. ----- * 'rgtKey'+-- * 'rgtKey' - A tag key. resourceGroupTag     :: Text -- ^ 'rgtKey'     -> ResourceGroupTag@@ -1524,8 +1566,10 @@                  [("value" .=) <$> _rgtValue,                   Just ("key" .= _rgtKey)]) --- | Contains information about an Amazon Inspector rules package. This data type is used as the response element in the < DescribeRulesPackages> action.+-- | Contains information about an Amazon Inspector rules package. This data type is used as the response element in the 'DescribeRulesPackages' action. --+--+-- -- /See:/ 'rulesPackage' smart constructor. data RulesPackage = RulesPackage'     { _rpDescription :: !(Maybe Text)@@ -1539,15 +1583,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rpDescription'+-- * 'rpDescription' - The description of the rules package. ----- * 'rpArn'+-- * 'rpArn' - The ARN of the rules package. ----- * 'rpName'+-- * 'rpName' - The name of the rules package. ----- * 'rpVersion'+-- * 'rpVersion' - The version ID of the rules package. ----- * 'rpProvider'+-- * 'rpProvider' - The provider of the rules package. rulesPackage     :: Text -- ^ 'rpArn'     -> Text -- ^ 'rpName'@@ -1597,8 +1641,10 @@  instance NFData RulesPackage --- | This data type is used as a response element in the < ListEventSubscriptions> action.+-- | This data type is used as a response element in the 'ListEventSubscriptions' action. --+--+-- -- /See:/ 'subscription' smart constructor. data Subscription = Subscription'     { _sResourceARN        :: !Text@@ -1610,11 +1656,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sResourceARN'+-- * 'sResourceARN' - The ARN of the assessment template that is used during the event for which the SNS notification is sent. ----- * 'sTopicARN'+-- * 'sTopicARN' - The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent. ----- * 'sEventSubscriptions'+-- * 'sEventSubscriptions' - The list of existing event subscriptions. subscription     :: Text -- ^ 'sResourceARN'     -> Text -- ^ 'sTopicARN'@@ -1651,8 +1697,10 @@  instance NFData Subscription --- | 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.+-- | 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. data Tag = Tag'     { _tagValue :: !(Maybe Text)@@ -1663,9 +1711,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tagValue'+-- * 'tagValue' - A value assigned to a tag key. ----- * 'tagKey'+-- * 'tagKey' - A tag key. tag     :: Text -- ^ 'tagKey'     -> Tag@@ -1699,8 +1747,10 @@                  [("value" .=) <$> _tagValue,                   Just ("key" .= _tagKey)]) --- | The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the < GetTelemetryMetadata> action.+-- | The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the 'GetTelemetryMetadata' action. --+--+-- -- /See:/ 'telemetryMetadata' smart constructor. data TelemetryMetadata = TelemetryMetadata'     { _tmDataSize    :: !(Maybe Integer)@@ -1712,11 +1762,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tmDataSize'+-- * 'tmDataSize' - The data size of messages that the agent sends to the Amazon Inspector service. ----- * 'tmMessageType'+-- * 'tmMessageType' - A specific type of behavioral data that is collected by the agent. ----- * 'tmCount'+-- * 'tmCount' - The count of messages that the agent sends to the Amazon Inspector service. telemetryMetadata     :: Text -- ^ 'tmMessageType'     -> Integer -- ^ 'tmCount'@@ -1752,8 +1802,10 @@  instance NFData TelemetryMetadata --- | This data type is used in the < AssessmentRunFilter> data type.+-- | This data type is used in the 'AssessmentRunFilter' data type. --+--+-- -- /See:/ 'timestampRange' smart constructor. data TimestampRange = TimestampRange'     { _trEndDate   :: !(Maybe POSIX)@@ -1764,9 +1816,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'trEndDate'+-- * 'trEndDate' - The maximum value of the timestamp range. ----- * 'trBeginDate'+-- * 'trBeginDate' - The minimum value of the timestamp range. timestampRange     :: TimestampRange timestampRange =
gen/Network/AWS/Inspector/UnsubscribeFromEvent.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.+--+-- module Network.AWS.Inspector.UnsubscribeFromEvent     (     -- * Creating a Request@@ -52,11 +54,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ufeResourceARN'+-- * 'ufeResourceARN' - The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications. ----- * 'ufeEvent'+-- * 'ufeEvent' - The event for which you want to stop receiving SNS notifications. ----- * 'ufeTopicARN'+-- * 'ufeTopicARN' - The ARN of the SNS topic to which SNS notifications are sent. unsubscribeFromEvent     :: Text -- ^ 'ufeResourceARN'     -> InspectorEvent -- ^ 'ufeEvent'
gen/Network/AWS/Inspector/UpdateAssessmentTarget.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Updates the assessment target that is specified by the ARN of the assessment target.+--+-- module Network.AWS.Inspector.UpdateAssessmentTarget     (     -- * Creating a Request@@ -52,11 +54,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uatAssessmentTargetARN'+-- * 'uatAssessmentTargetARN' - The ARN of the assessment target that you want to update. ----- * 'uatAssessmentTargetName'+-- * 'uatAssessmentTargetName' - The name of the assessment target that you want to update. ----- * 'uatResourceGroupARN'+-- * 'uatResourceGroupARN' - The ARN of the resource group that is used to specify the new resource group to associate with the assessment target. updateAssessmentTarget     :: Text -- ^ 'uatAssessmentTargetARN'     -> Text -- ^ 'uatAssessmentTargetName'