| Package | Description |
|---|---|
| software.amazon.awssdk.services.sagemakerruntime |
The Amazon SageMaker runtime API.
|
| software.amazon.awssdk.services.sagemakerruntime.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<Void> |
SageMakerRuntimeAsyncClient.invokeEndpointWithResponseStream(Consumer<InvokeEndpointWithResponseStreamRequest.Builder> invokeEndpointWithResponseStreamRequest,
InvokeEndpointWithResponseStreamResponseHandler asyncResponseHandler)
Invokes a model at the specified endpoint to return the inference response as a stream.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.accept(String accept)
The desired MIME type of the inference response from the model container.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.body(SdkBytes body)
Provides input data, in the format specified in the
ContentType request header. |
static InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.builder() |
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.contentType(String contentType)
The MIME type of the input data in the request body.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.customAttributes(String customAttributes)
Provides additional information about a request for an inference submitted to a model hosted at an Amazon
SageMaker endpoint.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.endpointName(String endpointName)
The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.inferenceId(String inferenceId)
An identifier that you assign to your request.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.targetContainerHostname(String targetContainerHostname)
If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter
specifies the host name of the container to invoke.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.Builder.targetVariant(String targetVariant)
Specify the production variant to send the inference request to when invoking an endpoint that is running two
or more variants.
|
InvokeEndpointWithResponseStreamRequest.Builder |
InvokeEndpointWithResponseStreamRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends InvokeEndpointWithResponseStreamRequest.Builder> |
InvokeEndpointWithResponseStreamRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.