@Generated(value="software.amazon.awssdk:codegen") public interface SageMakerRuntimeAsyncClient extends SdkClient
builder()
method.
The Amazon SageMaker runtime API.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static SageMakerRuntimeAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SageMakerRuntimeAsyncClient . |
static SageMakerRuntimeAsyncClient |
create()
Create a
SageMakerRuntimeAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<InvokeEndpointResponse> |
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> |
invokeEndpoint(InvokeEndpointRequest 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.
|
serviceName
close
static final String SERVICE_NAME
static SageMakerRuntimeAsyncClient create()
SageMakerRuntimeAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static SageMakerRuntimeAsyncClientBuilder builder()
SageMakerRuntimeAsyncClient
.default CompletableFuture<InvokeEndpointResponse> invokeEndpoint(InvokeEndpointRequest 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.
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.
Cals to InvokeEndpoint
are authenticated by using AWS Signature Version 4. For information, see Authenticating Requests
(AWS Signature Version 4) in the Amazon S3 API Reference.
Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker determines the account ID from the authentication token that is supplied by the caller.
invokeEndpointRequest
- default CompletableFuture<InvokeEndpointResponse> 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.
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.
Cals to InvokeEndpoint
are authenticated by using AWS Signature Version 4. For information, see Authenticating Requests
(AWS Signature Version 4) in the Amazon S3 API Reference.
Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but Amazon SageMaker determines the account ID from the authentication token that is supplied by the caller.
This is a convenience which creates an instance of the InvokeEndpointRequest.Builder
avoiding the need to
create one manually via InvokeEndpointRequest.builder()
invokeEndpointRequest
- A Consumer
that will call methods on InvokeEndpointInput.Builder
to create a request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.