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
7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 | |