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 |
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.
- 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
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.
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 #
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.
Response Lenses
csfrsResponseStatus :: Lens' CreateSampleFindingsResponse Int Source #
- - | The response status code.