NeptuneData / Client / get_ml_model_transform_job
get_ml_model_transform_job#
- NeptuneData.Client.get_ml_model_transform_job(**kwargs)#
Gets information about a specified model transform job. See Use a trained model to generate new model artifacts.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetMLModelTransformJobStatus IAM action in that cluster.
See also: AWS API Documentation
Request Syntax
response = client.get_ml_model_transform_job( id='string', neptuneIamRoleArn='string' )
- Parameters:
id (string) –
[REQUIRED]
The unique identifier of the model-transform job to be reetrieved.
neptuneIamRoleArn (string) – The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.
- Return type:
dict
- Returns:
Response Syntax
{ 'status': 'string', 'id': 'string', 'baseProcessingJob': { 'name': 'string', 'arn': 'string', 'status': 'string', 'outputLocation': 'string', 'failureReason': 'string', 'cloudwatchLogUrl': 'string' }, 'remoteModelTransformJob': { 'name': 'string', 'arn': 'string', 'status': 'string', 'outputLocation': 'string', 'failureReason': 'string', 'cloudwatchLogUrl': 'string' }, 'models': [ { 'name': 'string', 'arn': 'string' }, ] }
Response Structure
(dict) –
status (string) –
The status of the model-transform job.
id (string) –
The unique identifier of the model-transform job to be retrieved.
baseProcessingJob (dict) –
The base data processing job.
name (string) –
The resource name.
arn (string) –
The resource ARN.
status (string) –
The resource status.
outputLocation (string) –
The output location.
failureReason (string) –
The failure reason, in case of a failure.
cloudwatchLogUrl (string) –
The CloudWatch log URL for the resource.
remoteModelTransformJob (dict) –
The remote model transform job.
name (string) –
The resource name.
arn (string) –
The resource ARN.
status (string) –
The resource status.
outputLocation (string) –
The output location.
failureReason (string) –
The failure reason, in case of a failure.
cloudwatchLogUrl (string) –
The CloudWatch log URL for the resource.
models (list) –
A list of the configuration information for the models being used.
(dict) –
Contains a Neptune ML configuration.
name (string) –
The configuration name.
arn (string) –
The ARN for the configuration.
Exceptions
NeptuneData.Client.exceptions.UnsupportedOperationException
NeptuneData.Client.exceptions.BadRequestException
NeptuneData.Client.exceptions.MLResourceNotFoundException
NeptuneData.Client.exceptions.InvalidParameterException
NeptuneData.Client.exceptions.ClientTimeoutException
NeptuneData.Client.exceptions.PreconditionsFailedException
NeptuneData.Client.exceptions.ConstraintViolationException
NeptuneData.Client.exceptions.InvalidArgumentException
NeptuneData.Client.exceptions.MissingParameterException
NeptuneData.Client.exceptions.IllegalArgumentException
NeptuneData.Client.exceptions.TooManyRequestsException