All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.marketplaceagreement.AWSMarketplaceAgreementAsync Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 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.
 */
package com.amazonaws.services.marketplaceagreement;

import javax.annotation.Generated;

import com.amazonaws.services.marketplaceagreement.model.*;

/**
 * Interface for accessing Agreement Service asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.marketplaceagreement.AbstractAWSMarketplaceAgreementAsync} instead. *

*

*

* AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party * software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service * provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including * listing, searching, and filtering agreements. *

*

* To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies * and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions * in AWS: *

*
    *
  • *

    * DescribeAgreement – Grants permission to users to obtain detailed meta data about any of their * agreements. *

    *
  • *
  • *

    * GetAgreementTerms – Grants permission to users to obtain details about the terms of an agreement. *

    *
  • *
  • *

    * SearchAgreements – Grants permission to users to search through all their agreements. *

    *
  • *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSMarketplaceAgreementAsync extends AWSMarketplaceAgreement { /** *

* Provides details about an agreement, such as the proposer, acceptor, start date, and end date. *

* * @param describeAgreementRequest * @return A Java Future containing the result of the DescribeAgreement operation returned by the service. * @sample AWSMarketplaceAgreementAsync.DescribeAgreement * @see AWS API Documentation */ java.util.concurrent.Future describeAgreementAsync(DescribeAgreementRequest describeAgreementRequest); /** *

* Provides details about an agreement, such as the proposer, acceptor, start date, and end date. *

* * @param describeAgreementRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeAgreement operation returned by the service. * @sample AWSMarketplaceAgreementAsyncHandler.DescribeAgreement * @see AWS API Documentation */ java.util.concurrent.Future describeAgreementAsync(DescribeAgreementRequest describeAgreementRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Obtains details about the terms in an agreement that you participated in as proposer or acceptor. *

*

* The details include: *

*
    *
  • *

    * TermType – The type of term, such as LegalTerm, RenewalTerm, or * ConfigurableUpfrontPricingTerm. *

    *
  • *
  • *

    * TermID – The ID of the particular term, which is common between offer and agreement. *

    *
  • *
  • *

    * TermPayload – The key information contained in the term, such as the EULA for LegalTerm * or pricing and dimensions for various pricing terms, such as ConfigurableUpfrontPricingTerm or * UsageBasedPricingTerm. *

    *
  • *
*
    *
  • *

    * Configuration – The buyer/acceptor's selection at the time of agreement creation, such as the number * of units purchased for a dimension or setting the EnableAutoRenew flag. *

    *
  • *
* * @param getAgreementTermsRequest * @return A Java Future containing the result of the GetAgreementTerms operation returned by the service. * @sample AWSMarketplaceAgreementAsync.GetAgreementTerms * @see AWS API Documentation */ java.util.concurrent.Future getAgreementTermsAsync(GetAgreementTermsRequest getAgreementTermsRequest); /** *

* Obtains details about the terms in an agreement that you participated in as proposer or acceptor. *

*

* The details include: *

*
    *
  • *

    * TermType – The type of term, such as LegalTerm, RenewalTerm, or * ConfigurableUpfrontPricingTerm. *

    *
  • *
  • *

    * TermID – The ID of the particular term, which is common between offer and agreement. *

    *
  • *
  • *

    * TermPayload – The key information contained in the term, such as the EULA for LegalTerm * or pricing and dimensions for various pricing terms, such as ConfigurableUpfrontPricingTerm or * UsageBasedPricingTerm. *

    *
  • *
*
    *
  • *

    * Configuration – The buyer/acceptor's selection at the time of agreement creation, such as the number * of units purchased for a dimension or setting the EnableAutoRenew flag. *

    *
  • *
* * @param getAgreementTermsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetAgreementTerms operation returned by the service. * @sample AWSMarketplaceAgreementAsyncHandler.GetAgreementTerms * @see AWS API Documentation */ java.util.concurrent.Future getAgreementTermsAsync(GetAgreementTermsRequest getAgreementTermsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list * of agreements with basic agreement information. *

*

* The following filter combinations are supported: *

*
    *
  • *

    * PartyType as Proposer + AgreementType + ResourceIdentifier *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + OfferId *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + ResourceIdentifier + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + OfferId + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + ResourceType + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceType + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * OfferId *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * OfferId + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceIdentifier *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceIdentifier + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceType *

    *
  • *
* * @param searchAgreementsRequest * @return A Java Future containing the result of the SearchAgreements operation returned by the service. * @sample AWSMarketplaceAgreementAsync.SearchAgreements * @see AWS API Documentation */ java.util.concurrent.Future searchAgreementsAsync(SearchAgreementsRequest searchAgreementsRequest); /** *

* Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list * of agreements with basic agreement information. *

*

* The following filter combinations are supported: *

*
    *
  • *

    * PartyType as Proposer + AgreementType + ResourceIdentifier *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + OfferId *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + ResourceIdentifier + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + OfferId + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + ResourceType + * Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceType + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * OfferId *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * OfferId + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceIdentifier *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceIdentifier + Status *

    *
  • *
  • *

    * PartyType as Proposer + AgreementType + AcceptorAccountId + * ResourceType *

    *
  • *
* * @param searchAgreementsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the SearchAgreements operation returned by the service. * @sample AWSMarketplaceAgreementAsyncHandler.SearchAgreements * @see AWS API Documentation */ java.util.concurrent.Future searchAgreementsAsync(SearchAgreementsRequest searchAgreementsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy