Skip to content

CommandExecution

Source code in docs_src/capo_codebuild/types/command_execution.py
class CommandExecution(TypedDict, closed=True):
    id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The ID of the command execution.</p>"""
    sandbox_id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>A <code>sandboxId</code>.</p>"""
    submit_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
    """<p>When the command execution process was initially submitted, expressed in Unix time format.</p>"""
    start_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
    """<p>When the command execution process started, expressed in Unix time format.</p>"""
    end_time: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
    """<p>When the command execution process ended, expressed in Unix time format.</p>"""
    status: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The status of the command execution.</p>"""
    command: NotRequired[
        "capo_codebuild.types.sensitive_non_empty_string.SensitiveNonEmptyString"
    ]
    """<p>The command that needs to be executed.</p>"""
    type: NotRequired["capo_codebuild.types.command_type.CommandType"]
    """<p>The command type.</p>"""
    exit_code: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The exit code to return upon completion.</p>"""
    standard_output_content: NotRequired[
        "capo_codebuild.types.sensitive_non_empty_string.SensitiveNonEmptyString"
    ]
    """<p>The text written by the command to stdout.</p>"""
    standard_err_content: NotRequired[
        "capo_codebuild.types.sensitive_non_empty_string.SensitiveNonEmptyString"
    ]
    """<p>The text written by the command to stderr.</p>"""
    logs: NotRequired["capo_codebuild.types.logs_location.LogsLocation"]
    sandbox_arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>A <code>sandboxArn</code>.</p>"""

command instance-attribute

command: NotRequired[SensitiveNonEmptyString]

The command that needs to be executed.

end_time instance-attribute

end_time: NotRequired[Timestamp]

When the command execution process ended, expressed in Unix time format.

exit_code instance-attribute

exit_code: NotRequired[NonEmptyString]

The exit code to return upon completion.

id instance-attribute

id: NotRequired[NonEmptyString]

The ID of the command execution.

logs instance-attribute

logs: NotRequired[LogsLocation]

sandbox_arn instance-attribute

sandbox_arn: NotRequired[NonEmptyString]

A sandboxArn.

sandbox_id instance-attribute

sandbox_id: NotRequired[NonEmptyString]

A sandboxId.

standard_err_content instance-attribute

standard_err_content: NotRequired[SensitiveNonEmptyString]

The text written by the command to stderr.

standard_output_content instance-attribute

standard_output_content: NotRequired[SensitiveNonEmptyString]

The text written by the command to stdout.

start_time instance-attribute

start_time: NotRequired[Timestamp]

When the command execution process started, expressed in Unix time format.

status instance-attribute

status: NotRequired[NonEmptyString]

The status of the command execution.

submit_time instance-attribute

submit_time: NotRequired[Timestamp]

When the command execution process was initially submitted, expressed in Unix time format.

type instance-attribute

type: NotRequired[CommandType]

The command type.