Code examples for AWS Marketplace using AWS SDKs
The following code examples show how to use AWS Marketplace 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. This topic also includes information about getting started and details about previous SDK versions.
Code examples
Add a dimension to an existing AMI product and update the offer pricing terms
Create a public or limited AMI product and a public offer with hourly annual pricing
Create a public or limited AMI product and public offer with hourly monthly pricing
Create a public or limited AMI product and public offer with hourly pricing
Create a custom dimension for a SaaS product and create a private offer
Create a private offer with contract and Pay-As-You-Go pricing for a SaaS product
Create a private offer with contract pricing and a flexible payment schedule for a SaaS product
Create a private offer with contract pricing for a Container product
Create a private offer with contract pricing for an AMI product
Create a private offer with hourly annual pricing and a flexible payment schedule for an AMI product
Create a private offer with hourly annual pricing for an AMI product
Create a private offer with hourly pricing for an AMI product
Create a private offer with subscription pricing for a SaaS product
Create a private offer with tiered contract pricing for a SaaS product
Create a public free trial offer with subscription pricing for a SaaS product
List released public and private offers for a specific product ID
Update an offer to apply a contract with Pay-As-You-Go pricing
Update an offer to apply targeting to specific geographic regions
Update the expiration date of a private offer to a future date
Update the free trial duration of a public free trial offer for a SaaS product
Publish a one-time resale authorization with a private offer
Publish multi-use resale authorization with an expiration date
Publish multi-use resale authorization with an expiration date and a EULA
Publish multi-use resale authorization with an expiration date and reseller contract documentation
Publish multi-use resale authorization with expiration and add a specific buyer account
Publish multi-use resale authorization without an expiration date
Publish multi-use resale authorization without an expiration date and a EULA
Publish multi-use resale authorization without expiration and add a specific buyer account
Publish one-time resale authorization and add Flexible payment schedule
Publish one-time resale authorization and add a specific buyer account
Publish one-time resale authorization and add reseller contract documentation
Publish one-time resale authorization and add whether it is a renewal
Update name and description of one-time or multi-use resale authorization
Create a public or limited SaaS product and public offer with contract pricing
Create a public or limited SaaS product and public offer with contract with Pay-As-You-Go pricing
Create a public or limited SaaS product and public offer with subscription pricing
Publish a SaaS product and associated public offer from an existing draft