create_processing_job
¶
create_processing_job(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 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 | |