@@ -115,7 +115,7 @@ class TransformStep(Task):
115
115
Creates a Task State to execute a `SageMaker Transform Job <https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateTransformJob.html>`_.
116
116
"""
117
117
118
- def __init__ (self , state_id , transformer , job_name , model_name , data , data_type = 'S3Prefix' , content_type = None , compression_type = None , split_type = None , experiment_config = None , wait_for_completion = True , tags = None , ** kwargs ):
118
+ def __init__ (self , state_id , transformer , job_name , model_name , data , data_type = 'S3Prefix' , content_type = None , compression_type = None , split_type = None , experiment_config = None , wait_for_completion = True , tags = None , input_filter = None , output_filter = None , join_source = None , ** kwargs ):
119
119
"""
120
120
Args:
121
121
state_id (str): State name whose length **must be** less than or equal to 128 unicode characters. State names **must be** unique within the scope of the whole state machine.
@@ -150,7 +150,10 @@ def __init__(self, state_id, transformer, job_name, model_name, data, data_type=
150
150
content_type = content_type ,
151
151
compression_type = compression_type ,
152
152
split_type = split_type ,
153
- job_name = job_name
153
+ job_name = job_name ,
154
+ input_filter = input_filter ,
155
+ join_source = join_source ,
156
+ output_filter = output_filter
154
157
)
155
158
else :
156
159
parameters = transform_config (
@@ -159,7 +162,10 @@ def __init__(self, state_id, transformer, job_name, model_name, data, data_type=
159
162
data_type = data_type ,
160
163
content_type = content_type ,
161
164
compression_type = compression_type ,
162
- split_type = split_type
165
+ split_type = split_type ,
166
+ input_filter = input_filter ,
167
+ join_source = join_source ,
168
+ output_filter = output_filter
163
169
)
164
170
165
171
if isinstance (job_name , (ExecutionInput , StepInput )):
@@ -253,7 +259,7 @@ def __init__(self, state_id, endpoint_config_name, model_name, initial_instance_
253
259
254
260
if isinstance (data_capture_config , DataCaptureConfig ):
255
261
parameters ['DataCaptureConfig' ] = data_capture_config ._to_request_dict ()
256
-
262
+
257
263
if tags :
258
264
parameters ['Tags' ] = tags_dict_to_kv_list (tags )
259
265
0 commit comments