

# Code examples for AWS Marketplace Agreement API using AWS SDKs
<a name="service_code_examples_marketplace-agreement"></a>

The following code examples show how to use AWS Marketplace Agreement API with an AWS software development kit (SDK). 

For a complete list of AWS SDK developer guides and code examples, see [Using this service with an AWS SDK](sdk-general-information-section.md). This topic also includes information about getting started and details about previous SDK versions.

**Contents**
+ [Agreements](service_code_examples_marketplace-agreement_agreements.md)
  + [Get all agreement IDs](marketplace-agreement_example_marketplace-agreement_GetAllAgreementsIds_section.md)
  + [Get all agreements](marketplace-agreement_example_marketplace-agreement_GetAllAgreements_section.md)
  + [Get customer ID from an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementCustomer_section.md)
  + [Get financial details from an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementFinancialDetails_section.md)
  + [Get free trial details from an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsFreeTrialDetails_section.md)
  + [Get information about an agreement](marketplace-agreement_example_marketplace-agreement_DescribeAgreement_section.md)
  + [Get product and offer details from an agreement](marketplace-agreement_example_marketplace-agreement_GetProductAndOfferDetailFromAgreement_section.md)
  + [Get the EULA of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsEula_section.md)
  + [Get the auto renewal terms of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementAutoRenewal_section.md)
  + [Get the dimensions purchased in an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsDimensionPurchased_section.md)
  + [Get the instances of each dimension purchased in an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsDimensionInstances_section.md)
  + [Get the payment schedule of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsPaymentSchedule_section.md)
  + [Get the pricing per dimension in an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsPricingEachDimension_section.md)
  + [Get the pricing type of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementPricingType_section.md)
  + [Get the product type of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementProductType_section.md)
  + [Get the status of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementStatus_section.md)
  + [Get the support terms of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTermsSupportTerm_section.md)
  + [Get the terms of an agreement](marketplace-agreement_example_marketplace-agreement_GetAgreementTerms_section.md)
  + [Search for agreements by account ID](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByAccountId_section.md)
  + [Search for agreements by agreement ID](marketplace-agreement_example_marketplace-agreement_SearchAgreementsById_section.md)
  + [Search for agreements by end date](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByEndDate_section.md)
  + [Search for agreements by offer ID](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByOfferId_section.md)
  + [Search for agreements by product ID](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByProductId_section.md)
  + [Search for agreements by status](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByByStatus_section.md)
  + [Search for agreements with one custom filter](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByOneFilter_section.md)
  + [Search for agreements with two custom filters](marketplace-agreement_example_marketplace-agreement_SearchAgreementsByTwoFilters_section.md)