describe_job_schema_version
async
¶
describe_job_schema_version(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
job_category: Optional[JobCategory] = None,
job_config_schema_version: Optional[JobSchemaVersion] = None,
) -> DescribeJobSchemaVersionResponse
Returns the JSON schema for a specified job category and schema version. Use this schema to validate your JobConfigDocument before calling CreateJob. If you don't specify a schema version, the latest version is returned. The schema defines required fields, allowed values, and constraints for the job configuration.
The following operations are related to DescribeJobSchemaVersion:
-
ListJobSchemaVersions -
CreateJob
Parameters:
-
job_category(Optional[JobCategory], default:None) –The category of the job schema to describe.
-
job_config_schema_version(Optional[JobSchemaVersion], default:None) –The version of the schema to retrieve. If not specified, the latest version is returned.
Raises:
-
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
14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 | |