

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

# 整合資源
<a name="resources"></a>

AWS 提供下列資源，協助您建立自訂整合。

**Topics**
+ [欄位定義](#custom-field-definitions)
+ [標準值](#standard-values)
+ [傳入檔案範例](#sample-inbound-files)
+ [範例傳出檔案](#sample-outbound-files)
+ [處理結果範例](#sample-processed-results)
+ [範例測試案例](#sample-test-cases)
+ [程式碼片段範例](#sample-code-snippets)

## 欄位定義
<a name="custom-field-definitions"></a>

下列各節中的連結會列出所有欄位，說明其資料類型、用量，以及任何適用的限制或格式規則。它們可做為參考，以確保當合作夥伴和 AWS 交換資料時，其格式正確且受到理解。

以下連結將帶您前往 GitHub。
+ [機會](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/opportunity-samples/Opportunity-Fields.csv)
+ [潛在客戶](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/lead-samples/Leads-Fields.csv)

## 標準值
<a name="standard-values"></a>

這些清單概述了各種欄位的標準值和列舉。它們有助於維持交換資料中的一致性，並確保雙方對所使用的值有共識。

以下連結將帶您前往 GitHub。
+ [機會](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/opportunity-samples/Opportunity_-_StandardValues.csv)
+ [潛在客戶](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/lead-samples/Lead_-_StandardValues.csv)

## 傳入檔案範例
<a name="sample-inbound-files"></a>

下列範例檔案顯示從合作夥伴傳送至之檔案的 JSON 承載結構 AWS。

以下連結將帶您前往 GitHub。
+ [機會](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/opportunity-samples/Opportunity-Create-Inbound-Sample.json)
+ [潛在客戶](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/lead-samples/Lead-Update-Inbound-Sample.json)

## 範例傳出檔案
<a name="sample-outbound-files"></a>

下列範例檔案顯示從 傳送至 AWS 合作夥伴之檔案的 JSON 承載結構。

以下連結將帶您前往 GitHub。
+ [機會](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/opportunity-samples/Opportunity-Outbound-Sample.json)
+ [潛在客戶](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/lead-samples/Lead-Outbound-Sample.json)

## 處理結果範例
<a name="sample-processed-results"></a>

下列檔案顯示 AWS 處理合作夥伴傳送的承載後的一般結果。

以下連結將帶您前往 GitHub。
+ [機會](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/opportunity-samples/Opportunity-Results-Success-Sample.json)
+ [潛在客戶](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/lead-samples/Lead-Results-Success-Sample.json)

## 範例測試案例
<a name="sample-test-cases"></a>

以下連結將帶您前往 GitHub。
+ [機會](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/opportunity-samples/Opportunity%20-%20Testing%20Scenarios.xlsx)
+ [潛在客戶](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/lead-samples/Lead%20-%20Testing%20Scenarios.xlsx)

## 程式碼片段範例
<a name="sample-code-snippets"></a>

以下連結將帶您前往 GitHub。
+ [ace\$1read\$1s3.py](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/ace_read_s3.py)
+ [Apex\$1Sample\$1REST\$1API\$1Code.cls](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/Apex_Sample_REST_API_Code.cls)
+ [S3\$1Authentication.cls](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/S3_Authentication.cls)
+ [Sample\$1AceOutboundBatch.cls](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/Sample_AceOutboundBatch.cls)
+ [SFDC apex s3 sample.txt](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/SFDC_apex_s3_sample.txt)
+ [Apex\$1get\$1files\$1from\$1s3\$1ace\$1partner\$1test.cls](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/Apex_get_files_from_s3_ace_partner_test.cls)
+ [s3\$1ace\$1partner\$1test.cls](https://github.com/aws-samples/partner-crm-integration-samples/blob/main/code-snippets/s3_ace_partner_test.cls)