| 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 InvokeEndpointResponse |
SageMakerRuntimeClient.invokeEndpoint(Consumer<InvokeEndpointRequest.Builder> invokeEndpointRequest)
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.
|
default CompletableFuture<InvokeEndpointResponse> |
SageMakerRuntimeAsyncClient.invokeEndpoint(Consumer<InvokeEndpointRequest.Builder> invokeEndpointRequest)
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.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.accept(String accept)
The desired MIME type of the inference response from the model container.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.body(SdkBytes body)
Provides input data, in the format specified in the
ContentType request header. |
static InvokeEndpointRequest.Builder |
InvokeEndpointRequest.builder() |
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.contentType(String contentType)
The MIME type of the input data in the request body.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.customAttributes(String customAttributes)
Provides additional information about a request for an inference submitted to a model hosted at an Amazon
SageMaker endpoint.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.enableExplanations(String enableExplanations)
An optional JMESPath expression used to override the
EnableExplanations parameter of the
ClarifyExplainerConfig API. |
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.endpointName(String endpointName)
The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.inferenceId(String inferenceId)
If you provide a value, it is added to the captured data when you enable data capture on the endpoint.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.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.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.Builder.targetModel(String targetModel)
The model to request for inference when invoking a multi-model endpoint.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.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.
|
InvokeEndpointRequest.Builder |
InvokeEndpointRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends InvokeEndpointRequest.Builder> |
InvokeEndpointRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.