Skip to content

PredictorSummary

Source code in docs_src/capo_forecast/types/predictor_summary.py
class PredictorSummary(TypedDict, closed=True):
    predictor_arn: NotRequired["capo_forecast.types.arn.Arn"]
    """<p>The ARN of the predictor.</p>"""
    predictor_name: NotRequired["capo_forecast.types.name.Name"]
    """<p>The name of the predictor.</p>"""
    dataset_group_arn: NotRequired["capo_forecast.types.arn.Arn"]
    """<p>The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.</p>"""
    is_auto_predictor: NotRequired["capo_forecast.types.boolean.Boolean"]
    """<p>Whether AutoPredictor was used to create the predictor.</p>"""
    reference_predictor_summary: NotRequired[
        "capo_forecast.types.reference_predictor_summary.ReferencePredictorSummary"
    ]
    """<p>A summary of the reference predictor used if the predictor was retrained or upgraded.</p>"""
    status: NotRequired["capo_forecast.types.status.Status"]
    """<p>The status of the predictor. States include:</p> <ul> <li> <p> <code>ACTIVE</code> </p> </li> <li> <p> <code>CREATE_PENDING</code>, <code>CREATE_IN_PROGRESS</code>, <code>CREATE_FAILED</code> </p> </li> <li> <p> <code>DELETE_PENDING</code>, <code>DELETE_IN_PROGRESS</code>, <code>DELETE_FAILED</code> </p> </li> <li> <p> <code>CREATE_STOPPING</code>, <code>CREATE_STOPPED</code> </p> </li> </ul> <note> <p>The <code>Status</code> of the predictor must be <code>ACTIVE</code> before you can use the predictor to create a forecast.</p> </note>"""
    message: NotRequired["capo_forecast.types.error_message.ErrorMessage"]
    """<p>If an error occurred, an informational message about the error.</p>"""
    creation_time: NotRequired["capo_forecast.types.timestamp.Timestamp"]
    """<p>When the model training task was created.</p>"""
    last_modification_time: NotRequired["capo_forecast.types.timestamp.Timestamp"]
    """<p>The last time the resource was modified. The timestamp depends on the status of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> - The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> - When the job finished or failed.</p> </li> </ul>"""

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

When the model training task was created.

dataset_group_arn instance-attribute

dataset_group_arn: NotRequired[Arn]

The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.

is_auto_predictor instance-attribute

is_auto_predictor: NotRequired[Boolean]

Whether AutoPredictor was used to create the predictor.

last_modification_time instance-attribute

last_modification_time: NotRequired[Timestamp]

The last time the resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.

  • CREATE_IN_PROGRESS - The current timestamp.

  • CREATE_STOPPING - The current timestamp.

  • CREATE_STOPPED - When the job stopped.

  • ACTIVE or CREATE_FAILED - When the job finished or failed.

message instance-attribute

message: NotRequired[ErrorMessage]

If an error occurred, an informational message about the error.

predictor_arn instance-attribute

predictor_arn: NotRequired[Arn]

The ARN of the predictor.

predictor_name instance-attribute

predictor_name: NotRequired[Name]

The name of the predictor.

reference_predictor_summary instance-attribute

reference_predictor_summary: NotRequired[ReferencePredictorSummary]

A summary of the reference predictor used if the predictor was retrained or upgraded.

status instance-attribute

status: NotRequired[Status]

The status of the predictor. States include:

  • ACTIVE

  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

  • CREATE_STOPPING, CREATE_STOPPED

The Status of the predictor must be ACTIVE before you can use the predictor to create a forecast.