/* * 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 entitlement.marketplace-2017-01-11.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.MarketplaceEntitlementService.Model; namespace Amazon.MarketplaceEntitlementService { /// /// Interface for accessing MarketplaceEntitlementService /// /// AWS Marketplace Entitlement Service /// /// This reference provides descriptions of the AWS Marketplace Entitlement Service API. /// /// /// /// AWS Marketplace Entitlement Service is used to determine the entitlement of a customer /// to a given product. An entitlement represents capacity in a product owned by the customer. /// For example, a customer might own some number of users or seats in an SaaS application /// or some amount of data capacity in a multi-tenant database. /// /// /// /// Getting Entitlement Records /// /// /// public partial interface IAmazonMarketplaceEntitlementService : IAmazonService, IDisposable { #region GetEntitlements /// /// GetEntitlements retrieves entitlement values for a given product. The results can /// be filtered based on customer identifier or product dimensions. /// /// Container for the necessary parameters to execute the GetEntitlements service method. /// /// The response from the GetEntitlements service method, as returned by MarketplaceEntitlementService. /// /// An internal error has occurred. Retry your request. If the problem persists, post /// a message with details on the AWS forums. /// /// /// One or more parameters in your request was invalid. /// /// /// The calls to the GetEntitlements API are throttled. /// /// REST API Reference for GetEntitlements Operation GetEntitlementsResponse GetEntitlements(GetEntitlementsRequest request); /// /// Initiates the asynchronous execution of the GetEntitlements operation. /// /// /// Container for the necessary parameters to execute the GetEntitlements operation on AmazonMarketplaceEntitlementServiceClient. /// 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 EndGetEntitlements /// operation. /// REST API Reference for GetEntitlements Operation IAsyncResult BeginGetEntitlements(GetEntitlementsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetEntitlements operation. /// /// /// The IAsyncResult returned by the call to BeginGetEntitlements. /// /// Returns a GetEntitlementsResult from MarketplaceEntitlementService. /// REST API Reference for GetEntitlements Operation GetEntitlementsResponse EndGetEntitlements(IAsyncResult asyncResult); #endregion } }