/* * 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-metrics-2022-09-30.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.SageMakerMetrics.Model; namespace Amazon.SageMakerMetrics { /// /// Interface for accessing SageMakerMetrics /// /// Contains all data plane API operations and data types for Amazon SageMaker Metrics. /// Use these APIs to put and retrieve (get) features related to your training run. /// /// /// public partial interface IAmazonSageMakerMetrics : IAmazonService, IDisposable { #region BatchPutMetrics /// /// Used to ingest training metrics into SageMaker. These metrics can be visualized in /// SageMaker Studio and retrieved with the GetMetrics API. /// /// Container for the necessary parameters to execute the BatchPutMetrics service method. /// /// The response from the BatchPutMetrics service method, as returned by SageMakerMetrics. /// REST API Reference for BatchPutMetrics Operation BatchPutMetricsResponse BatchPutMetrics(BatchPutMetricsRequest request); /// /// Initiates the asynchronous execution of the BatchPutMetrics operation. /// /// /// Container for the necessary parameters to execute the BatchPutMetrics operation on AmazonSageMakerMetricsClient. /// 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 EndBatchPutMetrics /// operation. /// REST API Reference for BatchPutMetrics Operation IAsyncResult BeginBatchPutMetrics(BatchPutMetricsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the BatchPutMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginBatchPutMetrics. /// /// Returns a BatchPutMetricsResult from SageMakerMetrics. /// REST API Reference for BatchPutMetrics Operation BatchPutMetricsResponse EndBatchPutMetrics(IAsyncResult asyncResult); #endregion } }