Skip to content

SampleTrainingSessionInput

Source code in docs_src/capo_sagemakertrainingsessionruntime/types/sample_training_session_input.py
class SampleTrainingSessionInput(TypedDict, closed=True):
    training_session_name: "capo_sagemakertrainingsessionruntime.types.training_session_name.TrainingSessionName"
    """<p>The name of the training session whose model to invoke.</p>"""
    content_type: NotRequired["str"]
    """<p>The MIME type of the input data in the request body.</p>"""
    accept: NotRequired["str"]
    """<p>The desired MIME type of the inference body in the response.</p>"""
    model_package_arn: NotRequired["str"]
    """<p>The ARN of the model package whose checkpoint to invoke.</p>"""
    body: NotRequired[
        "capo_sagemakertrainingsessionruntime.types.inference_body.InferenceBody"
    ]
    """<p>The raw inference request body.</p>"""

accept instance-attribute

accept: NotRequired[str]

The desired MIME type of the inference body in the response.

body instance-attribute

body: NotRequired[InferenceBody]

The raw inference request body.

content_type instance-attribute

content_type: NotRequired[str]

The MIME type of the input data in the request body.

model_package_arn instance-attribute

model_package_arn: NotRequired[str]

The ARN of the model package whose checkpoint to invoke.

training_session_name instance-attribute

training_session_name: TrainingSessionName

The name of the training session whose model to invoke.