

Ada lebih banyak contoh AWS SDK yang tersedia di repo Contoh [SDK AWS Doc](https://github.com/awsdocs/aws-doc-sdk-examples). GitHub 

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Contoh kode untuk API AWS Marketplace Katalog menggunakan AWS SDKs
<a name="marketplace-catalog_code_examples"></a>

Contoh kode berikut menunjukkan cara menggunakan AWS Marketplace Catalog API dengan AWS software development kit (SDK).

**Sumber daya lainnya**
+  **[AWS Marketplace Panduan Penjual API Katalog](https://docs.aws.amazon.com/marketplace/latest/userguide/what-is-marketplace.html)** - Informasi lebih lanjut tentang API AWS Marketplace Katalog.
+ **[AWS Marketplace Referensi API API Katalog](https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html)** — Detail tentang semua tindakan API AWS Marketplace Katalog yang tersedia.
+ **[AWS Pusat Pengembang](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23)** - Contoh kode yang dapat Anda filter berdasarkan kategori atau pencarian teks lengkap.
+ **[AWS Contoh SDK](https://github.com/awsdocs/aws-doc-sdk-examples)** — GitHub repo dengan kode lengkap dalam bahasa pilihan. Termasuk instruksi untuk mengatur dan menjalankan kode.

**Contents**
+ [Produk AMI](marketplace-catalog_code_examples_ami_products.md)
  + [Tambahkan dimensi ke produk AMI yang ada dan perbarui ketentuan harga penawaran](marketplace-catalog_example_marketplace-catalog_AddDimensionToAmiProductAndSetPriceInPublicOffer_section.md)
  + [Menambahkan wilayah tempat produk AMI digunakan](marketplace-catalog_example_marketplace-catalog_AddRegionExistingAmiProduct_section.md)
  + [Buat produk AMI publik atau terbatas dan penawaran umum dengan harga tahunan per jam](marketplace-catalog_example_marketplace-catalog_CreateLimitedAmiProductAndPublicOfferWithHourlyAnnualPricing_section.md)
  + [Buat produk AMI publik atau terbatas dan penawaran umum dengan harga bulanan per jam](marketplace-catalog_example_marketplace-catalog_CreateLimitedAmiProductAndPublicOfferWithHourlyMonthlyPricing_section.md)
  + [Buat produk AMI publik atau terbatas dan penawaran umum dengan harga per jam](marketplace-catalog_example_marketplace-catalog_CreateLimitedAmiProductAndPublicOfferWithHourlyPricing_section.md)
  + [Buat draf produk AMI dengan draf penawaran umum](marketplace-catalog_example_marketplace-catalog_CreateDraftAmiProductWithDraftPublicOffer_section.md)
  + [Batasi wilayah tempat produk AMI dikerahkan](marketplace-catalog_example_marketplace-catalog_RestrictRegionExistingAmiProduct_section.md)
  + [Batasi visibilitas produk](marketplace-catalog_example_marketplace-catalog_RestrictExistingAmi_section.md)
  + [Tentukan apakah aset AMI digunakan di wilayah baru](marketplace-catalog_example_marketplace-catalog_UpdateFutureRegionSupport_section.md)
+ [Penawaran mitra saluran](marketplace-catalog_code_examples_channel_partner_offers.md)
  + [Buat draf CPPO untuk semua jenis produk](marketplace-catalog_example_marketplace-catalog_CreateDraftCppoOffer_section.md)
  + [Buat penawaran pribadi pengganti otorisasi penjualan kembali dengan harga kontrak](marketplace-catalog_example_marketplace-catalog_CreateResaleAuthorizationReplacementOffer_section.md)
  + [Daftar semua CPPOs yang dibuat oleh mitra saluran](marketplace-catalog_example_marketplace-catalog_ListAllCppoOffers_section.md)
  + [Buat daftar semua otorisasi penjualan kembali bersama yang tersedia untuk mitra saluran](marketplace-catalog_example_marketplace-catalog_ListAllSharedResaleAuthorizations_section.md)
  + [Publikasikan CPPO dan tambahkan EULA pembeli](marketplace-catalog_example_marketplace-catalog_PublishCppoEula_section.md)
  + [Publikasikan CPPO menggunakan otorisasi penjualan kembali satu kali dan perbarui markup harga](marketplace-catalog_example_marketplace-catalog_PublishOneTimeCppoWithPriceMarkup_section.md)
  + [Publikasikan draf CPPO dan perbarui markup harga](marketplace-catalog_example_marketplace-catalog_PublishCppoPriceMarkup_section.md)
  + [Perbarui tanggal kedaluwarsa CPPO](marketplace-catalog_example_marketplace-catalog_UpdateCppoExpiryDate_section.md)
+ [Produk kontainer](marketplace-catalog_code_examples_container_products.md)
  + [Buat produk kontainer draf dengan draf penawaran umum](marketplace-catalog_example_marketplace-catalog_CreateDraftContainerProductWithDraftPublicOffer_section.md)
  + [Buat produk kontainer terbatas dengan penawaran umum dan harga kontrak](marketplace-catalog_example_marketplace-catalog_CreateLimitedContainerProductPublicOffer_section.md)
+ [Entitas](marketplace-catalog_code_examples_entities.md)
  + [Jelaskan semua entitas dalam satu panggilan](marketplace-catalog_example_marketplace-catalog_BatchDescribeEntities_section.md)
  + [Buat daftar dan jelaskan semua penawaran yang terkait dengan suatu produk](marketplace-catalog_example_marketplace-catalog_ListProductOffers_section.md)
+ [Penawaran](marketplace-catalog_code_examples_offers.md)
  + [Buat dimensi khusus untuk produk SaaS dan buat penawaran pribadi](marketplace-catalog_example_marketplace-catalog_CreateSaasProductCustomDimensionAndPrivateOffer_section.md)
  + [Buat draf penawaran pribadi untuk produk AMI atau SaaS](marketplace-catalog_example_marketplace-catalog_CreateDraftPrivateOffer_section.md)
  + [Buat penawaran pribadi dengan kontrak dan Pay-As-You-Go harga untuk produk SaaS](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractWithPayAsYouGoPricingForSaasProduct_section.md)
  + [Buat penawaran pribadi dengan harga kontrak dan jadwal pembayaran yang fleksibel untuk produk SaaS](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractPricingWithFlexiblePaymentScheduleForSaasProduct_section.md)
  + [Buat penawaran pribadi dengan harga kontrak untuk produk Container](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractPricingForContainerProduct_section.md)
  + [Buat penawaran pribadi dengan harga kontrak untuk produk AMI](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithContractPricingForAmiProduct_section.md)
  + [Buat penawaran pribadi dengan harga tahunan per jam dan jadwal pembayaran yang fleksibel untuk produk AMI](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithHourlyAnnualPricingAndFlexiblePaymentScheduleForAmiProduct_section.md)
  + [Buat penawaran pribadi dengan harga tahunan per jam untuk produk AMI](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithHourlyAnnualPricingForAmiProduct_section.md)
  + [Buat penawaran pribadi dengan harga per jam untuk produk AMI](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithHourlyPricingForAmiProduct_section.md)
  + [Buat penawaran pribadi dengan harga berlangganan untuk produk SaaS](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithSubscriptionPricingForSaasProduct_section.md)
  + [Buat penawaran pribadi dengan harga kontrak berjenjang untuk produk SaaS](marketplace-catalog_example_marketplace-catalog_CreatePrivateOfferWithTieredContractPricingForSaasProduct_section.md)
  + [Buat penawaran uji coba gratis publik dengan harga berlangganan untuk produk SaaS](marketplace-catalog_example_marketplace-catalog_CreatePublicFreeTrialOfferWithSubscriptionPricingForSaasProduct_section.md)
  + [Buat penawaran pribadi pengganti dengan harga kontrak](marketplace-catalog_example_marketplace-catalog_CreateReplacementPrivateOfferWithContractPricing_section.md)
  + [Jelaskan penawaran umum](marketplace-catalog_example_marketplace-catalog_DescribeOffer_section.md)
  + [Kedaluwarsa draf penawaran pribadi](marketplace-catalog_example_marketplace-catalog_ExpirePrivateOffer_section.md)
  + [Daftar semua penawaran pribadi](marketplace-catalog_example_marketplace-catalog_ListAllPrivateOffers_section.md)
  + [Daftar penawaran publik dan pribadi yang dirilis untuk ID produk tertentu](marketplace-catalog_example_marketplace-catalog_ListProductPublicOrPrivateReleasedOffers_section.md)
  + [Perbarui penawaran untuk menerapkan kontrak dengan Pay-As-You-Go harga](marketplace-catalog_example_marketplace-catalog_UpdateOfferWithContractAndPayAsYouGoPricing_section.md)
  + [Perbarui penawaran untuk menerapkan harga tahunan per jam](marketplace-catalog_example_marketplace-catalog_UpdateOfferWithHourlyAnnualPricing_section.md)
  + [Memperbarui penawaran untuk menerapkan penargetan ke wilayah geografis tertentu](marketplace-catalog_example_marketplace-catalog_UpdateOfferTargeting_section.md)
  + [Perbarui nama dan deskripsi penawaran umum](marketplace-catalog_example_marketplace-catalog_UpdateOfferNameAndDescription_section.md)
  + [Perbarui EULA penawaran](marketplace-catalog_example_marketplace-catalog_UpdateEula_section.md)
  + [Perbarui tanggal kedaluwarsa penawaran pribadi ke tanggal yang akan datang](marketplace-catalog_example_marketplace-catalog_UpdateOfferExpirationDateOfPrivateOffer_section.md)
  + [Perbarui durasi uji coba gratis dari penawaran uji coba gratis publik untuk produk SaaS](marketplace-catalog_example_marketplace-catalog_UpdateFreeTrialDurationOfPublicFreeTrialOfferForSaasProduct_section.md)
  + [Perbarui kebijakan pengembalian dana dari suatu penawaran](marketplace-catalog_example_marketplace-catalog_UpdateRefundPolicy_section.md)
+ [Produk](marketplace-catalog_code_examples_products.md)
  + [Jelaskan produk AMI, SaaS, atau Kontainer](marketplace-catalog_example_marketplace-catalog_DescribeProduct_section.md)
  + [Cantumkan semua produk AMI, SaaS, atau Container dan penawaran publik terkait](marketplace-catalog_example_marketplace-catalog_ListProducts_section.md)
+ [Otorisasi penjualan kembali](marketplace-catalog_code_examples_resale_authorization.md)
  + [Buat draf otorisasi penjualan kembali](marketplace-catalog_example_marketplace-catalog_DraftResaleauthAllproducttype_section.md)
  + [Jelaskan otorisasi penjualan kembali](marketplace-catalog_example_marketplace-catalog_DescribeResaleAuthorization_section.md)
  + [Publikasikan otorisasi penjualan kembali satu kali dengan penawaran pribadi](marketplace-catalog_example_marketplace-catalog_OnetimeResaleauthPrivateoffer_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna dengan tanggal kedaluwarsa](marketplace-catalog_example_marketplace-catalog_MultiuseResaleauthExpirydateCppo_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna dengan tanggal kedaluwarsa dan EULA](marketplace-catalog_example_marketplace-catalog_MultiuseResaleauthExpirydateCustomEula_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna dengan tanggal kedaluwarsa dan dokumentasi kontrak pengecer](marketplace-catalog_example_marketplace-catalog_MultiuseResaleauthExpirydateCustomresellerContractdoc_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna dengan kedaluwarsa dan tambahkan akun pembeli tertentu](marketplace-catalog_example_marketplace-catalog_PublishMultiuseResaleAuthorizationExpirydateSpecificBuyer_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna tanpa tanggal kedaluwarsa](marketplace-catalog_example_marketplace-catalog_MultiuseResaleauthNoExpirydateCppo_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna tanpa tanggal kedaluwarsa dan EULA](marketplace-catalog_example_marketplace-catalog_MultiuseResaleauthNoExpirydateCustomEula_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna tanpa tanggal kedaluwarsa dan dokumentasi kontrak pengecer](marketplace-catalog_example_marketplace-catalog_MultiuseResaleauthNoExpirydateCustomresellerContractdoc_section.md)
  + [Publikasikan otorisasi penjualan kembali multi-guna tanpa kedaluwarsa dan tambahkan akun pembeli tertentu](marketplace-catalog_example_marketplace-catalog_PublishMultiuseResaleAuthorizationNoExpirydateSpecificBuyer_section.md)
  + [Publikasikan otorisasi penjualan kembali satu kali dan tambahkan jadwal pembayaran Fleksibel](marketplace-catalog_example_marketplace-catalog_PublishOnetimeResaleAuthorizationFlexiblePayment_section.md)
  + [Publikasikan otorisasi penjualan kembali satu kali dan tambahkan EULA](marketplace-catalog_example_marketplace-catalog_OnetimeResaleauthCustomEula_section.md)
  + [Publikasikan otorisasi penjualan kembali satu kali dan tambahkan akun pembeli tertentu](marketplace-catalog_example_marketplace-catalog_PublishOnetimeResaleAuthorizationSpecificBuyer_section.md)
  + [Publikasikan otorisasi penjualan kembali satu kali dan tambahkan dokumentasi kontrak pengecer](marketplace-catalog_example_marketplace-catalog_OnetimeResaleauthCustomresellerContractdoc_section.md)
  + [Publikasikan otorisasi penjualan kembali satu kali dan tambahkan apakah itu pembaruan](marketplace-catalog_example_marketplace-catalog_OnetimeResaleauthRenewal_section.md)
  + [Batasi otorisasi penjualan kembali](marketplace-catalog_example_marketplace-catalog_RestrictResaleAuthorization_section.md)
  + [Perbarui nama dan deskripsi otorisasi penjualan kembali satu kali atau multi-guna](marketplace-catalog_example_marketplace-catalog_UpdateUnpublishedResaleAuthorization_section.md)
+ [Produk SaaS](marketplace-catalog_code_examples_saas_products.md)
  + [Buat draf produk SaaS dengan draf penawaran umum](marketplace-catalog_example_marketplace-catalog_CreateDraftSaasProductWithDraftPublicOffer_section.md)
  + [Buat produk SaaS publik atau terbatas dan penawaran publik dengan harga kontrak](marketplace-catalog_example_marketplace-catalog_CreateLimitedSaasProductAndPublicOfferWithContractPricing_section.md)
  + [Buat produk SaaS publik atau terbatas dan penawaran publik dengan kontrak dengan harga Pay-As-You-Go](marketplace-catalog_example_marketplace-catalog_CreateLimitedSaasProductAndPublicOfferWithContractWithPayAsYouGoPricing_section.md)
  + [Buat produk SaaS publik atau terbatas dan penawaran publik dengan harga berlangganan](marketplace-catalog_example_marketplace-catalog_CreateLimitedSaasProductAndPublicOfferWithSubscriptionPricing_section.md)
  + [Publikasikan produk SaaS dan penawaran publik terkait](marketplace-catalog_example_marketplace-catalog_PublishSaasProductPublicOffer_section.md)
  + [Publikasikan produk SaaS dan penawaran publik terkait dari draf yang ada](marketplace-catalog_example_marketplace-catalog_PublishExistingSaas_section.md)
  + [Perbarui dimensi pada produk AMI atau SaaS](marketplace-catalog_example_marketplace-catalog_UpdateNameDimensionSaasProduct_section.md)
+ [Utilitas](marketplace-catalog_code_examples_utilities.md)
  + [Utilitas untuk memulai set perubahan](marketplace-catalog_example_marketplace-catalog_ChangeSetUtilities_section.md)