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 existing activities.
If a nextToken
is 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.
This operation returns paginated results.
Synopsis
- 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
is 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 are returned per call. You can usenextToken
to obtain further pages of results. The default is 100 and the maximum allowed page size is 100. A value of 0 uses the default. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
data ListActivities Source #
See: listActivities
smart constructor.
Instances
Request Lenses
laNextToken :: Lens' ListActivities (Maybe Text) Source #
If a nextToken
is 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 are returned per call. You can use nextToken
to obtain further pages of results. The default is 100 and the maximum allowed page size is 100. A value of 0 uses the default. This is only an upper limit. The actual number of results returned per call might 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 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.larsResponseStatus
- -- | The response status code.larsActivities
- The list of activities.
data ListActivitiesResponse Source #
See: listActivitiesResponse
smart constructor.
Instances
Response Lenses
larsNextToken :: Lens' ListActivitiesResponse (Maybe Text) Source #
If a nextToken
is 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.
larsResponseStatus :: Lens' ListActivitiesResponse Int Source #
- - | The response status code.
larsActivities :: Lens' ListActivitiesResponse [ActivityListItem] Source #
The list of activities.