Skip to content

ExecuteTrainingOperationInput

Source code in docs_src/capo_sagemakertrainingsessionruntime/types/execute_training_operation_input.py
class ExecuteTrainingOperationInput(TypedDict, closed=True):
    training_session_name: "capo_sagemakertrainingsessionruntime.types.training_session_name.TrainingSessionName"
    """<p>The name of the training session to submit the operation to.</p>"""
    sequence_number: (
        "capo_sagemakertrainingsessionruntime.types.sequence_number.SequenceNumber"
    )
    """<p>The monotonically increasing sequence number that determines execution order. The training session processes operations strictly in sequence number order. If a gap exists, the session blocks until the missing operation arrives or times out. Must be at least 1.</p>"""
    client_token: NotRequired[
        "capo_sagemakertrainingsessionruntime.types.client_token.ClientToken"
    ]
    """<p>A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service ignores the request but does not return an error.</p>"""
    operation_config: (
        "capo_sagemakertrainingsessionruntime.types.operation_config.OperationConfig"
    )
    """<p>The configuration that specifies the type and parameters of the training operation. Exactly one member of the union must be set.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service ignores the request but does not return an error.

operation_config instance-attribute

operation_config: OperationConfig

The configuration that specifies the type and parameters of the training operation. Exactly one member of the union must be set.

sequence_number instance-attribute

sequence_number: SequenceNumber

The monotonically increasing sequence number that determines execution order. The training session processes operations strictly in sequence number order. If a gap exists, the session blocks until the missing operation arrives or times out. Must be at least 1.

training_session_name instance-attribute

training_session_name: TrainingSessionName

The name of the training session to submit the operation to.