-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon SageMaker Runtime SDK. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- Lenses are used for constructing and manipulating types, due to the -- depth of nesting of AWS types and transparency regarding -- de/serialisation into more palatable Haskell values. The provided -- lenses should be compatible with any of the major lens libraries such -- as lens or lens-family-core. -- -- See Network.AWS.SageMakerRuntime or the AWS -- documentation to get started. @package amazonka-sagemaker-runtime @version 1.6.0 module Network.AWS.SageMakerRuntime.Types -- | API version 2017-05-13 of the Amazon SageMaker Runtime SDK -- configuration. sageMakerRuntime :: Service -- | Service is unavailable. Try your call again. _ServiceUnavailable :: AsError a => Getting (First ServiceError) a ServiceError -- | Model (owned by the customer in the container) returned an error 500. _ModelError :: AsError a => Getting (First ServiceError) a ServiceError -- | Internal failure occurred. _InternalFailure :: AsError a => Getting (First ServiceError) a ServiceError -- | Inspect your request and try again. _ValidationError :: AsError a => Getting (First ServiceError) a ServiceError -- | After you deploy a model into production using Amazon SageMaker -- hosting services, your client applications use this API to get -- inferences from the model hosted at the specified endpoint. -- -- For an overview of Amazon SageMaker, see How It Works -- -- Amazon SageMaker strips all POST headers except those supported by the -- API. Amazon SageMaker might add additional headers. You should not -- rely on the behavior of headers outside those enumerated in the -- request syntax. module Network.AWS.SageMakerRuntime.InvokeEndpoint -- | Creates a value of InvokeEndpoint with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invokeEndpoint :: Text -> ByteString -> InvokeEndpoint -- | See: invokeEndpoint smart constructor. data InvokeEndpoint -- | The desired MIME type of the inference in the response. ieAccept :: Lens' InvokeEndpoint (Maybe Text) -- | The MIME type of the input data in the request body. ieContentType :: Lens' InvokeEndpoint (Maybe Text) -- | The name of the endpoint that you specified when you created the -- endpoint using the CreateEndpoint API. ieEndpointName :: Lens' InvokeEndpoint Text -- | Provides input data, in the format specified in the -- ContentType request header. Amazon SageMaker passes all of -- the data in the body to the model. ieBody :: Lens' InvokeEndpoint ByteString -- | Creates a value of InvokeEndpointResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- invokeEndpointResponse :: Int -> ByteString -> InvokeEndpointResponse -- | See: invokeEndpointResponse smart constructor. data InvokeEndpointResponse -- | Identifies the production variant that was invoked. iersInvokedProductionVariant :: Lens' InvokeEndpointResponse (Maybe Text) -- | The MIME type of the inference returned in the response body. iersContentType :: Lens' InvokeEndpointResponse (Maybe Text) -- | iersResponseStatus :: Lens' InvokeEndpointResponse Int -- | Includes the inference provided by the model. iersBody :: Lens' InvokeEndpointResponse ByteString instance GHC.Generics.Generic Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpointResponse instance Data.Data.Data Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpointResponse instance GHC.Show.Show Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpointResponse instance GHC.Read.Read Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpointResponse instance GHC.Classes.Eq Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpointResponse instance GHC.Generics.Generic Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Data.Data.Data Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance GHC.Show.Show Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance GHC.Read.Read Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance GHC.Classes.Eq Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Network.AWS.Types.AWSRequest Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Control.DeepSeq.NFData Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpointResponse instance Data.Hashable.Class.Hashable Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Control.DeepSeq.NFData Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Network.AWS.Data.Body.ToBody Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Network.AWS.Data.Headers.ToHeaders Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Network.AWS.Data.Path.ToPath Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint instance Network.AWS.Data.Query.ToQuery Network.AWS.SageMakerRuntime.InvokeEndpoint.InvokeEndpoint module Network.AWS.SageMakerRuntime.Waiters -- | Amazon SageMaker runtime API. module Network.AWS.SageMakerRuntime -- | API version 2017-05-13 of the Amazon SageMaker Runtime SDK -- configuration. sageMakerRuntime :: Service -- | Service is unavailable. Try your call again. _ServiceUnavailable :: AsError a => Getting (First ServiceError) a ServiceError -- | Model (owned by the customer in the container) returned an error 500. _ModelError :: AsError a => Getting (First ServiceError) a ServiceError -- | Internal failure occurred. _InternalFailure :: AsError a => Getting (First ServiceError) a ServiceError -- | Inspect your request and try again. _ValidationError :: AsError a => Getting (First ServiceError) a ServiceError