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 |
Describes the findings that are specified by the ARNs of the findings.
Synopsis
- data DescribeFindings = DescribeFindings' {}
- newDescribeFindings :: NonEmpty Text -> DescribeFindings
- describeFindings_locale :: Lens' DescribeFindings (Maybe Locale)
- describeFindings_findingArns :: Lens' DescribeFindings (NonEmpty Text)
- data DescribeFindingsResponse = DescribeFindingsResponse' {}
- newDescribeFindingsResponse :: Int -> DescribeFindingsResponse
- describeFindingsResponse_httpStatus :: Lens' DescribeFindingsResponse Int
- describeFindingsResponse_findings :: Lens' DescribeFindingsResponse [Finding]
- describeFindingsResponse_failedItems :: Lens' DescribeFindingsResponse (HashMap Text FailedItemDetails)
Creating a Request
data DescribeFindings Source #
See: newDescribeFindings
smart constructor.
Instances
Create a value of DescribeFindings
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:locale:DescribeFindings'
, describeFindings_locale
- The locale into which you want to translate a finding description,
recommendation, and the short description that identifies the finding.
$sel:findingArns:DescribeFindings'
, describeFindings_findingArns
- The ARN that specifies the finding that you want to describe.
Request Lenses
describeFindings_locale :: Lens' DescribeFindings (Maybe Locale) Source #
The locale into which you want to translate a finding description, recommendation, and the short description that identifies the finding.
describeFindings_findingArns :: Lens' DescribeFindings (NonEmpty Text) Source #
The ARN that specifies the finding that you want to describe.
Destructuring the Response
data DescribeFindingsResponse Source #
See: newDescribeFindingsResponse
smart constructor.
DescribeFindingsResponse' | |
|
Instances
newDescribeFindingsResponse Source #
Create a value of DescribeFindingsResponse
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:DescribeFindingsResponse'
, describeFindingsResponse_httpStatus
- The response's http status code.
$sel:findings:DescribeFindingsResponse'
, describeFindingsResponse_findings
- Information about the finding.
$sel:failedItems:DescribeFindingsResponse'
, describeFindingsResponse_failedItems
- Finding details that cannot be described. An error code is provided for
each failed item.
Response Lenses
describeFindingsResponse_httpStatus :: Lens' DescribeFindingsResponse Int Source #
The response's http status code.
describeFindingsResponse_findings :: Lens' DescribeFindingsResponse [Finding] Source #
Information about the finding.
describeFindingsResponse_failedItems :: Lens' DescribeFindingsResponse (HashMap Text FailedItemDetails) Source #
Finding details that cannot be described. An error code is provided for each failed item.