/*
* 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 license-manager-linux-subscriptions-2018-05-10.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.LicenseManagerLinuxSubscriptions.Model;
namespace Amazon.LicenseManagerLinuxSubscriptions
{
///
/// Interface for accessing LicenseManagerLinuxSubscriptions
///
/// With License Manager, you can discover and track your commercial Linux subscriptions
/// on running Amazon EC2 instances.
///
public partial interface IAmazonLicenseManagerLinuxSubscriptions : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ILicenseManagerLinuxSubscriptionsPaginatorFactory Paginators { get; }
#endif
#region GetServiceSettings
///
/// Lists the Linux subscriptions service settings.
///
/// Container for the necessary parameters to execute the GetServiceSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetServiceSettings service method, as returned by LicenseManagerLinuxSubscriptions.
///
/// An exception occurred with the service.
///
///
/// The request was denied due to request throttling.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for GetServiceSettings Operation
Task GetServiceSettingsAsync(GetServiceSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListLinuxSubscriptionInstances
///
/// Lists the running Amazon EC2 instances that were discovered with commercial Linux
/// subscriptions.
///
/// Container for the necessary parameters to execute the ListLinuxSubscriptionInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLinuxSubscriptionInstances service method, as returned by LicenseManagerLinuxSubscriptions.
///
/// An exception occurred with the service.
///
///
/// The request was denied due to request throttling.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListLinuxSubscriptionInstances Operation
Task ListLinuxSubscriptionInstancesAsync(ListLinuxSubscriptionInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListLinuxSubscriptions
///
/// Lists the Linux subscriptions that have been discovered. If you have linked your organization,
/// the returned results will include data aggregated across your accounts in Organizations.
///
/// Container for the necessary parameters to execute the ListLinuxSubscriptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListLinuxSubscriptions service method, as returned by LicenseManagerLinuxSubscriptions.
///
/// An exception occurred with the service.
///
///
/// The request was denied due to request throttling.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for ListLinuxSubscriptions Operation
Task ListLinuxSubscriptionsAsync(ListLinuxSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateServiceSettings
///
/// Updates the service settings for Linux subscriptions.
///
/// Container for the necessary parameters to execute the UpdateServiceSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateServiceSettings service method, as returned by LicenseManagerLinuxSubscriptions.
///
/// An exception occurred with the service.
///
///
/// The request was denied due to request throttling.
///
///
/// The provided input is not valid. Try your request again.
///
/// REST API Reference for UpdateServiceSettings Operation
Task UpdateServiceSettingsAsync(UpdateServiceSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}