amazonka-inspector 1.3.7 → 1.4.0
raw patch · 47 files changed
+224/−179 lines, 47 filesdep ~amazonka-coredep ~amazonka-inspectordep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-inspector, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.Inspector.AddAttributesToFindings: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.AddAttributesToFindings.AddAttributesToFindings
+ Network.AWS.Inspector.AttachAssessmentAndRulesPackage: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.AttachAssessmentAndRulesPackage.AttachAssessmentAndRulesPackage
+ Network.AWS.Inspector.CreateApplication: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.CreateApplication.CreateApplication
+ Network.AWS.Inspector.CreateAssessment: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.CreateAssessment.CreateAssessment
+ Network.AWS.Inspector.CreateResourceGroup: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.CreateResourceGroup.CreateResourceGroup
+ Network.AWS.Inspector.DeleteApplication: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DeleteApplication.DeleteApplication
+ Network.AWS.Inspector.DeleteAssessment: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DeleteAssessment.DeleteAssessment
+ Network.AWS.Inspector.DeleteRun: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DeleteRun.DeleteRun
+ Network.AWS.Inspector.DescribeApplication: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeApplication.DescribeApplication
+ Network.AWS.Inspector.DescribeAssessment: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeAssessment.DescribeAssessment
+ Network.AWS.Inspector.DescribeCrossAccountAccessRole: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeCrossAccountAccessRole.DescribeCrossAccountAccessRole
+ Network.AWS.Inspector.DescribeFinding: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeFinding.DescribeFinding
+ Network.AWS.Inspector.DescribeResourceGroup: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeResourceGroup.DescribeResourceGroup
+ Network.AWS.Inspector.DescribeRulesPackage: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeRulesPackage.DescribeRulesPackage
+ Network.AWS.Inspector.DescribeRun: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DescribeRun.DescribeRun
+ Network.AWS.Inspector.DetachAssessmentAndRulesPackage: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.DetachAssessmentAndRulesPackage.DetachAssessmentAndRulesPackage
+ Network.AWS.Inspector.GetAssessmentTelemetry: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.GetAssessmentTelemetry.GetAssessmentTelemetry
+ Network.AWS.Inspector.ListApplications: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListApplications.ListApplications
+ Network.AWS.Inspector.ListAssessmentAgents: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListAssessmentAgents.ListAssessmentAgents
+ Network.AWS.Inspector.ListAssessments: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListAssessments.ListAssessments
+ Network.AWS.Inspector.ListAttachedAssessments: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListAttachedAssessments.ListAttachedAssessments
+ Network.AWS.Inspector.ListAttachedRulesPackages: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListAttachedRulesPackages.ListAttachedRulesPackages
+ Network.AWS.Inspector.ListFindings: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListFindings.ListFindings
+ Network.AWS.Inspector.ListRulesPackages: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListRulesPackages.ListRulesPackages
+ Network.AWS.Inspector.ListRuns: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListRuns.ListRuns
+ Network.AWS.Inspector.ListTagsForResource: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.ListTagsForResource.ListTagsForResource
+ Network.AWS.Inspector.LocalizeText: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.LocalizeText.LocalizeText
+ Network.AWS.Inspector.PreviewAgentsForResourceGroup: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.PreviewAgentsForResourceGroup.PreviewAgentsForResourceGroup
+ Network.AWS.Inspector.RegisterCrossAccountAccessRole: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.RegisterCrossAccountAccessRole.RegisterCrossAccountAccessRole
+ Network.AWS.Inspector.RemoveAttributesFromFindings: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.RemoveAttributesFromFindings.RemoveAttributesFromFindings
+ Network.AWS.Inspector.RunAssessment: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.RunAssessment.RunAssessment
+ Network.AWS.Inspector.SetTagsForResource: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.SetTagsForResource.SetTagsForResource
+ Network.AWS.Inspector.StartDataCollection: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.StartDataCollection.StartDataCollection
+ Network.AWS.Inspector.StopDataCollection: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.StopDataCollection.StopDataCollection
+ Network.AWS.Inspector.UpdateApplication: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.UpdateApplication.UpdateApplication
+ Network.AWS.Inspector.UpdateAssessment: instance Data.Hashable.Class.Hashable Network.AWS.Inspector.UpdateAssessment.UpdateAssessment
Files
- README.md +2/−2
- amazonka-inspector.cabal +7/−7
- gen/Network/AWS/Inspector.hs +1/−3
- gen/Network/AWS/Inspector/AddAttributesToFindings.hs +3/−3
- gen/Network/AWS/Inspector/AttachAssessmentAndRulesPackage.hs +3/−3
- gen/Network/AWS/Inspector/CreateApplication.hs +4/−4
- gen/Network/AWS/Inspector/CreateAssessment.hs +3/−3
- gen/Network/AWS/Inspector/CreateResourceGroup.hs +3/−3
- gen/Network/AWS/Inspector/DeleteApplication.hs +3/−3
- gen/Network/AWS/Inspector/DeleteAssessment.hs +3/−3
- gen/Network/AWS/Inspector/DeleteRun.hs +3/−3
- gen/Network/AWS/Inspector/DescribeApplication.hs +3/−3
- gen/Network/AWS/Inspector/DescribeAssessment.hs +3/−3
- gen/Network/AWS/Inspector/DescribeCrossAccountAccessRole.hs +3/−3
- gen/Network/AWS/Inspector/DescribeFinding.hs +3/−3
- gen/Network/AWS/Inspector/DescribeResourceGroup.hs +3/−3
- gen/Network/AWS/Inspector/DescribeRulesPackage.hs +3/−3
- gen/Network/AWS/Inspector/DescribeRun.hs +3/−3
- gen/Network/AWS/Inspector/DetachAssessmentAndRulesPackage.hs +3/−3
- gen/Network/AWS/Inspector/GetAssessmentTelemetry.hs +3/−3
- gen/Network/AWS/Inspector/ListApplications.hs +3/−3
- gen/Network/AWS/Inspector/ListAssessmentAgents.hs +3/−3
- gen/Network/AWS/Inspector/ListAssessments.hs +3/−3
- gen/Network/AWS/Inspector/ListAttachedAssessments.hs +3/−3
- gen/Network/AWS/Inspector/ListAttachedRulesPackages.hs +3/−3
- gen/Network/AWS/Inspector/ListFindings.hs +3/−3
- gen/Network/AWS/Inspector/ListRulesPackages.hs +3/−3
- gen/Network/AWS/Inspector/ListRuns.hs +3/−3
- gen/Network/AWS/Inspector/ListTagsForResource.hs +3/−3
- gen/Network/AWS/Inspector/LocalizeText.hs +3/−3
- gen/Network/AWS/Inspector/PreviewAgentsForResourceGroup.hs +3/−3
- gen/Network/AWS/Inspector/RegisterCrossAccountAccessRole.hs +3/−3
- gen/Network/AWS/Inspector/RemoveAttributesFromFindings.hs +3/−3
- gen/Network/AWS/Inspector/RunAssessment.hs +3/−3
- gen/Network/AWS/Inspector/SetTagsForResource.hs +3/−3
- gen/Network/AWS/Inspector/StartDataCollection.hs +3/−3
- gen/Network/AWS/Inspector/StopDataCollection.hs +3/−3
- gen/Network/AWS/Inspector/Types.hs +2/−1
- gen/Network/AWS/Inspector/Types/Product.hs +97/−51
- gen/Network/AWS/Inspector/Types/Sum.hs +1/−1
- gen/Network/AWS/Inspector/UpdateApplication.hs +3/−3
- gen/Network/AWS/Inspector/UpdateAssessment.hs +3/−3
- gen/Network/AWS/Inspector/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/Gen/Inspector.hs +1/−1
- test/Test/AWS/Inspector.hs +1/−1
- test/Test/AWS/Inspector/Internal.hs +1/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.7`+`1.4.0` ## Description@@ -21,7 +21,7 @@ <https://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](http://docs.aws.amazon.com/inspector/latest/APIReference/Welcome.html).+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.
amazonka-inspector.cabal view
@@ -1,5 +1,5 @@ name: amazonka-inspector-version: 1.3.7+version: 1.4.0 synopsis: Amazon Inspector SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file: LICENSE author: Brendan Hay maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2015 Brendan Hay+copyright: Copyright (c) 2013-2016 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -31,7 +31,7 @@ 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" and the <http://docs.aws.amazon.com/inspector/latest/APIReference/Welcome.html AWS API Reference>+ See "Network.AWS.Inspector" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -90,7 +90,7 @@ , Network.AWS.Inspector.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-inspector-test@@ -110,9 +110,9 @@ , Test.AWS.Inspector.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-inspector == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-inspector == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/Inspector.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.Inspector--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -17,8 +17,6 @@ -- you run in AWS and to identify potential security issues. For more -- information, see -- <https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html Amazon Inspector User Guide>.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/Welcome.html AWS API Reference> module Network.AWS.Inspector ( -- * Service Configuration
gen/Network/AWS/Inspector/AddAttributesToFindings.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.AddAttributesToFindings--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Assigns attributes (key and value pair) to the findings specified by the -- findings\' ARNs.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_AddAttributesToFindings.html AWS API Reference> for AddAttributesToFindings. module Network.AWS.Inspector.AddAttributesToFindings ( -- * Creating a Request@@ -84,6 +82,8 @@ (\ s h x -> AddAttributesToFindingsResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable AddAttributesToFindings instance ToHeaders AddAttributesToFindings where toHeaders
gen/Network/AWS/Inspector/AttachAssessmentAndRulesPackage.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.AttachAssessmentAndRulesPackage--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Attaches the rules package specified by the rules package ARN to the -- assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_AttachAssessmentAndRulesPackage.html AWS API Reference> for AttachAssessmentAndRulesPackage. module Network.AWS.Inspector.AttachAssessmentAndRulesPackage ( -- * Creating a Request@@ -89,6 +87,8 @@ (\ s h x -> AttachAssessmentAndRulesPackageResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable AttachAssessmentAndRulesPackage instance ToHeaders AttachAssessmentAndRulesPackage where
gen/Network/AWS/Inspector/CreateApplication.hs view
@@ -12,19 +12,17 @@ -- | -- Module : Network.AWS.Inspector.CreateApplication--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Creates a new application using the resource group ARN generated by--- CreateResourceGroup. You can create up to 50 applications per AWS+-- < CreateResourceGroup>. You can create up to 50 applications per AWS -- account. You can run up to 500 concurrent agents per AWS account. For -- more information, see -- <https://docs.aws.amazon.com/inspector/latest/userguide//inspector_applications.html Inspector Applications.>------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_CreateApplication.html AWS API Reference> for CreateApplication. module Network.AWS.Inspector.CreateApplication ( -- * Creating a Request@@ -90,6 +88,8 @@ (\ s h x -> CreateApplicationResponse' <$> (x .?> "applicationArn") <*> (pure (fromEnum s)))++instance Hashable CreateApplication instance ToHeaders CreateApplication where toHeaders
gen/Network/AWS/Inspector/CreateAssessment.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.CreateAssessment--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Creates an assessment for the application specified by the application -- ARN. You can create up to 500 assessments per AWS account.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_CreateAssessment.html AWS API Reference> for CreateAssessment. module Network.AWS.Inspector.CreateAssessment ( -- * Creating a Request@@ -110,6 +108,8 @@ (\ s h x -> CreateAssessmentResponse' <$> (x .?> "assessmentArn") <*> (pure (fromEnum s)))++instance Hashable CreateAssessment instance ToHeaders CreateAssessment where toHeaders
gen/Network/AWS/Inspector/CreateResourceGroup.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.CreateResourceGroup--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -22,8 +22,6 @@ -- pairs) that are used to select the EC2 instances to be included in an -- Inspector application. The created resource group is then used to create -- an Inspector application.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_CreateResourceGroup.html AWS API Reference> for CreateResourceGroup. module Network.AWS.Inspector.CreateResourceGroup ( -- * Creating a Request@@ -81,6 +79,8 @@ (\ s h x -> CreateResourceGroupResponse' <$> (x .?> "resourceGroupArn") <*> (pure (fromEnum s)))++instance Hashable CreateResourceGroup instance ToHeaders CreateResourceGroup where toHeaders
gen/Network/AWS/Inspector/DeleteApplication.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DeleteApplication--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Deletes the application specified by the application ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DeleteApplication.html AWS API Reference> for DeleteApplication. module Network.AWS.Inspector.DeleteApplication ( -- * Creating a Request@@ -74,6 +72,8 @@ (\ s h x -> DeleteApplicationResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable DeleteApplication instance ToHeaders DeleteApplication where toHeaders
gen/Network/AWS/Inspector/DeleteAssessment.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DeleteAssessment--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Deletes the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DeleteAssessment.html AWS API Reference> for DeleteAssessment. module Network.AWS.Inspector.DeleteAssessment ( -- * Creating a Request@@ -74,6 +72,8 @@ (\ s h x -> DeleteAssessmentResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable DeleteAssessment instance ToHeaders DeleteAssessment where toHeaders
gen/Network/AWS/Inspector/DeleteRun.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DeleteRun--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Deletes the assessment run specified by the run ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DeleteRun.html AWS API Reference> for DeleteRun. module Network.AWS.Inspector.DeleteRun ( -- * Creating a Request@@ -74,6 +72,8 @@ (\ s h x -> DeleteRunResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable DeleteRun instance ToHeaders DeleteRun where toHeaders
gen/Network/AWS/Inspector/DescribeApplication.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DescribeApplication--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Describes the application specified by the application ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeApplication.html AWS API Reference> for DescribeApplication. module Network.AWS.Inspector.DescribeApplication ( -- * Creating a Request@@ -75,6 +73,8 @@ (\ s h x -> DescribeApplicationResponse' <$> (x .?> "application") <*> (pure (fromEnum s)))++instance Hashable DescribeApplication instance ToHeaders DescribeApplication where toHeaders
gen/Network/AWS/Inspector/DescribeAssessment.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DescribeAssessment--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Describes the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeAssessment.html AWS API Reference> for DescribeAssessment. module Network.AWS.Inspector.DescribeAssessment ( -- * Creating a Request@@ -75,6 +73,8 @@ (\ s h x -> DescribeAssessmentResponse' <$> (x .?> "assessment") <*> (pure (fromEnum s)))++instance Hashable DescribeAssessment instance ToHeaders DescribeAssessment where toHeaders
gen/Network/AWS/Inspector/DescribeCrossAccountAccessRole.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.DescribeCrossAccountAccessRole--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Describes the IAM role that enables Inspector to access your AWS -- account.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeCrossAccountAccessRole.html AWS API Reference> for DescribeCrossAccountAccessRole. module Network.AWS.Inspector.DescribeCrossAccountAccessRole ( -- * Creating a Request@@ -66,6 +64,8 @@ DescribeCrossAccountAccessRoleResponse' <$> (x .?> "valid") <*> (x .?> "roleArn") <*> (pure (fromEnum s)))++instance Hashable DescribeCrossAccountAccessRole instance ToHeaders DescribeCrossAccountAccessRole where
gen/Network/AWS/Inspector/DescribeFinding.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DescribeFinding--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Describes the finding specified by the finding ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeFinding.html AWS API Reference> for DescribeFinding. module Network.AWS.Inspector.DescribeFinding ( -- * Creating a Request@@ -74,6 +72,8 @@ (\ s h x -> DescribeFindingResponse' <$> (x .?> "finding") <*> (pure (fromEnum s)))++instance Hashable DescribeFinding instance ToHeaders DescribeFinding where toHeaders
gen/Network/AWS/Inspector/DescribeResourceGroup.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DescribeResourceGroup--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Describes the resource group specified by the resource group ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeResourceGroup.html AWS API Reference> for DescribeResourceGroup. module Network.AWS.Inspector.DescribeResourceGroup ( -- * Creating a Request@@ -75,6 +73,8 @@ (\ s h x -> DescribeResourceGroupResponse' <$> (x .?> "resourceGroup") <*> (pure (fromEnum s)))++instance Hashable DescribeResourceGroup instance ToHeaders DescribeResourceGroup where toHeaders
gen/Network/AWS/Inspector/DescribeRulesPackage.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DescribeRulesPackage--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Describes the rules package specified by the rules package ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeRulesPackage.html AWS API Reference> for DescribeRulesPackage. module Network.AWS.Inspector.DescribeRulesPackage ( -- * Creating a Request@@ -75,6 +73,8 @@ (\ s h x -> DescribeRulesPackageResponse' <$> (x .?> "rulesPackage") <*> (pure (fromEnum s)))++instance Hashable DescribeRulesPackage instance ToHeaders DescribeRulesPackage where toHeaders
gen/Network/AWS/Inspector/DescribeRun.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.DescribeRun--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Describes the assessment run specified by the run ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DescribeRun.html AWS API Reference> for DescribeRun. module Network.AWS.Inspector.DescribeRun ( -- * Creating a Request@@ -74,6 +72,8 @@ (\ s h x -> DescribeRunResponse' <$> (x .?> "run") <*> (pure (fromEnum s)))++instance Hashable DescribeRun instance ToHeaders DescribeRun where toHeaders
gen/Network/AWS/Inspector/DetachAssessmentAndRulesPackage.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.DetachAssessmentAndRulesPackage--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Detaches the rules package specified by the rules package ARN from the -- assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_DetachAssessmentAndRulesPackage.html AWS API Reference> for DetachAssessmentAndRulesPackage. module Network.AWS.Inspector.DetachAssessmentAndRulesPackage ( -- * Creating a Request@@ -89,6 +87,8 @@ (\ s h x -> DetachAssessmentAndRulesPackageResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable DetachAssessmentAndRulesPackage instance ToHeaders DetachAssessmentAndRulesPackage where
gen/Network/AWS/Inspector/GetAssessmentTelemetry.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.GetAssessmentTelemetry--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Returns the metadata about the telemetry (application behavioral data) -- for the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_GetAssessmentTelemetry.html AWS API Reference> for GetAssessmentTelemetry. module Network.AWS.Inspector.GetAssessmentTelemetry ( -- * Creating a Request@@ -78,6 +76,8 @@ GetAssessmentTelemetryResponse' <$> (x .?> "telemetry" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable GetAssessmentTelemetry instance ToHeaders GetAssessmentTelemetry where toHeaders
gen/Network/AWS/Inspector/ListApplications.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.ListApplications--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- Lists the ARNs of the applications within this AWS account. For more -- information about applications, see -- <https://docs.aws.amazon.com/inspector/latest/userguide//inspector_applications.html Inspector Applications>.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListApplications.html AWS API Reference> for ListApplications. module Network.AWS.Inspector.ListApplications ( -- * Creating a Request@@ -106,6 +104,8 @@ (x .?> "applicationArnList" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable ListApplications instance ToHeaders ListApplications where toHeaders
gen/Network/AWS/Inspector/ListAssessmentAgents.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.ListAssessmentAgents--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Lists the agents of the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListAssessmentAgents.html AWS API Reference> for ListAssessmentAgents. module Network.AWS.Inspector.ListAssessmentAgents ( -- * Creating a Request@@ -115,6 +113,8 @@ (x .?> "agentList" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable ListAssessmentAgents instance ToHeaders ListAssessmentAgents where toHeaders
gen/Network/AWS/Inspector/ListAssessments.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.ListAssessments--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Lists the assessments corresponding to applications specified by the -- applications\' ARNs.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListAssessments.html AWS API Reference> for ListAssessments. module Network.AWS.Inspector.ListAssessments ( -- * Creating a Request@@ -115,6 +113,8 @@ (x .?> "assessmentArnList" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable ListAssessments instance ToHeaders ListAssessments where toHeaders
gen/Network/AWS/Inspector/ListAttachedAssessments.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.ListAttachedAssessments--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Lists the assessments attached to the rules package specified by the -- rules package ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListAttachedAssessments.html AWS API Reference> for ListAttachedAssessments. module Network.AWS.Inspector.ListAttachedAssessments ( -- * Creating a Request@@ -116,6 +114,8 @@ (x .?> "assessmentArnList" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable ListAttachedAssessments instance ToHeaders ListAttachedAssessments where toHeaders
gen/Network/AWS/Inspector/ListAttachedRulesPackages.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.ListAttachedRulesPackages--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Lists the rules packages attached to the assessment specified by the -- assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListAttachedRulesPackages.html AWS API Reference> for ListAttachedRulesPackages. module Network.AWS.Inspector.ListAttachedRulesPackages ( -- * Creating a Request@@ -102,6 +100,8 @@ (x .?> "nextToken") <*> (x .?> "rulesPackageArnList" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListAttachedRulesPackages instance ToHeaders ListAttachedRulesPackages where toHeaders
gen/Network/AWS/Inspector/ListFindings.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.ListFindings--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Lists findings generated by the assessment run specified by the run -- ARNs.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListFindings.html AWS API Reference> for ListFindings. module Network.AWS.Inspector.ListFindings ( -- * Creating a Request@@ -115,6 +113,8 @@ (x .?> "nextToken") <*> (x .?> "findingArnList" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListFindings instance ToHeaders ListFindings where toHeaders
gen/Network/AWS/Inspector/ListRulesPackages.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.ListRulesPackages--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Lists all available Inspector rules packages.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListRulesPackages.html AWS API Reference> for ListRulesPackages. module Network.AWS.Inspector.ListRulesPackages ( -- * Creating a Request@@ -90,6 +88,8 @@ (x .?> "nextToken") <*> (x .?> "rulesPackageArnList" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListRulesPackages instance ToHeaders ListRulesPackages where toHeaders
gen/Network/AWS/Inspector/ListRuns.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.ListRuns--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Lists the assessment runs associated with the assessments specified by -- the assessment ARNs.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListRuns.html AWS API Reference> for ListRuns. module Network.AWS.Inspector.ListRuns ( -- * Creating a Request@@ -114,6 +112,8 @@ (x .?> "runArnList" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable ListRuns instance ToHeaders ListRuns where toHeaders
gen/Network/AWS/Inspector/ListTagsForResource.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.ListTagsForResource--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Lists all tags associated with a resource.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_ListTagsForResource.html AWS API Reference> for ListTagsForResource. module Network.AWS.Inspector.ListTagsForResource ( -- * Creating a Request@@ -75,6 +73,8 @@ (\ s h x -> ListTagsForResourceResponse' <$> (x .?> "tagList" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable ListTagsForResource instance ToHeaders ListTagsForResource where toHeaders
gen/Network/AWS/Inspector/LocalizeText.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.LocalizeText--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Translates a textual identifier into a user-readable text in a specified -- locale.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_LocalizeText.html AWS API Reference> for LocalizeText. module Network.AWS.Inspector.LocalizeText ( -- * Creating a Request@@ -86,6 +84,8 @@ LocalizeTextResponse' <$> (x .?> "results" .!@ mempty) <*> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable LocalizeText instance ToHeaders LocalizeText where toHeaders
gen/Network/AWS/Inspector/PreviewAgentsForResourceGroup.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.PreviewAgentsForResourceGroup--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Previews the agents installed on the EC2 instances that are included in -- the application created with the specified resource group.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_PreviewAgentsForResourceGroup.html AWS API Reference> for PreviewAgentsForResourceGroup. module Network.AWS.Inspector.PreviewAgentsForResourceGroup ( -- * Creating a Request@@ -103,6 +101,8 @@ (x .?> "agentPreviewList" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable PreviewAgentsForResourceGroup instance ToHeaders PreviewAgentsForResourceGroup where
gen/Network/AWS/Inspector/RegisterCrossAccountAccessRole.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.RegisterCrossAccountAccessRole--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Register the role that Inspector uses to list your EC2 instances during -- the assessment.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_RegisterCrossAccountAccessRole.html AWS API Reference> for RegisterCrossAccountAccessRole. module Network.AWS.Inspector.RegisterCrossAccountAccessRole ( -- * Creating a Request@@ -78,6 +76,8 @@ (\ s h x -> RegisterCrossAccountAccessRoleResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable RegisterCrossAccountAccessRole instance ToHeaders RegisterCrossAccountAccessRole where
gen/Network/AWS/Inspector/RemoveAttributesFromFindings.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.RemoveAttributesFromFindings--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- Removes the entire attribute (key and value pair) from the findings -- specified by the finding ARNs where an attribute with the specified key -- exists.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_RemoveAttributesFromFindings.html AWS API Reference> for RemoveAttributesFromFindings. module Network.AWS.Inspector.RemoveAttributesFromFindings ( -- * Creating a Request@@ -88,6 +86,8 @@ (\ s h x -> RemoveAttributesFromFindingsResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable RemoveAttributesFromFindings instance ToHeaders RemoveAttributesFromFindings where toHeaders
gen/Network/AWS/Inspector/RunAssessment.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.RunAssessment--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Starts the analysis of the application’s behavior against selected rule -- packages for the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_RunAssessment.html AWS API Reference> for RunAssessment. module Network.AWS.Inspector.RunAssessment ( -- * Creating a Request@@ -85,6 +83,8 @@ (\ s h x -> RunAssessmentResponse' <$> (x .?> "runArn") <*> (pure (fromEnum s)))++instance Hashable RunAssessment instance ToHeaders RunAssessment where toHeaders
gen/Network/AWS/Inspector/SetTagsForResource.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.SetTagsForResource--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Sets tags (key and value pairs) to the assessment specified by the -- assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_SetTagsForResource.html AWS API Reference> for SetTagsForResource. module Network.AWS.Inspector.SetTagsForResource ( -- * Creating a Request@@ -86,6 +84,8 @@ (\ s h x -> SetTagsForResourceResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable SetTagsForResource instance ToHeaders SetTagsForResource where toHeaders
gen/Network/AWS/Inspector/StartDataCollection.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Inspector.StartDataCollection--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- Starts data collection for the assessment specified by the assessment -- ARN. For this API to function properly, you must not exceed the limit of -- running up to 500 concurrent agents per AWS account.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_StartDataCollection.html AWS API Reference> for StartDataCollection. module Network.AWS.Inspector.StartDataCollection ( -- * Creating a Request@@ -78,6 +76,8 @@ (\ s h x -> StartDataCollectionResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable StartDataCollection instance ToHeaders StartDataCollection where toHeaders
gen/Network/AWS/Inspector/StopDataCollection.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.StopDataCollection--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Stop data collection for the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_StopDataCollection.html AWS API Reference> for StopDataCollection. module Network.AWS.Inspector.StopDataCollection ( -- * Creating a Request@@ -76,6 +74,8 @@ (\ s h x -> StopDataCollectionResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable StopDataCollection instance ToHeaders StopDataCollection where toHeaders
gen/Network/AWS/Inspector/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.Inspector.Types--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -227,6 +227,7 @@ , _retryCheck = check } check e+ | has (hasStatus 429) e = Just "too_many_requests" | has (hasCode "ThrottlingException" . hasStatus 400) e = Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
gen/Network/AWS/Inspector/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.Inspector.Types.Product--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -22,7 +22,7 @@ import Network.AWS.Prelude -- | Contains information about an Inspector agent. This data type is used as--- a response element in the ListAssessmentAgents action.+-- a response element in the < ListAssessmentAgents> action. -- -- /See:/ 'agent' smart constructor. data Agent = Agent'@@ -118,8 +118,10 @@ <*> (x .:? "agentHealthDetails") <*> (x .:? "agentHealth")) +instance Hashable Agent+ -- | This data type is used as a response element in the--- PreviewAgentsForResourceGroup action.+-- < PreviewAgentsForResourceGroup> action. -- -- /See:/ 'agentPreview' smart constructor. data AgentPreview = AgentPreview'@@ -157,8 +159,10 @@ AgentPreview' <$> (x .:? "autoScalingGroup") <*> (x .:? "agentId")) --- | This data type is used as a response element in the ListAssessmentAgents--- action.+instance Hashable AgentPreview++-- | This data type is used as a response element in the+-- < ListAssessmentAgents> action. -- -- /See:/ 'agentsFilter' smart constructor. newtype AgentsFilter = AgentsFilter'@@ -179,10 +183,12 @@ -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __agentHealth__--- property of the Agent data type.+-- property of the < Agent> data type. afAgentHealthList :: Lens' AgentsFilter [Text] afAgentHealthList = lens _afAgentHealthList (\ s a -> s{_afAgentHealthList = a}) . _Default . _Coerce; +instance Hashable AgentsFilter+ instance ToJSON AgentsFilter where toJSON AgentsFilter'{..} = object@@ -192,7 +198,7 @@ -- | Contains information about an Inspector application. -- -- This data type is used as the response element in the--- DescribeApplication action.+-- < DescribeApplication> action. -- -- /See:/ 'application' smart constructor. data Application = Application'@@ -241,8 +247,10 @@ (x .:? "resourceGroupArn") <*> (x .:? "applicationName")) --- | This data type is used as the request parameter in the ListApplications--- action.+instance Hashable Application++-- | This data type is used as the request parameter in the+-- < ListApplications> action. -- -- /See:/ 'applicationsFilter' smart constructor. newtype ApplicationsFilter = ApplicationsFilter'@@ -263,10 +271,12 @@ -- | For a record to match a filter, an explicit value or a string containing -- a wildcard specified for this data type property must match the value of--- the __applicationName__ property of the Application data type.+-- the __applicationName__ property of the < Application> data type. afApplicationNamePatterns :: Lens' ApplicationsFilter [Text] afApplicationNamePatterns = lens _afApplicationNamePatterns (\ s a -> s{_afApplicationNamePatterns = a}) . _Default . _Coerce; +instance Hashable ApplicationsFilter+ instance ToJSON ApplicationsFilter where toJSON ApplicationsFilter'{..} = object@@ -276,8 +286,8 @@ -- | Contains information about an Inspector assessment. ----- This data type is used as the response element in the DescribeAssessment--- action.+-- This data type is used as the response element in the+-- < DescribeAssessment> action. -- -- /See:/ 'assessment' smart constructor. data Assessment = Assessment'@@ -391,8 +401,10 @@ <*> (x .:? "durationInSeconds") <*> (x .:? "assessmentName")) --- | This data type is used as the request parameter in the ListAssessments--- and ListAttachedAssessments actions.+instance Hashable Assessment++-- | This data type is used as the request parameter in the+-- < ListAssessments> and < ListAttachedAssessments> actions. -- -- /See:/ 'assessmentsFilter' smart constructor. data AssessmentsFilter = AssessmentsFilter'@@ -433,32 +445,32 @@ -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __dataCollected__--- property of the Assessment data type.+-- property of the < Assessment> data type. afDataCollected :: Lens' AssessmentsFilter (Maybe Bool) afDataCollected = lens _afDataCollected (\ s a -> s{_afDataCollected = a}); -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __assessmentState__--- property of the Assessment data type.+-- property of the < Assessment> data type. afAssessmentStates :: Lens' AssessmentsFilter [Text] afAssessmentStates = lens _afAssessmentStates (\ s a -> s{_afAssessmentStates = 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 __startTime__ property of the Assessment data--- type.+-- and maximum values of the __startTime__ property of the < Assessment>+-- data type. afStartTimeRange :: Lens' AssessmentsFilter (Maybe TimestampRange) afStartTimeRange = lens _afStartTimeRange (\ s a -> s{_afStartTimeRange = a}); -- | For a record to match a filter, an explicit value or a string containing -- a wildcard specified for this data type property must match the value of--- the __assessmentName__ property of the Assessment data type.+-- the __assessmentName__ property of the < Assessment> data type. afAssessmentNamePatterns :: Lens' AssessmentsFilter [Text] afAssessmentNamePatterns = lens _afAssessmentNamePatterns (\ s a -> s{_afAssessmentNamePatterns = 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 __endTime__ property of the Assessment data+-- and maximum values of the __endTime__ property of the < Assessment> data -- type. afEndTimeRange :: Lens' AssessmentsFilter (Maybe TimestampRange) afEndTimeRange = lens _afEndTimeRange (\ s a -> s{_afEndTimeRange = a});@@ -466,10 +478,12 @@ -- | For a record to match a filter, the value specified for this data type -- property must inclusively match any value between the specified minimum -- and maximum values of the __durationInSeconds__ property of the--- Assessment data type.+-- < Assessment> data type. afDurationRange :: Lens' AssessmentsFilter (Maybe DurationRange) afDurationRange = lens _afDurationRange (\ s a -> s{_afDurationRange = a}); +instance Hashable AssessmentsFilter+ instance ToJSON AssessmentsFilter where toJSON AssessmentsFilter'{..} = object@@ -483,8 +497,8 @@ ("durationRange" .=) <$> _afDurationRange]) -- | This data type is used as a response element in the--- AddAttributesToFindings action and a request parameter in the--- CreateAssessment action.+-- < AddAttributesToFindings> action and a request parameter in the+-- < CreateAssessment> action. -- -- /See:/ 'attribute' smart constructor. data Attribute = Attribute'@@ -521,13 +535,15 @@ (\ x -> Attribute' <$> (x .:? "value") <*> (x .:? "key")) +instance Hashable Attribute+ instance ToJSON Attribute where toJSON Attribute'{..} = object (catMaybes [("value" .=) <$> _aValue, ("key" .=) <$> _aKey]) --- | This data type is used in the AssessmentsFilter data type.+-- | This data type is used in the < AssessmentsFilter> data type. -- -- /See:/ 'durationRange' smart constructor. data DurationRange = DurationRange'@@ -559,6 +575,8 @@ drMinimum :: Lens' DurationRange (Maybe Int) drMinimum = lens _drMinimum (\ s a -> s{_drMinimum = a}); +instance Hashable DurationRange+ instance ToJSON DurationRange where toJSON DurationRange'{..} = object@@ -568,7 +586,7 @@ -- | Contains information about an Inspector finding. ----- This data type is used as the response element in the DescribeFinding+-- This data type is used as the response element in the < DescribeFinding> -- action. -- -- /See:/ 'finding' smart constructor.@@ -700,7 +718,9 @@ <*> (x .:? "description") <*> (x .:? "recommendation")) --- | This data type is used as a request parameter in the ListFindings+instance Hashable Finding++-- | This data type is used as a request parameter in the < ListFindings> -- action. -- -- /See:/ 'findingsFilter' smart constructor.@@ -738,34 +758,36 @@ -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __ruleName__--- property of the Finding data type.+-- property of the < Finding> data type. ffRuleNames :: Lens' FindingsFilter [Text] ffRuleNames = lens _ffRuleNames (\ s a -> s{_ffRuleNames = a}) . _Default . _Coerce; -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __userAttributes__--- property of the Finding data type.+-- property of the < Finding> data type. ffUserAttributes :: Lens' FindingsFilter [Attribute] ffUserAttributes = lens _ffUserAttributes (\ s a -> s{_ffUserAttributes = a}) . _Default . _Coerce; -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __rulesPackageArn__--- property of the Finding data type.+-- property of the < Finding> data type. ffRulesPackageARNs :: Lens' FindingsFilter [Text] ffRulesPackageARNs = lens _ffRulesPackageARNs (\ s a -> s{_ffRulesPackageARNs = a}) . _Default . _Coerce; -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __attributes__--- property of the Finding data type.+-- property of the < Finding> data type. ffAttributes :: Lens' FindingsFilter [Attribute] ffAttributes = lens _ffAttributes (\ s a -> s{_ffAttributes = a}) . _Default . _Coerce; -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __severity__--- property of the Finding data type.+-- property of the < Finding> data type. ffSeverities :: Lens' FindingsFilter [Text] ffSeverities = lens _ffSeverities (\ s a -> s{_ffSeverities = a}) . _Default . _Coerce; +instance Hashable FindingsFilter+ instance ToJSON FindingsFilter where toJSON FindingsFilter'{..} = object@@ -777,7 +799,7 @@ ("severities" .=) <$> _ffSeverities]) -- | The textual identifier. This data type is used as the request parameter--- in the LocalizeText action.+-- in the < LocalizeText> action. -- -- /See:/ 'localizedText' smart constructor. data LocalizedText = LocalizedText'@@ -800,7 +822,7 @@ , _ltParameters = Nothing } --- | The facility and id properties of the LocalizedTextKey data type.+-- | The facility and id properties of the < LocalizedTextKey> data type. ltKey :: Lens' LocalizedText (Maybe LocalizedTextKey) ltKey = lens _ltKey (\ s a -> s{_ltKey = a}); @@ -816,6 +838,8 @@ LocalizedText' <$> (x .:? "key") <*> (x .:? "parameters" .!= mempty)) +instance Hashable LocalizedText+ instance ToJSON LocalizedText where toJSON LocalizedText'{..} = object@@ -823,7 +847,7 @@ [("key" .=) <$> _ltKey, ("parameters" .=) <$> _ltParameters]) --- | This data type is used in the LocalizedText data type.+-- | This data type is used in the < LocalizedText> data type. -- -- /See:/ 'localizedTextKey' smart constructor. data LocalizedTextKey = LocalizedTextKey'@@ -861,6 +885,8 @@ LocalizedTextKey' <$> (x .:? "facility") <*> (x .:? "id")) +instance Hashable LocalizedTextKey+ instance ToJSON LocalizedTextKey where toJSON LocalizedTextKey'{..} = object@@ -868,7 +894,7 @@ [("facility" .=) <$> _ltkFacility, ("id" .=) <$> _ltkId]) --- | This data type is used in the Telemetry data type.+-- | This data type is used in the < Telemetry> data type. -- -- This is metadata about the behavioral data collected by the Inspector -- agent on your EC2 instances during an assessment and passed to the@@ -921,7 +947,9 @@ (x .:? "dataSize") <*> (x .:? "messageType") <*> (x .:? "count")) --- | This data type is used in the LocalizedText data type.+instance Hashable MessageTypeTelemetry++-- | This data type is used in the < LocalizedText> data type. -- -- /See:/ 'parameter' smart constructor. data Parameter = Parameter'@@ -958,6 +986,8 @@ (\ x -> Parameter' <$> (x .:? "value") <*> (x .:? "name")) +instance Hashable Parameter+ instance ToJSON Parameter where toJSON Parameter'{..} = object@@ -969,7 +999,7 @@ -- comprise the application. -- -- This data type is used as the response element in the--- DescribeResourceGroup action.+-- < DescribeResourceGroup> action. -- -- /See:/ 'resourceGroup' smart constructor. data ResourceGroup = ResourceGroup'@@ -994,7 +1024,7 @@ -- | The tags (key and value pairs) of the resource group. ----- This data type property is used in the CreateResourceGroup action.+-- This data type property is used in the < CreateResourceGroup> action. -- -- A collection of keys and an array of possible values in JSON format. --@@ -1015,10 +1045,12 @@ (x .:? "resourceGroupTags") <*> (x .:? "resourceGroupArn")) +instance Hashable ResourceGroup+ -- | Contains information about an Inspector rules package. -- -- This data type is used as the response element in the--- DescribeRulesPackage action.+-- < DescribeRulesPackage> action. -- -- /See:/ 'rulesPackage' smart constructor. data RulesPackage = RulesPackage'@@ -1083,10 +1115,12 @@ <*> (x .:? "description") <*> (x .:? "provider")) +instance Hashable RulesPackage+ -- | A snapshot of an Inspector assessment that contains the assessment\'s -- findings. ----- This data type is used as the response element in the DescribeRun+-- This data type is used as the response element in the < DescribeRun> -- action. -- -- /See:/ 'run' smart constructor.@@ -1175,7 +1209,10 @@ <*> (x .:? "completionTime") <*> (x .:? "runArn")) --- | This data type is used as the request parameter in the ListRuns action.+instance Hashable Run++-- | This data type is used as the request parameter in the < ListRuns>+-- action. -- -- /See:/ 'runsFilter' smart constructor. data RunsFilter = RunsFilter'@@ -1212,36 +1249,38 @@ -- | For a record to match a filter, the value specified for this data type -- property must inclusively match any value between the specified minimum--- and maximum values of the __creationTime__ property of the Run data+-- and maximum values of the __creationTime__ property of the < Run> data -- type. rfCreationTime :: Lens' RunsFilter (Maybe TimestampRange) rfCreationTime = lens _rfCreationTime (\ s a -> s{_rfCreationTime = a}); -- | For a record to match a filter, the value specified for this data type -- property must match a list of values of the __rulesPackages__ property--- of the Run data type.+-- of the < Run> data type. rfRulesPackages :: Lens' RunsFilter [Text] rfRulesPackages = lens _rfRulesPackages (\ s a -> s{_rfRulesPackages = a}) . _Default . _Coerce; -- | For a record to match a filter, the value specified for this data type -- property must be the exact match of the value of the __runState__--- property of the Run data type.+-- property of the < Run> data type. rfRunStates :: Lens' RunsFilter [Text] rfRunStates = lens _rfRunStates (\ s a -> s{_rfRunStates = a}) . _Default . _Coerce; -- | For a record to match a filter, an explicit value or a string containing -- a wildcard specified for this data type property must match the value of--- the __runName__ property of the Run data type.+-- the __runName__ property of the < Run> data type. rfRunNamePatterns :: Lens' RunsFilter [Text] rfRunNamePatterns = lens _rfRunNamePatterns (\ s a -> s{_rfRunNamePatterns = 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 __completionTime__ property of the Run data+-- and maximum values of the __completionTime__ property of the < Run> data -- type. rfCompletionTime :: Lens' RunsFilter (Maybe TimestampRange) rfCompletionTime = lens _rfCompletionTime (\ s a -> s{_rfCompletionTime = a}); +instance Hashable RunsFilter+ instance ToJSON RunsFilter where toJSON RunsFilter'{..} = object@@ -1254,8 +1293,9 @@ -- | 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.+-- 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'@@ -1291,6 +1331,8 @@ = withObject "Tag" (\ x -> Tag' <$> (x .:? "Value") <*> (x .:? "Key")) +instance Hashable Tag+ instance ToJSON Tag where toJSON Tag'{..} = object@@ -1301,7 +1343,7 @@ -- the agent. -- -- This data type is used as the response element in the--- GetAssessmentTelemetry action.+-- < GetAssessmentTelemetry> action. -- -- /See:/ 'telemetry' smart constructor. data Telemetry = Telemetry'@@ -1341,8 +1383,10 @@ (x .:? "status") <*> (x .:? "messageTypeTelemetries" .!= mempty)) --- | This data type is used in the AssessmentsFilter and RunsFilter data--- types.+instance Hashable Telemetry++-- | This data type is used in the < AssessmentsFilter> and < RunsFilter>+-- data types. -- -- /See:/ 'timestampRange' smart constructor. data TimestampRange = TimestampRange'@@ -1372,6 +1416,8 @@ -- | The minimum value of the timestamp range. trMinimum :: Lens' TimestampRange (Maybe UTCTime) trMinimum = lens _trMinimum (\ s a -> s{_trMinimum = a}) . mapping _Time;++instance Hashable TimestampRange instance ToJSON TimestampRange where toJSON TimestampRange'{..}
gen/Network/AWS/Inspector/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.Inspector.Types.Sum--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
gen/Network/AWS/Inspector/UpdateApplication.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.UpdateApplication--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Updates application specified by the application ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_UpdateApplication.html AWS API Reference> for UpdateApplication. module Network.AWS.Inspector.UpdateApplication ( -- * Creating a Request@@ -94,6 +92,8 @@ (\ s h x -> UpdateApplicationResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable UpdateApplication instance ToHeaders UpdateApplication where toHeaders
gen/Network/AWS/Inspector/UpdateAssessment.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.Inspector.UpdateAssessment--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Updates the assessment specified by the assessment ARN.------ /See:/ <http://docs.aws.amazon.com/inspector/latest/APIReference/API_UpdateAssessment.html AWS API Reference> for UpdateAssessment. module Network.AWS.Inspector.UpdateAssessment ( -- * Creating a Request@@ -96,6 +94,8 @@ (\ s h x -> UpdateAssessmentResponse' <$> (x .?> "message") <*> (pure (fromEnum s)))++instance Hashable UpdateAssessment instance ToHeaders UpdateAssessment where toHeaders
gen/Network/AWS/Inspector/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.Inspector.Waiters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Main--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/Gen/Inspector.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.Inspector--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/Inspector.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.Inspector--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Inspector/Internal.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.Inspector.Internal--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or