public final class SageMaker
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SageMaker.Builder
A Builder to construct a
SageMaker. |
| Modifier and Type | Method and Description |
|---|---|
static SageMaker.Builder |
builder()
Creates a builder to build a
SageMaker instance. |
void |
deleteEndpoint()
Deletes the Amazon SageMaker endpoint.
|
void |
deleteEndpointConfig()
Deletes the endpoint configuration.
|
void |
deleteSageMakerModel()
Deletes the SageMaker model configuration.
|
void |
deploy()
Deploys the model to Amazon SageMaker hosting service.
|
byte[] |
invoke(byte[] body)
Invokes the Amazon SageMaker endpoint.
|
public void deploy()
throws java.io.IOException
java.io.IOException - if failed upload model to S3public void deleteEndpoint()
public void deleteEndpointConfig()
public void deleteSageMakerModel()
public byte[] invoke(byte[] body)
body - the request payloadpublic static SageMaker.Builder builder()
SageMaker instance.