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 |
Lists the existing activities. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken
returned by the previous call.
- listActivities :: ListActivities
- data ListActivities
- laNextToken :: Lens' ListActivities (Maybe Text)
- laMaxResults :: Lens' ListActivities (Maybe Natural)
- listActivitiesResponse :: Int -> ListActivitiesResponse
- data ListActivitiesResponse
- larsNextToken :: Lens' ListActivitiesResponse (Maybe Text)
- larsResponseStatus :: Lens' ListActivitiesResponse Int
- larsActivities :: Lens' ListActivitiesResponse [ActivityListItem]
Creating a Request
listActivities :: ListActivities Source #
Creates a value of ListActivities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
laNextToken
- If anextToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextToken
. Keep all other arguments unchanged. The configuredmaxResults
determines how many results can be returned in a single call.laMaxResults
- The maximum number of results that will be returned per call.nextToken
can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
data ListActivities Source #
See: listActivities
smart constructor.
Request Lenses
laNextToken :: Lens' ListActivities (Maybe Text) Source #
If a nextToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken
. Keep all other arguments unchanged. The configured maxResults
determines how many results can be returned in a single call.
laMaxResults :: Lens' ListActivities (Maybe Natural) Source #
The maximum number of results that will be returned per call. nextToken
can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
Destructuring the Response
listActivitiesResponse Source #
Creates a value of ListActivitiesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
larsNextToken
- If anextToken
is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token innextToken
. Keep all other arguments unchanged. The configuredmaxResults
determines how many results can be returned in a single call.larsResponseStatus
- -- | The response status code.larsActivities
- The list of activities.
data ListActivitiesResponse Source #
See: listActivitiesResponse
smart constructor.
Response Lenses
larsNextToken :: Lens' ListActivitiesResponse (Maybe Text) Source #
If a nextToken
is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken
. Keep all other arguments unchanged. The configured maxResults
determines how many results can be returned in a single call.
larsResponseStatus :: Lens' ListActivitiesResponse Int Source #
- - | The response status code.
larsActivities :: Lens' ListActivitiesResponse [ActivityListItem] Source #
The list of activities.