Glue / Client / list_ml_transforms
list_ml_transforms#
- Glue.Client.list_ml_transforms(**kwargs)#
Retrieves a sortable, filterable list of existing Glue machine learning transforms in this Amazon Web Services account, or the resources with the specified tag. This operation takes the optional
Tags
field, which you can use as a filter of the responses so that tagged resources can be retrieved as a group. If you choose to use tag filtering, only resources with the tags are retrieved.See also: AWS API Documentation
Request Syntax
response = client.list_ml_transforms( NextToken='string', MaxResults=123, Filter={ 'Name': 'string', 'TransformType': 'FIND_MATCHES', 'Status': 'NOT_READY'|'READY'|'DELETING', 'GlueVersion': 'string', 'CreatedBefore': datetime(2015, 1, 1), 'CreatedAfter': datetime(2015, 1, 1), 'LastModifiedBefore': datetime(2015, 1, 1), 'LastModifiedAfter': datetime(2015, 1, 1), 'Schema': [ { 'Name': 'string', 'DataType': 'string' }, ] }, Sort={ 'Column': 'NAME'|'TRANSFORM_TYPE'|'STATUS'|'CREATED'|'LAST_MODIFIED', 'SortDirection': 'DESCENDING'|'ASCENDING' }, Tags={ 'string': 'string' } )
- Parameters:
NextToken (string) – A continuation token, if this is a continuation request.
MaxResults (integer) – The maximum size of a list to return.
Filter (dict) –
A
TransformFilterCriteria
used to filter the machine learning transforms.Name (string) –
A unique transform name that is used to filter the machine learning transforms.
TransformType (string) –
The type of machine learning transform that is used to filter the machine learning transforms.
Status (string) –
Filters the list of machine learning transforms by the last known status of the transforms (to indicate whether a transform can be used or not). One of “NOT_READY”, “READY”, or “DELETING”.
GlueVersion (string) –
This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.
CreatedBefore (datetime) –
The time and date before which the transforms were created.
CreatedAfter (datetime) –
The time and date after which the transforms were created.
LastModifiedBefore (datetime) –
Filter on transforms last modified before this date.
LastModifiedAfter (datetime) –
Filter on transforms last modified after this date.
Schema (list) –
Filters on datasets with a specific schema. The
Map<Column, Type>
object is an array of key-value pairs representing the schema this transform accepts, whereColumn
is the name of a column, andType
is the type of the data such as an integer or string. Has an upper bound of 100 columns.(dict) –
A key-value pair representing a column and data type that this transform can run against. The
Schema
parameter of theMLTransform
may contain up to 100 of these structures.Name (string) –
The name of the column.
DataType (string) –
The type of data in the column.
Sort (dict) –
A
TransformSortCriteria
used to sort the machine learning transforms.Column (string) – [REQUIRED]
The column to be used in the sorting criteria that are associated with the machine learning transform.
SortDirection (string) – [REQUIRED]
The sort direction to be used in the sorting criteria that are associated with the machine learning transform.
Tags (dict) –
Specifies to return only these tagged resources.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'TransformIds': [ 'string', ], 'NextToken': 'string' }
Response Structure
(dict) –
TransformIds (list) –
The identifiers of all the machine learning transforms in the account, or the machine learning transforms with the specified tags.
(string) –
NextToken (string) –
A continuation token, if the returned list does not contain the last metric available.
Exceptions
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InternalServiceException