/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-edge-2020-09-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.SagemakerEdgeManager.Model;
namespace Amazon.SagemakerEdgeManager
{
///
/// Interface for accessing SagemakerEdgeManager
///
/// SageMaker Edge Manager dataplane service for communicating with active agents.
///
public partial interface IAmazonSagemakerEdgeManager : IAmazonService, IDisposable
{
#region GetDeployments
///
/// Use to get the active deployments from a device.
///
/// Container for the necessary parameters to execute the GetDeployments service method.
///
/// The response from the GetDeployments service method, as returned by SagemakerEdgeManager.
///
/// An internal failure occurred. Try your request again. If the problem persists, contact
/// Amazon Web Services customer support.
///
/// REST API Reference for GetDeployments Operation
GetDeploymentsResponse GetDeployments(GetDeploymentsRequest request);
///
/// Initiates the asynchronous execution of the GetDeployments operation.
///
///
/// Container for the necessary parameters to execute the GetDeployments operation on AmazonSagemakerEdgeManagerClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeployments
/// operation.
/// REST API Reference for GetDeployments Operation
IAsyncResult BeginGetDeployments(GetDeploymentsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetDeployments operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDeployments.
///
/// Returns a GetDeploymentsResult from SagemakerEdgeManager.
/// REST API Reference for GetDeployments Operation
GetDeploymentsResponse EndGetDeployments(IAsyncResult asyncResult);
#endregion
#region GetDeviceRegistration
///
/// Use to check if a device is registered with SageMaker Edge Manager.
///
/// Container for the necessary parameters to execute the GetDeviceRegistration service method.
///
/// The response from the GetDeviceRegistration service method, as returned by SagemakerEdgeManager.
///
/// An internal failure occurred. Try your request again. If the problem persists, contact
/// Amazon Web Services customer support.
///
/// REST API Reference for GetDeviceRegistration Operation
GetDeviceRegistrationResponse GetDeviceRegistration(GetDeviceRegistrationRequest request);
///
/// Initiates the asynchronous execution of the GetDeviceRegistration operation.
///
///
/// Container for the necessary parameters to execute the GetDeviceRegistration operation on AmazonSagemakerEdgeManagerClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeviceRegistration
/// operation.
/// REST API Reference for GetDeviceRegistration Operation
IAsyncResult BeginGetDeviceRegistration(GetDeviceRegistrationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetDeviceRegistration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDeviceRegistration.
///
/// Returns a GetDeviceRegistrationResult from SagemakerEdgeManager.
/// REST API Reference for GetDeviceRegistration Operation
GetDeviceRegistrationResponse EndGetDeviceRegistration(IAsyncResult asyncResult);
#endregion
#region SendHeartbeat
///
/// Use to get the current status of devices registered on SageMaker Edge Manager.
///
/// Container for the necessary parameters to execute the SendHeartbeat service method.
///
/// The response from the SendHeartbeat service method, as returned by SagemakerEdgeManager.
///
/// An internal failure occurred. Try your request again. If the problem persists, contact
/// Amazon Web Services customer support.
///
/// REST API Reference for SendHeartbeat Operation
SendHeartbeatResponse SendHeartbeat(SendHeartbeatRequest request);
///
/// Initiates the asynchronous execution of the SendHeartbeat operation.
///
///
/// Container for the necessary parameters to execute the SendHeartbeat operation on AmazonSagemakerEdgeManagerClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendHeartbeat
/// operation.
/// REST API Reference for SendHeartbeat Operation
IAsyncResult BeginSendHeartbeat(SendHeartbeatRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the SendHeartbeat operation.
///
///
/// The IAsyncResult returned by the call to BeginSendHeartbeat.
///
/// Returns a SendHeartbeatResult from SagemakerEdgeManager.
/// REST API Reference for SendHeartbeat Operation
SendHeartbeatResponse EndSendHeartbeat(IAsyncResult asyncResult);
#endregion
}
}