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 |
Returns the evidence folders from a specified assessment in Audit Manager.
Synopsis
- data GetEvidenceFoldersByAssessment = GetEvidenceFoldersByAssessment' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- assessmentId :: Text
- newGetEvidenceFoldersByAssessment :: Text -> GetEvidenceFoldersByAssessment
- getEvidenceFoldersByAssessment_nextToken :: Lens' GetEvidenceFoldersByAssessment (Maybe Text)
- getEvidenceFoldersByAssessment_maxResults :: Lens' GetEvidenceFoldersByAssessment (Maybe Natural)
- getEvidenceFoldersByAssessment_assessmentId :: Lens' GetEvidenceFoldersByAssessment Text
- data GetEvidenceFoldersByAssessmentResponse = GetEvidenceFoldersByAssessmentResponse' {}
- newGetEvidenceFoldersByAssessmentResponse :: Int -> GetEvidenceFoldersByAssessmentResponse
- getEvidenceFoldersByAssessmentResponse_nextToken :: Lens' GetEvidenceFoldersByAssessmentResponse (Maybe Text)
- getEvidenceFoldersByAssessmentResponse_evidenceFolders :: Lens' GetEvidenceFoldersByAssessmentResponse (Maybe [AssessmentEvidenceFolder])
- getEvidenceFoldersByAssessmentResponse_httpStatus :: Lens' GetEvidenceFoldersByAssessmentResponse Int
Creating a Request
data GetEvidenceFoldersByAssessment Source #
See: newGetEvidenceFoldersByAssessment
smart constructor.
GetEvidenceFoldersByAssessment' | |
|
Instances
newGetEvidenceFoldersByAssessment Source #
Create a value of GetEvidenceFoldersByAssessment
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:nextToken:GetEvidenceFoldersByAssessment'
, getEvidenceFoldersByAssessment_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:GetEvidenceFoldersByAssessment'
, getEvidenceFoldersByAssessment_maxResults
- Represents the maximum number of results per page, or per API request
call.
$sel:assessmentId:GetEvidenceFoldersByAssessment'
, getEvidenceFoldersByAssessment_assessmentId
- The identifier for the specified assessment.
Request Lenses
getEvidenceFoldersByAssessment_nextToken :: Lens' GetEvidenceFoldersByAssessment (Maybe Text) Source #
The pagination token used to fetch the next set of results.
getEvidenceFoldersByAssessment_maxResults :: Lens' GetEvidenceFoldersByAssessment (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
getEvidenceFoldersByAssessment_assessmentId :: Lens' GetEvidenceFoldersByAssessment Text Source #
The identifier for the specified assessment.
Destructuring the Response
data GetEvidenceFoldersByAssessmentResponse Source #
See: newGetEvidenceFoldersByAssessmentResponse
smart constructor.
GetEvidenceFoldersByAssessmentResponse' | |
|
Instances
newGetEvidenceFoldersByAssessmentResponse Source #
Create a value of GetEvidenceFoldersByAssessmentResponse
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:nextToken:GetEvidenceFoldersByAssessment'
, getEvidenceFoldersByAssessmentResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:evidenceFolders:GetEvidenceFoldersByAssessmentResponse'
, getEvidenceFoldersByAssessmentResponse_evidenceFolders
- The list of evidence folders returned by the
GetEvidenceFoldersByAssessment
API.
$sel:httpStatus:GetEvidenceFoldersByAssessmentResponse'
, getEvidenceFoldersByAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
getEvidenceFoldersByAssessmentResponse_nextToken :: Lens' GetEvidenceFoldersByAssessmentResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
getEvidenceFoldersByAssessmentResponse_evidenceFolders :: Lens' GetEvidenceFoldersByAssessmentResponse (Maybe [AssessmentEvidenceFolder]) Source #
The list of evidence folders returned by the
GetEvidenceFoldersByAssessment
API.
getEvidenceFoldersByAssessmentResponse_httpStatus :: Lens' GetEvidenceFoldersByAssessmentResponse Int Source #
The response's http status code.