package
1.55.6
Repository: https://github.com/aws/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package sagemakerruntimeiface provides an interface to enable mocking the Amazon SageMaker Runtime service client for testing your code.

# Functions

New creates a new instance of the SageMakerRuntime client with a session.
NewInvokeEndpointWithResponseStreamEventStream initializes an InvokeEndpointWithResponseStreamEventStream.

# Constants

ID to lookup a service endpoint with.
ErrCodeInternalDependencyException for service response error code "InternalDependencyException".
ErrCodeInternalFailure for service response error code "InternalFailure".
ErrCodeInternalStreamFailure for service response error code "InternalStreamFailure".
ErrCodeModelError for service response error code "ModelError".
ErrCodeModelNotReadyException for service response error code "ModelNotReadyException".
ErrCodeModelStreamError for service response error code "ModelStreamError".
ErrCodeServiceUnavailable for service response error code "ServiceUnavailable".
ErrCodeValidationError for service response error code "ValidationError".
ServiceID is a unique identifier of a specific service.
Name of service.

# Structs

Your request caused an exception with an internal dependency.
An internal failure occurred.
The stream processing failed because of an unknown error, exception or failure.
InvokeEndpointWithResponseStreamEventStream provides the event stream handling for the InvokeEndpointWithResponseStream.
Model (owned by the customer in the container) returned 4xx or 5xx error code.
Either a serverless endpoint variant's resources are still being provisioned, or a multi-model endpoint is still downloading or loading the target model.
An error occurred while streaming the response body.
A wrapper for pieces of the payload that's returned in response to a streaming inference request.
ResponseStreamUnknownEvent provides a failsafe event for the ResponseStream group of events when an unknown event is received.
SageMakerRuntime provides the API operation methods for making requests to Amazon SageMaker Runtime.
The service is unavailable.
Inspect your request and try again.

# Interfaces

ResponseStreamEvent groups together all EventStream events writes for ResponseStream.
ResponseStreamReader provides the interface for reading to the stream.