| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMaker.ListActions
Description
Lists the actions in your account and their properties.
This operation returns paginated results.
Synopsis
- data ListActions = ListActions' {}
- newListActions :: ListActions
- listActions_actionType :: Lens' ListActions (Maybe Text)
- listActions_createdAfter :: Lens' ListActions (Maybe UTCTime)
- listActions_createdBefore :: Lens' ListActions (Maybe UTCTime)
- listActions_maxResults :: Lens' ListActions (Maybe Natural)
- listActions_nextToken :: Lens' ListActions (Maybe Text)
- listActions_sortBy :: Lens' ListActions (Maybe SortActionsBy)
- listActions_sortOrder :: Lens' ListActions (Maybe SortOrder)
- listActions_sourceUri :: Lens' ListActions (Maybe Text)
- data ListActionsResponse = ListActionsResponse' {
- actionSummaries :: Maybe [ActionSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListActionsResponse :: Int -> ListActionsResponse
- listActionsResponse_actionSummaries :: Lens' ListActionsResponse (Maybe [ActionSummary])
- listActionsResponse_nextToken :: Lens' ListActionsResponse (Maybe Text)
- listActionsResponse_httpStatus :: Lens' ListActionsResponse Int
Creating a Request
data ListActions Source #
See: newListActions smart constructor.
Constructors
| ListActions' | |
Fields
| |
Instances
newListActions :: ListActions Source #
Create a value of ListActions with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListActions, listActions_actionType - A filter that returns only actions of the specified type.
ListActions, listActions_createdAfter - A filter that returns only actions created on or after the specified
time.
ListActions, listActions_createdBefore - A filter that returns only actions created on or before the specified
time.
$sel:maxResults:ListActions', listActions_maxResults - The maximum number of actions to return in the response. The default
value is 10.
ListActions, listActions_nextToken - If the previous call to ListActions didn't return the full set of
actions, the call returns a token for getting the next set of actions.
$sel:sortBy:ListActions', listActions_sortBy - The property used to sort results. The default value is CreationTime.
$sel:sortOrder:ListActions', listActions_sortOrder - The sort order. The default value is Descending.
ListActions, listActions_sourceUri - A filter that returns only actions with the specified source URI.
Request Lenses
listActions_actionType :: Lens' ListActions (Maybe Text) Source #
A filter that returns only actions of the specified type.
listActions_createdAfter :: Lens' ListActions (Maybe UTCTime) Source #
A filter that returns only actions created on or after the specified time.
listActions_createdBefore :: Lens' ListActions (Maybe UTCTime) Source #
A filter that returns only actions created on or before the specified time.
listActions_maxResults :: Lens' ListActions (Maybe Natural) Source #
The maximum number of actions to return in the response. The default value is 10.
listActions_nextToken :: Lens' ListActions (Maybe Text) Source #
If the previous call to ListActions didn't return the full set of
actions, the call returns a token for getting the next set of actions.
listActions_sortBy :: Lens' ListActions (Maybe SortActionsBy) Source #
The property used to sort results. The default value is CreationTime.
listActions_sortOrder :: Lens' ListActions (Maybe SortOrder) Source #
The sort order. The default value is Descending.
listActions_sourceUri :: Lens' ListActions (Maybe Text) Source #
A filter that returns only actions with the specified source URI.
Destructuring the Response
data ListActionsResponse Source #
See: newListActionsResponse smart constructor.
Constructors
| ListActionsResponse' | |
Fields
| |
Instances
newListActionsResponse Source #
Arguments
| :: Int | |
| -> ListActionsResponse |
Create a value of ListActionsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actionSummaries:ListActionsResponse', listActionsResponse_actionSummaries - A list of actions and their properties.
ListActions, listActionsResponse_nextToken - A token for getting the next set of actions, if there are any.
$sel:httpStatus:ListActionsResponse', listActionsResponse_httpStatus - The response's http status code.
Response Lenses
listActionsResponse_actionSummaries :: Lens' ListActionsResponse (Maybe [ActionSummary]) Source #
A list of actions and their properties.
listActionsResponse_nextToken :: Lens' ListActionsResponse (Maybe Text) Source #
A token for getting the next set of actions, if there are any.
listActionsResponse_httpStatus :: Lens' ListActionsResponse Int Source #
The response's http status code.