

文件 AWS 開發套件範例 GitHub 儲存庫中有更多可用的 [AWS SDK 範例](https://github.com/awsdocs/aws-doc-sdk-examples)。

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

# Amazon EMR AWS SDKs的程式碼範例
<a name="emr_code_examples"></a>

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

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

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

**其他資源**
+  **[Amazon EMR 管理指南](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-what-is-emr.html)** – Amazon EMR 的詳細資訊。
+ **[Amazon EMR API 參考](https://docs.aws.amazon.com/emr/latest/APIReference/Welcome.html)** – 所有可用 Amazon EMR 動作的詳細資訊。
+ **[AWS 開發人員中心](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23emr)** – 您可以依類別或全文搜尋篩選的程式碼範例。
+ **[AWS SDK 範例](https://github.com/awsdocs/aws-doc-sdk-examples)** – GitHub 儲存庫使用慣用語言的完整程式碼。包含設定和執行程式碼的指示。

**Contents**
+ [基本概念](emr_code_examples_basics.md)
  + [動作](emr_code_examples_actions.md)
    + [`AddJobFlowSteps`](emr_example_emr_AddJobFlowSteps_section.md)
    + [`DescribeCluster`](emr_example_emr_DescribeCluster_section.md)
    + [`DescribeStep`](emr_example_emr_DescribeStep_section.md)
    + [`ListSteps`](emr_example_emr_ListSteps_section.md)
    + [`RunJobFlow`](emr_example_emr_RunJobFlow_section.md)
    + [`TerminateJobFlows`](emr_example_emr_TerminateJobFlows_section.md)
+ [案例](emr_code_examples_scenarios.md)
  + [建立短期的 Amazon EMR 叢集，並執行一個步驟](emr_example_emr_Scenario_ShortLivedEmrCluster_section.md)
  + [Amazon EMR 入門](emr_example_emr_GettingStarted_037_section.md)
  + [執行 Shell 指令碼來安裝程式庫](emr_example_emr_Usage_InstallLibrariesWithSsm_section.md)