create_action
¶
create_action(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
action_name: Optional[ExperimentEntityName] = None,
source: Optional[ActionSource] = None,
action_type: Optional[String256] = None,
description: Optional[ExperimentDescription] = None,
status: Optional[ActionStatus] = None,
properties: Optional[LineageEntityParameters] = None,
metadata_properties: Optional[MetadataProperties] = None,
tags: Optional[TagList] = None,
) -> CreateActionResponse
Creates an action. An action is a lineage tracking entity that represents an action or activity. For example, a model deployment or an HPO job. Generally, an action involves at least one input or output artifact. For more information, see Amazon SageMaker ML Lineage Tracking.
Parameters:
-
action_name(Optional[ExperimentEntityName], default:None) –The name of the action. Must be unique to your account in an Amazon Web Services Region.
-
source(Optional[ActionSource], default:None) –The source type, ID, and URI.
-
action_type(Optional[String256], default:None) –The action type.
-
description(Optional[ExperimentDescription], default:None) –The description of the action.
-
status(Optional[ActionStatus], default:None) –The status of the action.
-
properties(Optional[LineageEntityParameters], default:None) –A list of properties to add to the action.
-
tags(Optional[TagList], default:None) –A list of tags to apply to the action.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 | |