/*
* 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.Threading;
using System.Threading.Tasks;
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
{
///
/// Paginators for the service
///
IElasticInferencePaginatorFactory Paginators { get; }
#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);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAcceleratorOfferingsAsync(DescribeAcceleratorOfferingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAcceleratorsAsync(DescribeAcceleratorsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAcceleratorTypesAsync(DescribeAcceleratorTypesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#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);
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}