Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the specified requests or all performed requests.
Synopsis
- listRecordHistory :: ListRecordHistory
- data ListRecordHistory
- lrhSearchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter)
- lrhAcceptLanguage :: Lens' ListRecordHistory (Maybe Text)
- lrhAccessLevelFilter :: Lens' ListRecordHistory (Maybe AccessLevelFilter)
- 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:
lrhSearchFilter
- The search filter to scope the results.lrhAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineselrhAccessLevelFilter
- The access level to use to obtain results. The default isUser
.lrhPageToken
- The page token for the next set of results. To retrieve the first set of results, use null.lrhPageSize
- The maximum number of items to return with this call.
data ListRecordHistory Source #
See: listRecordHistory
smart constructor.
Instances
Request Lenses
lrhSearchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter) Source #
The search filter to scope the results.
lrhAcceptLanguage :: Lens' ListRecordHistory (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
lrhAccessLevelFilter :: Lens' ListRecordHistory (Maybe AccessLevelFilter) Source #
The access level to use to obtain results. The default is User
.
lrhPageToken :: Lens' ListRecordHistory (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
lrhPageSize :: Lens' ListRecordHistory (Maybe Natural) Source #
The maximum number of items to return with this call.
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:
lrhrsNextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.lrhrsRecordDetails
- The records, in reverse chronological order.lrhrsResponseStatus
- -- | The response status code.
data ListRecordHistoryResponse Source #
See: listRecordHistoryResponse
smart constructor.
Instances
Response Lenses
lrhrsNextPageToken :: 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.
lrhrsRecordDetails :: Lens' ListRecordHistoryResponse [RecordDetail] Source #
The records, in reverse chronological order.
lrhrsResponseStatus :: Lens' ListRecordHistoryResponse Int Source #
- - | The response status code.