Copyright | (c) 2013-2017 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 |
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)
- 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 filter to limit search results.lrhAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineselrhAccessLevelFilter
- The access level for obtaining results. If left unspecified,User
level access is used.lrhPageToken
- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize
.lrhPageSize
- The maximum number of items to return in the results. If more results exist than fit in the specifiedPageSize
, the value ofNextPageToken
in the response is non-null.
data ListRecordHistory Source #
See: listRecordHistory
smart constructor.
Request Lenses
lrhSearchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter) Source #
The filter to limit search 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 for obtaining results. If left unspecified, User
level access is used.
lrhPageToken :: Lens' ListRecordHistory (Maybe Text) Source #
The page token of the first page retrieved. 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:
lrhrsNextPageToken
- 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
- A list of record detail objects, listed in reverse chronological order.lrhrsResponseStatus
- -- | The response status code.
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.