Copyright | (c) 2013-2021 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 |
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.
CreateSampleFindings' | |
|
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 that lists one or more types of findings to include in the set
of sample findings. Currently, the only supported value is
Policy:IAMUser/S3BucketEncryptionDisabled.
Request Lenses
createSampleFindings_findingTypes :: Lens' CreateSampleFindings (Maybe [FindingType]) Source #
An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.
Destructuring the Response
data CreateSampleFindingsResponse Source #
See: newCreateSampleFindingsResponse
smart constructor.
CreateSampleFindingsResponse' | |
|
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.