Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.GuardDuty.CreateSampleFindings
Description
Generates example findings of types specified by the list of finding types. If NULL
is specified for findingTypes, the API generates example findings of all supported finding types.
Synopsis
- createSampleFindings :: Text -> CreateSampleFindings
- data CreateSampleFindings
- csfFindingTypes :: Lens' CreateSampleFindings [Text]
- csfDetectorId :: Lens' CreateSampleFindings Text
- createSampleFindingsResponse :: Int -> CreateSampleFindingsResponse
- data CreateSampleFindingsResponse
- csfrsResponseStatus :: Lens' CreateSampleFindingsResponse Int
Creating a Request
Arguments
:: Text | |
-> CreateSampleFindings |
Creates a value of CreateSampleFindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csfFindingTypes
- Types of sample findings that you want to generate.csfDetectorId
- The ID of the detector to create sample findings for.
data CreateSampleFindings Source #
CreateSampleFindings request body.
See: createSampleFindings
smart constructor.
Instances
Request Lenses
csfFindingTypes :: Lens' CreateSampleFindings [Text] Source #
Types of sample findings that you want to generate.
csfDetectorId :: Lens' CreateSampleFindings Text Source #
The ID of the detector to create sample findings for.
Destructuring the Response
createSampleFindingsResponse Source #
Arguments
:: Int | |
-> CreateSampleFindingsResponse |
Creates a value of CreateSampleFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csfrsResponseStatus
- -- | The response status code.
data CreateSampleFindingsResponse Source #
See: createSampleFindingsResponse
smart constructor.
Instances
Response Lenses
csfrsResponseStatus :: Lens' CreateSampleFindingsResponse Int Source #
- - | The response status code.