/*
* 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 elastic-inference-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ElasticInference.Model;
namespace Amazon.ElasticInference
{
///
/// Interface for accessing ElasticInference
///
/// Elastic Inference public APIs.
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
public partial interface IAmazonElasticInference : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IElasticInferencePaginatorFactory Paginators { get; }
#endif
#region DescribeAcceleratorOfferings
///
/// Describes the locations in which a given accelerator type or set of types is present
/// in a given region.
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
/// Container for the necessary parameters to execute the DescribeAcceleratorOfferings service method.
///
/// The response from the DescribeAcceleratorOfferings service method, as returned by ElasticInference.
///
/// Raised when a malformed input has been provided to the API.
///
///
/// Raised when an unexpected error occurred during request processing.
///
///
/// Raised when the requested resource cannot be found.
///
/// REST API Reference for DescribeAcceleratorOfferings Operation
DescribeAcceleratorOfferingsResponse DescribeAcceleratorOfferings(DescribeAcceleratorOfferingsRequest request);
///
/// Initiates the asynchronous execution of the DescribeAcceleratorOfferings operation.
///
///
/// Container for the necessary parameters to execute the DescribeAcceleratorOfferings operation on AmazonElasticInferenceClient.
/// 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 EndDescribeAcceleratorOfferings
/// operation.
/// REST API Reference for DescribeAcceleratorOfferings Operation
IAsyncResult BeginDescribeAcceleratorOfferings(DescribeAcceleratorOfferingsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeAcceleratorOfferings operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAcceleratorOfferings.
///
/// Returns a DescribeAcceleratorOfferingsResult from ElasticInference.
/// REST API Reference for DescribeAcceleratorOfferings Operation
DescribeAcceleratorOfferingsResponse EndDescribeAcceleratorOfferings(IAsyncResult asyncResult);
#endregion
#region DescribeAccelerators
///
/// Describes information over a provided set of accelerators belonging to an account.
///
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
/// Container for the necessary parameters to execute the DescribeAccelerators service method.
///
/// The response from the DescribeAccelerators service method, as returned by ElasticInference.
///
/// Raised when a malformed input has been provided to the API.
///
///
/// Raised when an unexpected error occurred during request processing.
///
///
/// Raised when the requested resource cannot be found.
///
/// REST API Reference for DescribeAccelerators Operation
DescribeAcceleratorsResponse DescribeAccelerators(DescribeAcceleratorsRequest request);
///
/// Initiates the asynchronous execution of the DescribeAccelerators operation.
///
///
/// Container for the necessary parameters to execute the DescribeAccelerators operation on AmazonElasticInferenceClient.
/// 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 EndDescribeAccelerators
/// operation.
/// REST API Reference for DescribeAccelerators Operation
IAsyncResult BeginDescribeAccelerators(DescribeAcceleratorsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeAccelerators operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAccelerators.
///
/// Returns a DescribeAcceleratorsResult from ElasticInference.
/// REST API Reference for DescribeAccelerators Operation
DescribeAcceleratorsResponse EndDescribeAccelerators(IAsyncResult asyncResult);
#endregion
#region DescribeAcceleratorTypes
///
/// Describes the accelerator types available in a given region, as well as their characteristics,
/// such as memory and throughput.
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
/// Container for the necessary parameters to execute the DescribeAcceleratorTypes service method.
///
/// The response from the DescribeAcceleratorTypes service method, as returned by ElasticInference.
///
/// Raised when an unexpected error occurred during request processing.
///
/// REST API Reference for DescribeAcceleratorTypes Operation
DescribeAcceleratorTypesResponse DescribeAcceleratorTypes(DescribeAcceleratorTypesRequest request);
///
/// Initiates the asynchronous execution of the DescribeAcceleratorTypes operation.
///
///
/// Container for the necessary parameters to execute the DescribeAcceleratorTypes operation on AmazonElasticInferenceClient.
/// 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 EndDescribeAcceleratorTypes
/// operation.
/// REST API Reference for DescribeAcceleratorTypes Operation
IAsyncResult BeginDescribeAcceleratorTypes(DescribeAcceleratorTypesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeAcceleratorTypes operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAcceleratorTypes.
///
/// Returns a DescribeAcceleratorTypesResult from ElasticInference.
/// REST API Reference for DescribeAcceleratorTypes Operation
DescribeAcceleratorTypesResponse EndDescribeAcceleratorTypes(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
///
/// Returns all tags of an Elastic Inference Accelerator.
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by ElasticInference.
///
/// Raised when a malformed input has been provided to the API.
///
///
/// Raised when an unexpected error occurred during request processing.
///
///
/// Raised when the requested resource cannot be found.
///
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonElasticInferenceClient.
/// 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 EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from ElasticInference.
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region TagResource
///
/// Adds the specified tags to an Elastic Inference Accelerator.
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by ElasticInference.
///
/// Raised when a malformed input has been provided to the API.
///
///
/// Raised when an unexpected error occurred during request processing.
///
///
/// Raised when the requested resource cannot be found.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonElasticInferenceClient.
/// 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 EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from ElasticInference.
/// REST API Reference for TagResource Operation
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
///
/// Removes the specified tags from an Elastic Inference Accelerator.
///
///
///
/// February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to
/// Amazon Elastic Inference (EI), and will help current customers migrate their workloads
/// to options that offer better price and performance. After April 15, 2023, new customers
/// will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker,
/// Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once
/// during the past 30-day period are considered current customers and will be able to
/// continue using the service.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by ElasticInference.
///
/// Raised when a malformed input has been provided to the API.
///
///
/// Raised when an unexpected error occurred during request processing.
///
///
/// Raised when the requested resource cannot be found.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonElasticInferenceClient.
/// 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 EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from ElasticInference.
/// REST API Reference for UntagResource Operation
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
}
}