@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SagemakerEdgeClient extends AwsClient
builder()
method.
SageMaker Edge Manager dataplane service for communicating with active agents.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static SagemakerEdgeClientBuilder |
builder()
Create a builder that can be used to configure and create a
SagemakerEdgeClient. |
static SagemakerEdgeClient |
create()
Create a
SagemakerEdgeClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default GetDeploymentsResponse |
getDeployments(Consumer<GetDeploymentsRequest.Builder> getDeploymentsRequest)
Use to get the active deployments from a device.
|
default GetDeploymentsResponse |
getDeployments(GetDeploymentsRequest getDeploymentsRequest)
Use to get the active deployments from a device.
|
default GetDeviceRegistrationResponse |
getDeviceRegistration(Consumer<GetDeviceRegistrationRequest.Builder> getDeviceRegistrationRequest)
Use to check if a device is registered with SageMaker Edge Manager.
|
default GetDeviceRegistrationResponse |
getDeviceRegistration(GetDeviceRegistrationRequest getDeviceRegistrationRequest)
Use to check if a device is registered with SageMaker Edge Manager.
|
default SendHeartbeatResponse |
sendHeartbeat(Consumer<SendHeartbeatRequest.Builder> sendHeartbeatRequest)
Use to get the current status of devices registered on SageMaker Edge Manager.
|
default SendHeartbeatResponse |
sendHeartbeat(SendHeartbeatRequest sendHeartbeatRequest)
Use to get the current status of devices registered on SageMaker Edge Manager.
|
default SagemakerEdgeServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default GetDeploymentsResponse getDeployments(GetDeploymentsRequest getDeploymentsRequest) throws InternalServiceException, AwsServiceException, SdkClientException, SagemakerEdgeException
Use to get the active deployments from a device.
getDeploymentsRequest - InternalServiceException - An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web
Services customer support.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SagemakerEdgeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentsResponse getDeployments(Consumer<GetDeploymentsRequest.Builder> getDeploymentsRequest) throws InternalServiceException, AwsServiceException, SdkClientException, SagemakerEdgeException
Use to get the active deployments from a device.
This is a convenience which creates an instance of the GetDeploymentsRequest.Builder avoiding the need to
create one manually via GetDeploymentsRequest.builder()
getDeploymentsRequest - A Consumer that will call methods on
GetDeploymentsRequest.Builder to create a
request.InternalServiceException - An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web
Services customer support.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SagemakerEdgeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeviceRegistrationResponse getDeviceRegistration(GetDeviceRegistrationRequest getDeviceRegistrationRequest) throws InternalServiceException, AwsServiceException, SdkClientException, SagemakerEdgeException
Use to check if a device is registered with SageMaker Edge Manager.
getDeviceRegistrationRequest - InternalServiceException - An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web
Services customer support.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SagemakerEdgeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeviceRegistrationResponse getDeviceRegistration(Consumer<GetDeviceRegistrationRequest.Builder> getDeviceRegistrationRequest) throws InternalServiceException, AwsServiceException, SdkClientException, SagemakerEdgeException
Use to check if a device is registered with SageMaker Edge Manager.
This is a convenience which creates an instance of the GetDeviceRegistrationRequest.Builder avoiding the
need to create one manually via GetDeviceRegistrationRequest.builder()
getDeviceRegistrationRequest - A Consumer that will call methods on
GetDeviceRegistrationRequest.Builder to create
a request.InternalServiceException - An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web
Services customer support.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SagemakerEdgeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SendHeartbeatResponse sendHeartbeat(SendHeartbeatRequest sendHeartbeatRequest) throws InternalServiceException, AwsServiceException, SdkClientException, SagemakerEdgeException
Use to get the current status of devices registered on SageMaker Edge Manager.
sendHeartbeatRequest - InternalServiceException - An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web
Services customer support.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SagemakerEdgeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SendHeartbeatResponse sendHeartbeat(Consumer<SendHeartbeatRequest.Builder> sendHeartbeatRequest) throws InternalServiceException, AwsServiceException, SdkClientException, SagemakerEdgeException
Use to get the current status of devices registered on SageMaker Edge Manager.
This is a convenience which creates an instance of the SendHeartbeatRequest.Builder avoiding the need to
create one manually via SendHeartbeatRequest.builder()
sendHeartbeatRequest - A Consumer that will call methods on
SendHeartbeatRequest.Builder to create a
request.InternalServiceException - An internal failure occurred. Try your request again. If the problem persists, contact Amazon Web
Services customer support.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SagemakerEdgeException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic SagemakerEdgeClient create()
SagemakerEdgeClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SagemakerEdgeClientBuilder builder()
SagemakerEdgeClient.static ServiceMetadata serviceMetadata()
default SagemakerEdgeServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.