| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AuditManager.GetChangeLogs
Description
Returns a list of changelogs from Audit Manager.
Synopsis
- data GetChangeLogs = GetChangeLogs' {
- controlId :: Maybe Text
- controlSetId :: Maybe Text
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- assessmentId :: Text
- newGetChangeLogs :: Text -> GetChangeLogs
- getChangeLogs_controlId :: Lens' GetChangeLogs (Maybe Text)
- getChangeLogs_controlSetId :: Lens' GetChangeLogs (Maybe Text)
- getChangeLogs_maxResults :: Lens' GetChangeLogs (Maybe Natural)
- getChangeLogs_nextToken :: Lens' GetChangeLogs (Maybe Text)
- 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.
Constructors
| GetChangeLogs' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetChangeLogs |
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:
GetChangeLogs, getChangeLogs_controlId - The unique identifier for the control.
GetChangeLogs, getChangeLogs_controlSetId - The unique identifier for the control set.
$sel:maxResults:GetChangeLogs', getChangeLogs_maxResults - Represents the maximum number of results on a page or for an API request
call.
GetChangeLogs, getChangeLogs_nextToken - The pagination token that's used to fetch the next set of results.
GetChangeLogs, getChangeLogs_assessmentId - The unique identifier for the assessment.
Request Lenses
getChangeLogs_controlId :: Lens' GetChangeLogs (Maybe Text) Source #
The unique identifier for the control.
getChangeLogs_controlSetId :: Lens' GetChangeLogs (Maybe Text) Source #
The unique identifier for the control set.
getChangeLogs_maxResults :: Lens' GetChangeLogs (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
getChangeLogs_nextToken :: Lens' GetChangeLogs (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
getChangeLogs_assessmentId :: Lens' GetChangeLogs Text Source #
The unique identifier for the assessment.
Destructuring the Response
data GetChangeLogsResponse Source #
See: newGetChangeLogsResponse smart constructor.
Constructors
| GetChangeLogsResponse' | |
Fields
| |
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.
GetChangeLogs, getChangeLogsResponse_nextToken - The pagination token that's 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 that's used to fetch the next set of results.
getChangeLogsResponse_httpStatus :: Lens' GetChangeLogsResponse Int Source #
The response's http status code.