

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

# API Gateway 的匯入與匯出內容編碼
<a name="api-gateway-payload-encodings-import-and-export"></a>

 若要匯入 [RestApi](https://docs.aws.amazon.com/apigateway/latest/api/API_RestApi.html) 上的 `binaryMediaTypes` 清單，請使用 API OpenAPI 定義檔的下列 API Gateway 延伸。此延伸也可用來匯出 API 設定。
+ [x-amazon-apigateway-binary-media-types 屬性](api-gateway-swagger-extensions-binary-media-types.md)

若要匯入與匯出 `Integration` 或 `IntegrationResponse` 資源上的 `contentHandling` 屬性值，請使用 OpenAPI 定義的下列 API Gateway 延伸：
+ [x-amazon-apigateway-integration 物件](api-gateway-swagger-extensions-integration.md)
+ [x-amazon-apigateway-integration.response 物件](api-gateway-swagger-extensions-integration-response.md)