<?php
// This file was auto-generated from sdk-root/src/data/sagemakertrainingsessionruntime/2025-02-10/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2025-02-10', 'auth' => [ 'aws.auth#sigv4', ], 'endpointPrefix' => 'training-session-runtime.sagemaker', 'protocol' => 'rest-json', 'protocolSettings' => [ 'h2' => 'optional', ], 'protocols' => [ 'rest-json', ], 'serviceFullName' => 'SageMaker Training Session Runtime', 'serviceId' => 'SageMakerTrainingSessionRuntime', 'signatureVersion' => 'v4', 'signingName' => 'sagemaker', 'uid' => 'sagemakertrainingsessionruntime-2025-02-10', ], 'operations' => [ 'ExecuteSamplingOperation' => [ 'name' => 'ExecuteSamplingOperation', 'http' => [ 'method' => 'POST', 'requestUri' => '/v1/training-sessions/{trainingSessionName}/sampling-operations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ExecuteSamplingOperationInput', ], 'output' => [ 'shape' => 'ExecuteSamplingOperationOutput', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], ], ], 'ExecuteTrainingOperation' => [ 'name' => 'ExecuteTrainingOperation', 'http' => [ 'method' => 'POST', 'requestUri' => '/v1/training-sessions/{trainingSessionName}/operations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ExecuteTrainingOperationInput', ], 'output' => [ 'shape' => 'ExecuteTrainingOperationOutput', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], ], ], 'GetSamplingOperationResult' => [ 'name' => 'GetSamplingOperationResult', 'http' => [ 'method' => 'GET', 'requestUri' => '/v1/training-sessions/{trainingSessionName}/sampling-operations/{operationId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetSamplingOperationResultInput', ], 'output' => [ 'shape' => 'GetSamplingOperationResultOutput', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], ], 'readonly' => true, ], 'GetTrainingOperationResult' => [ 'name' => 'GetTrainingOperationResult', 'http' => [ 'method' => 'GET', 'requestUri' => '/v1/training-sessions/{trainingSessionName}/operations/{operationId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetTrainingOperationResultInput', ], 'output' => [ 'shape' => 'GetTrainingOperationResultOutput', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], ], 'readonly' => true, ], 'SampleTrainingSession' => [ 'name' => 'SampleTrainingSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/training-sessions/{trainingSessionName}/sample', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SampleTrainingSessionInput', ], 'output' => [ 'shape' => 'SampleTrainingSessionOutput', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], ], ], 'SampleTrainingSessionWithResponseStream' => [ 'name' => 'SampleTrainingSessionWithResponseStream', 'http' => [ 'method' => 'POST', 'requestUri' => '/training-sessions/{trainingSessionName}/sample-with-response-stream', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SampleTrainingSessionWithResponseStreamInput', ], 'output' => [ 'shape' => 'SampleTrainingSessionWithResponseStreamOutput', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], ], ], ], 'shapes' => [ 'AdamParamsConfig' => [ 'type' => 'structure', 'required' => [ 'learningRate', ], 'members' => [ 'learningRate' => [ 'shape' => 'AdamParamsConfigLearningRateDouble', ], 'beta1' => [ 'shape' => 'AdamParamsConfigBeta1Double', ], 'beta2' => [ 'shape' => 'AdamParamsConfigBeta2Double', ], 'eps' => [ 'shape' => 'AdamParamsConfigEpsDouble', ], 'weightDecay' => [ 'shape' => 'AdamParamsConfigWeightDecayDouble', ], 'gradClipNorm' => [ 'shape' => 'AdamParamsConfigGradClipNormDouble', ], 'loraPlusLrRatio' => [ 'shape' => 'AdamParamsConfigLoraPlusLrRatioDouble', ], ], ], 'AdamParamsConfigBeta1Double' => [ 'type' => 'double', 'box' => true, 'max' => 0.999999, 'min' => 0, ], 'AdamParamsConfigBeta2Double' => [ 'type' => 'double', 'box' => true, 'max' => 0.999999, 'min' => 0, ], 'AdamParamsConfigEpsDouble' => [ 'type' => 'double', 'box' => true, 'max' => 0.01, 'min' => 1.0E-16, ], 'AdamParamsConfigGradClipNormDouble' => [ 'type' => 'double', 'box' => true, 'max' => 100, 'min' => 0, ], 'AdamParamsConfigLearningRateDouble' => [ 'type' => 'double', 'box' => true, 'max' => 0.01, 'min' => 0, ], 'AdamParamsConfigLoraPlusLrRatioDouble' => [ 'type' => 'double', 'box' => true, 'max' => 100.0, 'min' => 1.0, ], 'AdamParamsConfigWeightDecayDouble' => [ 'type' => 'double', 'box' => true, 'max' => 1, 'min' => 0, ], 'Boolean' => [ 'type' => 'boolean', 'box' => true, ], 'ClientToken' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '[a-zA-Z0-9-]+', ], 'ComputeLogprobsConfig' => [ 'type' => 'structure', 'required' => [ 'prompt', ], 'members' => [ 'prompt' => [ 'shape' => 'ModelInput', ], 'modelPackageArn' => [ 'shape' => 'String', ], ], ], 'ComputeLogprobsResult' => [ 'type' => 'structure', 'required' => [ 'logprobs', ], 'members' => [ 'logprobs' => [ 'shape' => 'DoubleList', ], ], ], 'ConflictException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 409, 'senderFault' => true, ], 'exception' => true, ], 'Datum' => [ 'type' => 'structure', 'required' => [ 'modelInput', ], 'members' => [ 'modelInput' => [ 'shape' => 'ModelInput', ], 'lossFnInputs' => [ 'shape' => 'TensorDataMap', ], ], 'sensitive' => true, ], 'DatumList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Datum', ], ], 'Document' => [ 'type' => 'structure', 'members' => [], 'document' => true, ], 'Double' => [ 'type' => 'double', 'box' => true, ], 'DoubleList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Double', ], ], 'EncodedTextChunk' => [ 'type' => 'structure', 'required' => [ 'tokens', 'type', ], 'members' => [ 'tokens' => [ 'shape' => 'IntegerList', ], 'type' => [ 'shape' => 'EncodedTextChunkType', ], ], ], 'EncodedTextChunkList' => [ 'type' => 'list', 'member' => [ 'shape' => 'EncodedTextChunk', ], ], 'EncodedTextChunkType' => [ 'type' => 'string', 'enum' => [ 'encoded_text', ], ], 'ExecuteSamplingOperationInput' => [ 'type' => 'structure', 'required' => [ 'trainingSessionName', 'operationConfig', ], 'members' => [ 'trainingSessionName' => [ 'shape' => 'TrainingSessionName', 'location' => 'uri', 'locationName' => 'trainingSessionName', ], 'operationConfig' => [ 'shape' => 'SampleOperationConfig', ], ], ], 'ExecuteSamplingOperationOutput' => [ 'type' => 'structure', 'required' => [ 'operationId', ], 'members' => [ 'operationId' => [ 'shape' => 'OperationId', ], ], ], 'ExecuteTrainingOperationInput' => [ 'type' => 'structure', 'required' => [ 'trainingSessionName', 'sequenceNumber', 'operationConfig', ], 'members' => [ 'trainingSessionName' => [ 'shape' => 'TrainingSessionName', 'location' => 'uri', 'locationName' => 'trainingSessionName', ], 'sequenceNumber' => [ 'shape' => 'SequenceNumber', ], 'clientToken' => [ 'shape' => 'ClientToken', ], 'operationConfig' => [ 'shape' => 'OperationConfig', ], ], ], 'ExecuteTrainingOperationOutput' => [ 'type' => 'structure', 'required' => [ 'operationId', ], 'members' => [ 'operationId' => [ 'shape' => 'OperationId', ], ], ], 'ForwardBackwardConfig' => [ 'type' => 'structure', 'required' => [ 'lossFnName', 'datumList', ], 'members' => [ 'lossFnName' => [ 'shape' => 'LossFnName', ], 'datumList' => [ 'shape' => 'DatumList', ], 'lossFnConfig' => [ 'shape' => 'Document', ], ], ], 'ForwardBackwardResult' => [ 'type' => 'structure', 'members' => [ 'lossFnOutputType' => [ 'shape' => 'String', ], 'lossFnOutputs' => [ 'shape' => 'TensorDataMapList', ], 'metrics' => [ 'shape' => 'MetricsMap', ], 'tokenUsage' => [ 'shape' => 'TrainingTokenUsage', ], ], ], 'ForwardConfig' => [ 'type' => 'structure', 'required' => [ 'lossFnName', 'datumList', ], 'members' => [ 'lossFnName' => [ 'shape' => 'LossFnName', ], 'datumList' => [ 'shape' => 'DatumList', ], 'lossFnConfig' => [ 'shape' => 'Document', ], ], ], 'ForwardResult' => [ 'type' => 'structure', 'members' => [ 'lossFnOutputType' => [ 'shape' => 'String', ], 'lossFnOutputs' => [ 'shape' => 'TensorDataMapList', ], 'metrics' => [ 'shape' => 'MetricsMap', ], 'tokenUsage' => [ 'shape' => 'TrainingTokenUsage', ], ], ], 'GetSamplingOperationResultInput' => [ 'type' => 'structure', 'required' => [ 'trainingSessionName', 'operationId', ], 'members' => [ 'trainingSessionName' => [ 'shape' => 'TrainingSessionName', 'location' => 'uri', 'locationName' => 'trainingSessionName', ], 'operationId' => [ 'shape' => 'OperationId', 'location' => 'uri', 'locationName' => 'operationId', ], ], ], 'GetSamplingOperationResultOutput' => [ 'type' => 'structure', 'required' => [ 'status', ], 'members' => [ 'status' => [ 'shape' => 'RequestStatus', ], 'operationResult' => [ 'shape' => 'SampleOperationResult', ], 'errorDetails' => [ 'shape' => 'String', ], ], ], 'GetTrainingOperationResultInput' => [ 'type' => 'structure', 'required' => [ 'trainingSessionName', 'operationId', ], 'members' => [ 'trainingSessionName' => [ 'shape' => 'TrainingSessionName', 'location' => 'uri', 'locationName' => 'trainingSessionName', ], 'operationId' => [ 'shape' => 'OperationId', 'location' => 'uri', 'locationName' => 'operationId', ], ], ], 'GetTrainingOperationResultOutput' => [ 'type' => 'structure', 'required' => [ 'status', ], 'members' => [ 'status' => [ 'shape' => 'RequestStatus', ], 'operationResult' => [ 'shape' => 'OperationResult', ], 'errorDetails' => [ 'shape' => 'String', ], 'tokenUsage' => [ 'shape' => 'TrainingTokenUsage', ], ], ], 'InferenceBody' => [ 'type' => 'blob', 'sensitive' => true, ], 'Integer' => [ 'type' => 'integer', 'box' => true, ], 'IntegerList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Integer', ], ], 'InternalServerException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'LoadStateConfig' => [ 'type' => 'structure', 'required' => [ 'modelPackageArn', 'loadOptimizer', ], 'members' => [ 'modelPackageArn' => [ 'shape' => 'String', ], 'loadOptimizer' => [ 'shape' => 'Boolean', ], ], ], 'LoadStateResult' => [ 'type' => 'structure', 'members' => [], ], 'LoadWeightsForSamplingConfig' => [ 'type' => 'structure', 'required' => [ 'modelPackageArn', ], 'members' => [ 'modelPackageArn' => [ 'shape' => 'String', ], ], ], 'LoadWeightsForSamplingResult' => [ 'type' => 'structure', 'members' => [], ], 'LossFnName' => [ 'type' => 'string', 'enum' => [ 'cross_entropy', 'importance_sampling', 'ppo', 'cispo', ], ], 'MetricsMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'Double', ], ], 'ModelInput' => [ 'type' => 'structure', 'required' => [ 'chunks', ], 'members' => [ 'chunks' => [ 'shape' => 'EncodedTextChunkList', ], ], 'sensitive' => true, ], 'OperationConfig' => [ 'type' => 'structure', 'members' => [ 'forward' => [ 'shape' => 'ForwardConfig', ], 'forwardBackward' => [ 'shape' => 'ForwardBackwardConfig', ], 'optimizerStep' => [ 'shape' => 'OptimizerStepConfig', ], 'saveWeights' => [ 'shape' => 'SaveWeightsConfig', ], 'saveState' => [ 'shape' => 'SaveStateConfig', ], 'loadState' => [ 'shape' => 'LoadStateConfig', ], ], 'union' => true, ], 'OperationId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '[a-zA-Z0-9-]+', ], 'OperationResult' => [ 'type' => 'structure', 'members' => [ 'forward' => [ 'shape' => 'ForwardResult', ], 'forwardBackward' => [ 'shape' => 'ForwardBackwardResult', ], 'optimizerStep' => [ 'shape' => 'OptimizerStepResult', ], 'saveWeights' => [ 'shape' => 'SaveWeightsResult', ], 'saveState' => [ 'shape' => 'SaveStateResult', ], 'loadState' => [ 'shape' => 'LoadStateResult', ], ], 'union' => true, ], 'OptimizerStepConfig' => [ 'type' => 'structure', 'required' => [ 'adamParamsConfig', ], 'members' => [ 'adamParamsConfig' => [ 'shape' => 'AdamParamsConfig', ], ], ], 'OptimizerStepResult' => [ 'type' => 'structure', 'members' => [ 'metrics' => [ 'shape' => 'MetricsMap', ], ], ], 'RequestStatus' => [ 'type' => 'string', 'enum' => [ 'Pending', 'InProgress', 'Completed', 'Failed', 'Skipped', ], ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'SampleConfig' => [ 'type' => 'structure', 'required' => [ 'prompt', 'numSamples', 'samplingParams', ], 'members' => [ 'prompt' => [ 'shape' => 'ModelInput', ], 'numSamples' => [ 'shape' => 'SampleConfigNumSamplesInteger', ], 'samplingParams' => [ 'shape' => 'SamplingParams', ], 'includePromptLogprobs' => [ 'shape' => 'Boolean', ], 'topkPromptLogprobs' => [ 'shape' => 'Integer', ], 'modelPackageArn' => [ 'shape' => 'String', ], ], ], 'SampleConfigNumSamplesInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 1000, 'min' => 1, ], 'SampleOperationConfig' => [ 'type' => 'structure', 'members' => [ 'sample' => [ 'shape' => 'SampleConfig', ], 'computeLogprobs' => [ 'shape' => 'ComputeLogprobsConfig', ], 'loadWeightsForSampling' => [ 'shape' => 'LoadWeightsForSamplingConfig', ], ], 'union' => true, ], 'SampleOperationResult' => [ 'type' => 'structure', 'members' => [ 'sample' => [ 'shape' => 'SampleResponse', ], 'computeLogprobs' => [ 'shape' => 'ComputeLogprobsResult', ], 'loadWeightsForSampling' => [ 'shape' => 'LoadWeightsForSamplingResult', ], ], 'union' => true, ], 'SampleResponse' => [ 'type' => 'structure', 'required' => [ 'sequences', ], 'members' => [ 'sequences' => [ 'shape' => 'SampledSequenceList', ], 'promptLogprobs' => [ 'shape' => 'DoubleList', ], 'topkPromptLogprobs' => [ 'shape' => 'TopkPromptLogprobsList', ], ], 'sensitive' => true, ], 'SampleResponseStream' => [ 'type' => 'blob', 'sensitive' => true, 'streaming' => true, ], 'SampleTokenUsage' => [ 'type' => 'structure', 'required' => [ 'prefill', 'decode', ], 'members' => [ 'prefill' => [ 'shape' => 'Integer', ], 'decode' => [ 'shape' => 'Integer', ], ], ], 'SampleTrainingSessionInput' => [ 'type' => 'structure', 'required' => [ 'trainingSessionName', ], 'members' => [ 'trainingSessionName' => [ 'shape' => 'TrainingSessionName', 'location' => 'uri', 'locationName' => 'trainingSessionName', ], 'contentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'accept' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Accept', ], 'modelPackageArn' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Model-Package', ], 'body' => [ 'shape' => 'InferenceBody', ], ], 'payload' => 'body', ], 'SampleTrainingSessionOutput' => [ 'type' => 'structure', 'required' => [ 'body', ], 'members' => [ 'contentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'body' => [ 'shape' => 'InferenceBody', ], ], 'payload' => 'body', ], 'SampleTrainingSessionWithResponseStreamInput' => [ 'type' => 'structure', 'required' => [ 'trainingSessionName', ], 'members' => [ 'trainingSessionName' => [ 'shape' => 'TrainingSessionName', 'location' => 'uri', 'locationName' => 'trainingSessionName', ], 'contentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'accept' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Accept', ], 'modelPackageArn' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Model-Package', ], 'body' => [ 'shape' => 'InferenceBody', ], ], 'payload' => 'body', ], 'SampleTrainingSessionWithResponseStreamOutput' => [ 'type' => 'structure', 'required' => [ 'body', ], 'members' => [ 'contentType' => [ 'shape' => 'String', 'location' => 'header', 'locationName' => 'Content-Type', ], 'body' => [ 'shape' => 'SampleResponseStream', ], ], 'payload' => 'body', ], 'SampledSequence' => [ 'type' => 'structure', 'required' => [ 'stopReason', 'tokens', ], 'members' => [ 'stopReason' => [ 'shape' => 'StopReason', ], 'tokens' => [ 'shape' => 'IntegerList', ], 'logprobs' => [ 'shape' => 'DoubleList', ], 'tokenUsage' => [ 'shape' => 'SampleTokenUsage', ], ], ], 'SampledSequenceList' => [ 'type' => 'list', 'member' => [ 'shape' => 'SampledSequence', ], ], 'SamplingParams' => [ 'type' => 'structure', 'required' => [ 'maxTokens', ], 'members' => [ 'maxTokens' => [ 'shape' => 'SamplingParamsMaxTokensInteger', ], 'temperature' => [ 'shape' => 'SamplingParamsTemperatureDouble', ], 'topK' => [ 'shape' => 'Integer', ], 'topP' => [ 'shape' => 'SamplingParamsTopPDouble', ], 'seed' => [ 'shape' => 'Integer', ], 'stop' => [ 'shape' => 'StopSequenceList', ], ], ], 'SamplingParamsMaxTokensInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 131072, 'min' => 512, ], 'SamplingParamsTemperatureDouble' => [ 'type' => 'double', 'box' => true, 'max' => 2, 'min' => 0, ], 'SamplingParamsTopPDouble' => [ 'type' => 'double', 'box' => true, 'max' => 1, 'min' => 0, ], 'SaveStateConfig' => [ 'type' => 'structure', 'members' => [ 'description' => [ 'shape' => 'SaveStateConfigDescriptionString', ], ], ], 'SaveStateConfigDescriptionString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'SaveStateResult' => [ 'type' => 'structure', 'required' => [ 'modelPackageArn', ], 'members' => [ 'modelPackageArn' => [ 'shape' => 'String', ], ], ], 'SaveWeightsConfig' => [ 'type' => 'structure', 'members' => [ 'mergeWeights' => [ 'shape' => 'Boolean', ], 'description' => [ 'shape' => 'SaveWeightsConfigDescriptionString', ], ], ], 'SaveWeightsConfigDescriptionString' => [ 'type' => 'string', 'max' => 1024, 'min' => 0, ], 'SaveWeightsResult' => [ 'type' => 'structure', 'members' => [ 'modelPackageArn' => [ 'shape' => 'String', ], ], ], 'SequenceNumber' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'StopReason' => [ 'type' => 'string', 'enum' => [ 'stop', 'length', ], ], 'StopSequenceList' => [ 'type' => 'list', 'member' => [ 'shape' => 'String', ], ], 'String' => [ 'type' => 'string', ], 'TensorData' => [ 'type' => 'structure', 'required' => [ 'data', 'dtype', ], 'members' => [ 'data' => [ 'shape' => 'Document', ], 'dtype' => [ 'shape' => 'String', ], 'shape' => [ 'shape' => 'IntegerList', ], ], ], 'TensorDataMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'String', ], 'value' => [ 'shape' => 'TensorData', ], ], 'TensorDataMapList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TensorDataMap', ], ], 'ThrottlingException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 429, 'senderFault' => true, ], 'exception' => true, ], 'TokenLogprob' => [ 'type' => 'structure', 'required' => [ 'tokenId', 'logprob', ], 'members' => [ 'tokenId' => [ 'shape' => 'Integer', ], 'logprob' => [ 'shape' => 'Double', ], ], ], 'TokenLogprobList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TokenLogprob', ], ], 'TopkPromptLogprobsList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TokenLogprobList', ], ], 'TrainingSessionName' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '[a-zA-Z0-9-]+', ], 'TrainingTokenUsage' => [ 'type' => 'structure', 'members' => [ 'trainingTokens' => [ 'shape' => 'Integer', ], ], ], 'ValidationException' => [ 'type' => 'structure', 'required' => [ 'message', ], 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], ],];
