create_processing_job
async
¶
create_processing_job(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
processing_inputs: Optional[ProcessingInputs] = None,
processing_output_config: Optional[ProcessingOutputConfig] = None,
processing_job_name: Optional[ProcessingJobName] = None,
processing_resources: Optional[ProcessingResources] = None,
stopping_condition: Optional[ProcessingStoppingCondition] = None,
app_specification: Optional[AppSpecification] = None,
environment: Optional[ProcessingEnvironmentMap] = None,
network_config: Optional[NetworkConfig] = None,
role_arn: Optional[RoleArn] = None,
tags: Optional[TagList] = None,
experiment_config: Optional[ExperimentConfig] = None,
) -> CreateProcessingJobResponse
Creates a processing job.
Parameters:
-
processing_inputs(Optional[ProcessingInputs], default:None) –An array of inputs configuring the data to download into the processing container.
-
processing_output_config(Optional[ProcessingOutputConfig], default:None) –Output configuration for the processing job.
-
processing_job_name(Optional[ProcessingJobName], default:None) –The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
-
processing_resources(Optional[ProcessingResources], default:None) –Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
-
stopping_condition(Optional[ProcessingStoppingCondition], default:None) –The time limit for how long the processing job is allowed to run.
-
app_specification(Optional[AppSpecification], default:None) –Configures the processing job to run a specified Docker container image.
-
environment(Optional[ProcessingEnvironmentMap], default:None) –The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.
Do not include any security-sensitive information including account access IDs, secrets, or tokens in any environment fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request environment variable or plain text fields.
-
network_config(Optional[NetworkConfig], default:None) –Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
-
tags(Optional[TagList], default:None) –(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
Do not include any security-sensitive information including account access IDs, secrets, or tokens in any tags. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request tag variable or plain text fields.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 | |