@Generated(value="software.amazon.awssdk:codegen") public final class InvokeEndpointAsyncRequest extends SageMakerRuntimeRequest implements ToCopyableBuilder<InvokeEndpointAsyncRequest.Builder,InvokeEndpointAsyncRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvokeEndpointAsyncRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accept()
The desired MIME type of the inference in the response.
|
static InvokeEndpointAsyncRequest.Builder |
builder() |
String |
contentType()
The MIME type of the input data in the request body.
|
String |
customAttributes()
Provides additional information about a request for an inference submitted to a model hosted at an Amazon
SageMaker endpoint.
|
String |
endpointName()
The name of the endpoint that you specified when you created the endpoint using the
CreateEndpoint API. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inferenceId()
The identifier for the inference request.
|
String |
inputLocation()
The Amazon S3 URI where the inference request payload is stored.
|
Integer |
invocationTimeoutSeconds()
Maximum amount of time in seconds a request can be processed before it is marked as expired.
|
Integer |
requestTTLSeconds()
Maximum age in seconds a request can be in the queue before it is marked as expired.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvokeEndpointAsyncRequest.Builder> |
serializableBuilderClass() |
InvokeEndpointAsyncRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointName()
The name of the endpoint that you specified when you created the endpoint using the
CreateEndpoint API.
CreateEndpoint API.public final String contentType()
The MIME type of the input data in the request body.
public final String accept()
The desired MIME type of the inference in the response.
public final String customAttributes()
Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1).
The code in your model is responsible for setting or updating any custom attributes in the response. If your code
does not set this value in the response, an empty value is returned. For example, if a custom attribute
represents the trace ID, your model can prepend the custom attribute with Trace ID: in your
post-processing function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
The code in your model is responsible for setting or updating any custom attributes in the response. If
your code does not set this value in the response, an empty value is returned. For example, if a custom
attribute represents the trace ID, your model can prepend the custom attribute with Trace ID
: in your post-processing function.
This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
public final String inferenceId()
The identifier for the inference request. Amazon SageMaker will generate an identifier for you if none is specified.
public final String inputLocation()
The Amazon S3 URI where the inference request payload is stored.
public final Integer requestTTLSeconds()
Maximum age in seconds a request can be in the queue before it is marked as expired.
public final Integer invocationTimeoutSeconds()
Maximum amount of time in seconds a request can be processed before it is marked as expired.
public InvokeEndpointAsyncRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InvokeEndpointAsyncRequest.Builder,InvokeEndpointAsyncRequest>toBuilder in class SageMakerRuntimeRequestpublic static InvokeEndpointAsyncRequest.Builder builder()
public static Class<? extends InvokeEndpointAsyncRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.