/*
* 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.Threading;
using System.Threading.Tasks;
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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetDeploymentsAsync(GetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetDeviceRegistrationAsync(GetDeviceRegistrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SendHeartbeatAsync(SendHeartbeatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}