

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 集成资源
<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。
+ [Opportunity](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。
+ [Opportunity](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。
+ [Opportunity](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>

以下示例文件显示了从合作伙伴发送的文件的 JSON 有效负载 AWS 的结构。

以下链接将带您前往 GitHub。
+ [Opportunity](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。
+ [Opportunity](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。
+ [Opportunity](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\$1 ode.cls API\$1C](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\$1 .cls AceOutboundBatch](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)