Skip to content

ScheduleAction

Source code in docs_src/capo_elementalinference/types/schedule_action.py
class ScheduleAction(TypedDict, closed=True):
    action_name: "capo_elementalinference.types.resource_name.ResourceName"
    """<p>The name of the schedule action. The name is unique within the feed.</p>"""
    start_configuration: "capo_elementalinference.types.schedule_action_start_configuration.ScheduleActionStartConfiguration"
    """<p>Specifies when the action runs.</p>"""
    operations: "capo_elementalinference.types.schedule_action_operations.ScheduleActionOperations"
    """<p>The configuration changes that the action makes to the feed.</p>"""
    status: "capo_elementalinference.types.schedule_action_status.ScheduleActionStatus"
    """<p>The status of the action. Valid values are the following:</p> <dl> <dt>PENDING</dt> <dd> <p>The action is waiting for its scheduled time.</p> </dd> <dt>COMPLETED</dt> <dd> <p>Elemental Inference applied all the action's operations to the feed.</p> </dd> <dt>FAILED</dt> <dd> <p>Elemental Inference couldn't apply the action.</p> </dd> </dl>"""
    error: NotRequired[
        "capo_elementalinference.types.schedule_action_error.ScheduleActionError"
    ]
    """<p>A description of why the action failed. Elemental Inference returns this property only when the status is FAILED. </p>"""

action_name instance-attribute

action_name: ResourceName

The name of the schedule action. The name is unique within the feed.

error instance-attribute

error: NotRequired[ScheduleActionError]

A description of why the action failed. Elemental Inference returns this property only when the status is FAILED.

operations instance-attribute

The configuration changes that the action makes to the feed.

start_configuration instance-attribute

start_configuration: ScheduleActionStartConfiguration

Specifies when the action runs.

status instance-attribute

The status of the action. Valid values are the following:

PENDING

The action is waiting for its scheduled time.

COMPLETED

Elemental Inference applied all the action's operations to the feed.

FAILED

Elemental Inference couldn't apply the action.