Skip to content

ExecutionStepResult

Source code in docs_src/capo_transfer/types/execution_step_result.py
class ExecutionStepResult(TypedDict, closed=True):
    step_type: NotRequired["capo_transfer.types.workflow_step_type.WorkflowStepType"]
    """<p>One of the available step types.</p> <ul> <li> <p> <b> <code>COPY</code> </b> - Copy the file to another location.</p> </li> <li> <p> <b> <code>CUSTOM</code> </b> - Perform a custom step with an Lambda function target.</p> </li> <li> <p> <b> <code>DECRYPT</code> </b> - Decrypt a file that was encrypted before it was uploaded.</p> </li> <li> <p> <b> <code>DELETE</code> </b> - Delete the file.</p> </li> <li> <p> <b> <code>TAG</code> </b> - Add a tag to the file.</p> </li> </ul>"""
    outputs: NotRequired[
        "capo_transfer.types.step_result_outputs_json.StepResultOutputsJson"
    ]
    """<p>The values for the key/value pair applied as a tag to the file. Only applicable if the step type is <code>TAG</code>.</p>"""
    error: NotRequired["capo_transfer.types.execution_error.ExecutionError"]
    """<p>Specifies the details for an error, if it occurred during execution of the specified workflow step.</p>"""

error instance-attribute

error: NotRequired[ExecutionError]

Specifies the details for an error, if it occurred during execution of the specified workflow step.

outputs instance-attribute

outputs: NotRequired[StepResultOutputsJson]

The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG.

step_type instance-attribute

step_type: NotRequired[WorkflowStepType]

One of the available step types.

  • COPY - Copy the file to another location.

  • CUSTOM - Perform a custom step with an Lambda function target.

  • DECRYPT - Decrypt a file that was encrypted before it was uploaded.

  • DELETE - Delete the file.

  • TAG - Add a tag to the file.