/* * 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.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 BCL45 || 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. /// /// 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 GetServiceSettingsResponse GetServiceSettings(GetServiceSettingsRequest request); /// /// Initiates the asynchronous execution of the GetServiceSettings operation. /// /// /// Container for the necessary parameters to execute the GetServiceSettings operation on AmazonLicenseManagerLinuxSubscriptionsClient. /// 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 EndGetServiceSettings /// operation. /// REST API Reference for GetServiceSettings Operation IAsyncResult BeginGetServiceSettings(GetServiceSettingsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetServiceSettings operation. /// /// /// The IAsyncResult returned by the call to BeginGetServiceSettings. /// /// Returns a GetServiceSettingsResult from LicenseManagerLinuxSubscriptions. /// REST API Reference for GetServiceSettings Operation GetServiceSettingsResponse EndGetServiceSettings(IAsyncResult asyncResult); #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. /// /// 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 ListLinuxSubscriptionInstancesResponse ListLinuxSubscriptionInstances(ListLinuxSubscriptionInstancesRequest request); /// /// Initiates the asynchronous execution of the ListLinuxSubscriptionInstances operation. /// /// /// Container for the necessary parameters to execute the ListLinuxSubscriptionInstances operation on AmazonLicenseManagerLinuxSubscriptionsClient. /// 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 EndListLinuxSubscriptionInstances /// operation. /// REST API Reference for ListLinuxSubscriptionInstances Operation IAsyncResult BeginListLinuxSubscriptionInstances(ListLinuxSubscriptionInstancesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListLinuxSubscriptionInstances operation. /// /// /// The IAsyncResult returned by the call to BeginListLinuxSubscriptionInstances. /// /// Returns a ListLinuxSubscriptionInstancesResult from LicenseManagerLinuxSubscriptions. /// REST API Reference for ListLinuxSubscriptionInstances Operation ListLinuxSubscriptionInstancesResponse EndListLinuxSubscriptionInstances(IAsyncResult asyncResult); #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. /// /// 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 ListLinuxSubscriptionsResponse ListLinuxSubscriptions(ListLinuxSubscriptionsRequest request); /// /// Initiates the asynchronous execution of the ListLinuxSubscriptions operation. /// /// /// Container for the necessary parameters to execute the ListLinuxSubscriptions operation on AmazonLicenseManagerLinuxSubscriptionsClient. /// 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 EndListLinuxSubscriptions /// operation. /// REST API Reference for ListLinuxSubscriptions Operation IAsyncResult BeginListLinuxSubscriptions(ListLinuxSubscriptionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListLinuxSubscriptions operation. /// /// /// The IAsyncResult returned by the call to BeginListLinuxSubscriptions. /// /// Returns a ListLinuxSubscriptionsResult from LicenseManagerLinuxSubscriptions. /// REST API Reference for ListLinuxSubscriptions Operation ListLinuxSubscriptionsResponse EndListLinuxSubscriptions(IAsyncResult asyncResult); #endregion #region UpdateServiceSettings /// /// Updates the service settings for Linux subscriptions. /// /// Container for the necessary parameters to execute the UpdateServiceSettings service method. /// /// 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 UpdateServiceSettingsResponse UpdateServiceSettings(UpdateServiceSettingsRequest request); /// /// Initiates the asynchronous execution of the UpdateServiceSettings operation. /// /// /// Container for the necessary parameters to execute the UpdateServiceSettings operation on AmazonLicenseManagerLinuxSubscriptionsClient. /// 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 EndUpdateServiceSettings /// operation. /// REST API Reference for UpdateServiceSettings Operation IAsyncResult BeginUpdateServiceSettings(UpdateServiceSettingsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateServiceSettings operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateServiceSettings. /// /// Returns a UpdateServiceSettingsResult from LicenseManagerLinuxSubscriptions. /// REST API Reference for UpdateServiceSettings Operation UpdateServiceSettingsResponse EndUpdateServiceSettings(IAsyncResult asyncResult); #endregion } }