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
7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 | |