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 assessment targets that are specified by the ARNs of the assessment targets.
Synopsis
- data DescribeAssessmentTargets = DescribeAssessmentTargets' {}
- newDescribeAssessmentTargets :: NonEmpty Text -> DescribeAssessmentTargets
- describeAssessmentTargets_assessmentTargetArns :: Lens' DescribeAssessmentTargets (NonEmpty Text)
- data DescribeAssessmentTargetsResponse = DescribeAssessmentTargetsResponse' {}
- newDescribeAssessmentTargetsResponse :: Int -> DescribeAssessmentTargetsResponse
- describeAssessmentTargetsResponse_httpStatus :: Lens' DescribeAssessmentTargetsResponse Int
- describeAssessmentTargetsResponse_assessmentTargets :: Lens' DescribeAssessmentTargetsResponse [AssessmentTarget]
- describeAssessmentTargetsResponse_failedItems :: Lens' DescribeAssessmentTargetsResponse (HashMap Text FailedItemDetails)
Creating a Request
data DescribeAssessmentTargets Source #
See: newDescribeAssessmentTargets
smart constructor.
DescribeAssessmentTargets' | |
|
Instances
newDescribeAssessmentTargets Source #
Create a value of DescribeAssessmentTargets
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:assessmentTargetArns:DescribeAssessmentTargets'
, describeAssessmentTargets_assessmentTargetArns
- The ARNs that specifies the assessment targets that you want to
describe.
Request Lenses
describeAssessmentTargets_assessmentTargetArns :: Lens' DescribeAssessmentTargets (NonEmpty Text) Source #
The ARNs that specifies the assessment targets that you want to describe.
Destructuring the Response
data DescribeAssessmentTargetsResponse Source #
See: newDescribeAssessmentTargetsResponse
smart constructor.
DescribeAssessmentTargetsResponse' | |
|
Instances
newDescribeAssessmentTargetsResponse Source #
Create a value of DescribeAssessmentTargetsResponse
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:DescribeAssessmentTargetsResponse'
, describeAssessmentTargetsResponse_httpStatus
- The response's http status code.
$sel:assessmentTargets:DescribeAssessmentTargetsResponse'
, describeAssessmentTargetsResponse_assessmentTargets
- Information about the assessment targets.
$sel:failedItems:DescribeAssessmentTargetsResponse'
, describeAssessmentTargetsResponse_failedItems
- Assessment target details that cannot be described. An error code is
provided for each failed item.
Response Lenses
describeAssessmentTargetsResponse_httpStatus :: Lens' DescribeAssessmentTargetsResponse Int Source #
The response's http status code.
describeAssessmentTargetsResponse_assessmentTargets :: Lens' DescribeAssessmentTargetsResponse [AssessmentTarget] Source #
Information about the assessment targets.
describeAssessmentTargetsResponse_failedItems :: Lens' DescribeAssessmentTargetsResponse (HashMap Text FailedItemDetails) Source #
Assessment target details that cannot be described. An error code is provided for each failed item.