| 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.MacieV2.CreateSampleFindings
Description
Creates sample findings.
Synopsis
- data CreateSampleFindings = CreateSampleFindings' {
- findingTypes :: Maybe [FindingType]
- newCreateSampleFindings :: CreateSampleFindings
- createSampleFindings_findingTypes :: Lens' CreateSampleFindings (Maybe [FindingType])
- 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 :: CreateSampleFindings Source #
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 - An array of finding types, one for each type of sample finding to
create. To create a sample of every type of finding that Amazon Macie
supports, don't include this array in your request.
Request Lenses
createSampleFindings_findingTypes :: Lens' CreateSampleFindings (Maybe [FindingType]) Source #
An array of finding types, one for each type of sample finding to create. To create a sample of every type of finding that Amazon Macie supports, don't include this array in your request.
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.