Files

4 lines
11 KiB
PHP
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
<?php
// This file was auto-generated from sdk-root/src/data/runtime.sagemaker/2017-05-13/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2017-05-13', 'endpointPrefix' => 'runtime.sagemaker', 'jsonVersion' => '1.1', 'protocol' => 'rest-json', 'serviceFullName' => 'Amazon SageMaker Runtime', 'serviceId' => 'SageMaker Runtime', 'signatureVersion' => 'v4', 'signingName' => 'sagemaker', 'uid' => 'runtime.sagemaker-2017-05-13', ], 'operations' => [ 'InvokeEndpoint' => [ 'name' => 'InvokeEndpoint', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/invocations', ], 'input' => [ 'shape' => 'InvokeEndpointInput', ], 'output' => [ 'shape' => 'InvokeEndpointOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], [ 'shape' => 'ModelError', ], [ 'shape' => 'InternalDependencyException', ], [ 'shape' => 'ModelNotReadyException', ], ], ], 'InvokeEndpointAsync' => [ 'name' => 'InvokeEndpointAsync', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/async-invocations', 'responseCode' => 202, ], 'input' => [ 'shape' => 'InvokeEndpointAsyncInput', ], 'output' => [ 'shape' => 'InvokeEndpointAsyncOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], ], ], 'InvokeEndpointWithResponseStream' => [ 'name' => 'InvokeEndpointWithResponseStream', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/invocations-response-stream', ], 'input' => [ 'shape' => 'InvokeEndpointWithResponseStreamInput', ], 'output' => [ 'shape' => 'InvokeEndpointWithResponseStreamOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], [ 'shape' => 'ModelError', ], [ 'shape' => 'ModelStreamError', ], [ 'shape' => 'InternalStreamFailure', ], ], ], ], 'shapes' => [ 'BodyBlob' => [ 'type' => 'blob', 'max' => 6291456, 'sensitive' => true, ], 'CustomAttributesHeader' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '\\p{ASCII}*', 'sensitive' => true, ], 'EnableExplanationsHeader' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '.*', ], 'EndpointName' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'ErrorCode' => [ 'type' => 'string', ], 'Header' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '\\p{ASCII}*', ], 'InferenceComponentHeader' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9]([\\-a-zA-Z0-9]*[a-zA-Z0-9])?$', ], 'InferenceId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '\\A\\S[\\p{Print}]*\\z', ], 'InputLocationHeader' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '^(https|s3)://([^/]+)/?(.*)$', ], 'InternalDependencyException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 530, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InternalFailure' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InternalStreamFailure' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InvocationTimeoutSecondsHeader' => [ 'type' => 'integer', 'max' => 3600, 'min' => 1, ], 'InvokeEndpointAsyncInput' => [ 'type' => 'structure', 'required' => [ 'EndpointName', 'InputLocation', ], 'members' => [ 'EndpointName' => [ 'shape' => 'EndpointName', 'location' => 'uri', 'locationName' => 'EndpointName', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Content-Type', ], 'Accept' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Accept', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], 'InferenceId' => [ 'shape' => 'InferenceId', 'location' => 'header', 'locati