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 a list of changelogs from Audit Manager.
Synopsis
- data GetChangeLogs = GetChangeLogs' {
- controlSetId :: Maybe Text
- nextToken :: Maybe Text
- controlId :: Maybe Text
- maxResults :: Maybe Natural
- assessmentId :: Text
- newGetChangeLogs :: Text -> GetChangeLogs
- getChangeLogs_controlSetId :: Lens' GetChangeLogs (Maybe Text)
- getChangeLogs_nextToken :: Lens' GetChangeLogs (Maybe Text)
- getChangeLogs_controlId :: Lens' GetChangeLogs (Maybe Text)
- getChangeLogs_maxResults :: Lens' GetChangeLogs (Maybe Natural)
- getChangeLogs_assessmentId :: Lens' GetChangeLogs Text
- data GetChangeLogsResponse = GetChangeLogsResponse' {
- changeLogs :: Maybe [ChangeLog]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetChangeLogsResponse :: Int -> GetChangeLogsResponse
- getChangeLogsResponse_changeLogs :: Lens' GetChangeLogsResponse (Maybe [ChangeLog])
- getChangeLogsResponse_nextToken :: Lens' GetChangeLogsResponse (Maybe Text)
- getChangeLogsResponse_httpStatus :: Lens' GetChangeLogsResponse Int
Creating a Request
data GetChangeLogs Source #
See: newGetChangeLogs
smart constructor.
GetChangeLogs' | |
|
Instances
Create a value of GetChangeLogs
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:controlSetId:GetChangeLogs'
, getChangeLogs_controlSetId
- The identifier for the specified control set.
$sel:nextToken:GetChangeLogs'
, getChangeLogs_nextToken
- The pagination token used to fetch the next set of results.
$sel:controlId:GetChangeLogs'
, getChangeLogs_controlId
- The identifier for the specified control.
$sel:maxResults:GetChangeLogs'
, getChangeLogs_maxResults
- Represents the maximum number of results per page, or per API request
call.
$sel:assessmentId:GetChangeLogs'
, getChangeLogs_assessmentId
- The identifier for the specified assessment.
Request Lenses
getChangeLogs_controlSetId :: Lens' GetChangeLogs (Maybe Text) Source #
The identifier for the specified control set.
getChangeLogs_nextToken :: Lens' GetChangeLogs (Maybe Text) Source #
The pagination token used to fetch the next set of results.
getChangeLogs_controlId :: Lens' GetChangeLogs (Maybe Text) Source #
The identifier for the specified control.
getChangeLogs_maxResults :: Lens' GetChangeLogs (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
getChangeLogs_assessmentId :: Lens' GetChangeLogs Text Source #
The identifier for the specified assessment.
Destructuring the Response
data GetChangeLogsResponse Source #
See: newGetChangeLogsResponse
smart constructor.
GetChangeLogsResponse' | |
|
Instances
newGetChangeLogsResponse Source #
Create a value of GetChangeLogsResponse
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:changeLogs:GetChangeLogsResponse'
, getChangeLogsResponse_changeLogs
- The list of user activity for the control.
$sel:nextToken:GetChangeLogs'
, getChangeLogsResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:httpStatus:GetChangeLogsResponse'
, getChangeLogsResponse_httpStatus
- The response's http status code.
Response Lenses
getChangeLogsResponse_changeLogs :: Lens' GetChangeLogsResponse (Maybe [ChangeLog]) Source #
The list of user activity for the control.
getChangeLogsResponse_nextToken :: Lens' GetChangeLogsResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
getChangeLogsResponse_httpStatus :: Lens' GetChangeLogsResponse Int Source #
The response's http status code.