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
13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 | |