list_actions
(**kwargs)¶Lists the actions in your account and their properties.
See also: AWS API Documentation
Request Syntax
response = client.list_actions(
SourceUri='string',
ActionType='string',
CreatedAfter=datetime(2015, 1, 1),
CreatedBefore=datetime(2015, 1, 1),
SortBy='Name'|'CreationTime',
SortOrder='Ascending'|'Descending',
NextToken='string',
MaxResults=123
)
CreationTime
.Descending
.ListActions
didn't return the full set of actions, the call returns a token for getting the next set of actions.dict
Response Syntax
{
'ActionSummaries': [
{
'ActionArn': 'string',
'ActionName': 'string',
'Source': {
'SourceUri': 'string',
'SourceType': 'string',
'SourceId': 'string'
},
'ActionType': 'string',
'Status': 'Unknown'|'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped',
'CreationTime': datetime(2015, 1, 1),
'LastModifiedTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ActionSummaries (list) --
A list of actions and their properties.
(dict) --
Lists the properties of an action . An action represents an action or activity. Some examples are a workflow step and a model deployment. Generally, an action involves at least one input artifact or output artifact.
ActionArn (string) --
The Amazon Resource Name (ARN) of the action.
ActionName (string) --
The name of the action.
Source (dict) --
The source of the action.
SourceUri (string) --
The URI of the source.
SourceType (string) --
The type of the source.
SourceId (string) --
The ID of the source.
ActionType (string) --
The type of the action.
Status (string) --
The status of the action.
CreationTime (datetime) --
When the action was created.
LastModifiedTime (datetime) --
When the action was last modified.
NextToken (string) --
A token for getting the next set of actions, if there are any.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound