Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a paginated list of all performed requests, in the form of RecordDetails objects that are filtered as specified.
- listRecordHistory :: ListRecordHistory
- data ListRecordHistory
- lrhSearchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter)
- lrhAcceptLanguage :: Lens' ListRecordHistory (Maybe Text)
- lrhPageToken :: Lens' ListRecordHistory (Maybe Text)
- lrhPageSize :: Lens' ListRecordHistory (Maybe Natural)
- listRecordHistoryResponse :: Int -> ListRecordHistoryResponse
- data ListRecordHistoryResponse
- lrhrsNextPageToken :: Lens' ListRecordHistoryResponse (Maybe Text)
- lrhrsRecordDetails :: Lens' ListRecordHistoryResponse [RecordDetail]
- lrhrsResponseStatus :: Lens' ListRecordHistoryResponse Int
Creating a Request
listRecordHistory :: ListRecordHistory Source #
Creates a value of ListRecordHistory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListRecordHistory Source #
See: listRecordHistory
smart constructor.
Request Lenses
lrhSearchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter) Source #
(Optional) The filter to limit search results.
lrhAcceptLanguage :: Lens' ListRecordHistory (Maybe Text) Source #
Optional language code. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
lrhPageToken :: Lens' ListRecordHistory (Maybe Text) Source #
The page token of the first page retrieve. If null, this retrieves the first page of size PageSize
.
lrhPageSize :: Lens' ListRecordHistory (Maybe Natural) Source #
The maximum number of items to return in the results. If more results exist than fit in the specified PageSize
, the value of NextPageToken
in the response is non-null.
Destructuring the Response
listRecordHistoryResponse Source #
Creates a value of ListRecordHistoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListRecordHistoryResponse Source #
See: listRecordHistoryResponse
smart constructor.
Response Lenses
lrhrsNextPageToken :: Lens' ListRecordHistoryResponse (Maybe Text) Source #
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
lrhrsRecordDetails :: Lens' ListRecordHistoryResponse [RecordDetail] Source #
A list of record detail objects, listed in reverse chronological order.
lrhrsResponseStatus :: Lens' ListRecordHistoryResponse Int Source #
The response status code.