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 |
Lists the specified requests or all performed requests.
This operation returns paginated results.
Synopsis
- data ListRecordHistory = ListRecordHistory' {}
- newListRecordHistory :: ListRecordHistory
- listRecordHistory_searchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter)
- listRecordHistory_acceptLanguage :: Lens' ListRecordHistory (Maybe Text)
- listRecordHistory_accessLevelFilter :: Lens' ListRecordHistory (Maybe AccessLevelFilter)
- listRecordHistory_pageToken :: Lens' ListRecordHistory (Maybe Text)
- listRecordHistory_pageSize :: Lens' ListRecordHistory (Maybe Natural)
- data ListRecordHistoryResponse = ListRecordHistoryResponse' {}
- newListRecordHistoryResponse :: Int -> ListRecordHistoryResponse
- listRecordHistoryResponse_nextPageToken :: Lens' ListRecordHistoryResponse (Maybe Text)
- listRecordHistoryResponse_recordDetails :: Lens' ListRecordHistoryResponse (Maybe [RecordDetail])
- listRecordHistoryResponse_httpStatus :: Lens' ListRecordHistoryResponse Int
Creating a Request
data ListRecordHistory Source #
See: newListRecordHistory
smart constructor.
ListRecordHistory' | |
|
Instances
newListRecordHistory :: ListRecordHistory Source #
Create a value of ListRecordHistory
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:searchFilter:ListRecordHistory'
, listRecordHistory_searchFilter
- The search filter to scope the results.
$sel:acceptLanguage:ListRecordHistory'
, listRecordHistory_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:accessLevelFilter:ListRecordHistory'
, listRecordHistory_accessLevelFilter
- The access level to use to obtain results. The default is User
.
$sel:pageToken:ListRecordHistory'
, listRecordHistory_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListRecordHistory'
, listRecordHistory_pageSize
- The maximum number of items to return with this call.
Request Lenses
listRecordHistory_searchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter) Source #
The search filter to scope the results.
listRecordHistory_acceptLanguage :: Lens' ListRecordHistory (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listRecordHistory_accessLevelFilter :: Lens' ListRecordHistory (Maybe AccessLevelFilter) Source #
The access level to use to obtain results. The default is User
.
listRecordHistory_pageToken :: Lens' ListRecordHistory (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listRecordHistory_pageSize :: Lens' ListRecordHistory (Maybe Natural) Source #
The maximum number of items to return with this call.
Destructuring the Response
data ListRecordHistoryResponse Source #
See: newListRecordHistoryResponse
smart constructor.
ListRecordHistoryResponse' | |
|
Instances
newListRecordHistoryResponse Source #
Create a value of ListRecordHistoryResponse
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:nextPageToken:ListRecordHistoryResponse'
, listRecordHistoryResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:recordDetails:ListRecordHistoryResponse'
, listRecordHistoryResponse_recordDetails
- The records, in reverse chronological order.
$sel:httpStatus:ListRecordHistoryResponse'
, listRecordHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
listRecordHistoryResponse_nextPageToken :: Lens' ListRecordHistoryResponse (Maybe Text) Source #
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
listRecordHistoryResponse_recordDetails :: Lens' ListRecordHistoryResponse (Maybe [RecordDetail]) Source #
The records, in reverse chronological order.
listRecordHistoryResponse_httpStatus :: Lens' ListRecordHistoryResponse Int Source #
The response's http status code.