| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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
- data CreateSampleFindings = CreateSampleFindings' {
- findingTypes :: Maybe [Text]
- detectorId :: Text
- newCreateSampleFindings :: Text -> CreateSampleFindings
- createSampleFindings_findingTypes :: Lens' CreateSampleFindings (Maybe [Text])
- createSampleFindings_detectorId :: Lens' CreateSampleFindings Text
- data CreateSampleFindingsResponse = CreateSampleFindingsResponse' {
- httpStatus :: Int
- newCreateSampleFindingsResponse :: Int -> CreateSampleFindingsResponse
- createSampleFindingsResponse_httpStatus :: Lens' CreateSampleFindingsResponse Int
Creating a Request
data CreateSampleFindings Source #
See: newCreateSampleFindings smart constructor.
Constructors
| CreateSampleFindings' | |
Fields
| |
Instances
newCreateSampleFindings Source #
Arguments
| :: Text | |
| -> CreateSampleFindings |
Create a value of CreateSampleFindings with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:findingTypes:CreateSampleFindings', createSampleFindings_findingTypes - The types of sample findings to generate.
CreateSampleFindings, createSampleFindings_detectorId - The ID of the detector to create sample findings for.
Request Lenses
createSampleFindings_findingTypes :: Lens' CreateSampleFindings (Maybe [Text]) Source #
The types of sample findings to generate.
createSampleFindings_detectorId :: Lens' CreateSampleFindings Text Source #
The ID of the detector to create sample findings for.
Destructuring the Response
data CreateSampleFindingsResponse Source #
See: newCreateSampleFindingsResponse smart constructor.
Constructors
| CreateSampleFindingsResponse' | |
Fields
| |
Instances
newCreateSampleFindingsResponse Source #
Create a value of CreateSampleFindingsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateSampleFindingsResponse', createSampleFindingsResponse_httpStatus - The response's http status code.
Response Lenses
createSampleFindingsResponse_httpStatus :: Lens' CreateSampleFindingsResponse Int Source #
The response's http status code.