

 AWS 合作夥伴中心 API 參考已重組。如需支援的 API 操作的詳細資訊，請參閱 [AWS 合作夥伴中心 API 參考](https://docs.aws.amazon.com/partner-central/latest/APIReference/Welcome.html)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Partner Central AWS SDKs的程式碼範例
<a name="service_code_examples"></a>

下列程式碼範例示範如何使用 Partner Central 搭配AWS軟體開發套件 (SDK)。

*Actions* 是大型程式的程式碼摘錄，必須在內容中執行。雖然動作會告訴您如何呼叫個別服務函數，但您可以在其相關情境中查看內容中的動作。

*案例*是向您展示如何呼叫服務中的多個函數或與其他AWS 服務組合來完成特定任務的程式碼範例。

如需AWS SDK 開發人員指南和程式碼範例的完整清單，請參閱 [搭配AWS SDK 使用AWS Partner Central API](sdk-general-information-section.md)。此主題也包含有關入門的資訊和舊版 SDK 的詳細資訊。

**Contents**
+ [基本概念](service_code_examples_basics.md)
  + [動作](service_code_examples_actions.md)
    + [`AssignOpportunity`](example_partnercentral-selling_AssignOpportunity_section.md)
    + [`AssociateOpportunity`](example_partnercentral-selling_AssociateOpportunity_section.md)
    + [`CreateOpportunity`](example_partnercentral-selling_CreateOpportunity_section.md)
    + [`DisassociateOpportunity`](example_partnercentral-selling_DisassociateOpportunity_section.md)
    + [`GetAwsOpportunitySummary`](example_partnercentral-selling_GetAwsOpportunitySummary_section.md)
    + [`GetEngagementInvitation`](example_partnercentral-selling_GetEngagementInvitation_section.md)
    + [`GetOpportunity`](example_partnercentral-selling_GetOpportunity_section.md)
    + [`ListEngagementInvitations`](example_partnercentral-selling_ListEngagementInvitations_section.md)
    + [`ListOpportunities`](example_partnercentral-selling_ListOpportunities_section.md)
    + [`ListSolutions`](example_partnercentral-selling_ListSolutions_section.md)
    + [`RejectEngagementInvitation`](example_partnercentral-selling_RejectEngagementInvitation_section.md)
    + [`StartEngagementByAcceptingInvitationTask`](example_partnercentral-selling_StartEngagementByAcceptingInvitationTask_section.md)
    + [`StartEngagementFromOpportunityTask`](example_partnercentral-selling_StartEngagementFromOpportunityTask_section.md)
    + [`UpdateOpportunity`](example_partnercentral-selling_UpdateOpportunity_section.md)
+ [案例](service_code_examples_scenarios.md)
  + [更新機會的關聯實體](example_partnercentral-selling__UpdateAssociatedEntity_section.md)