# ContentHandlerAmazonAPIGateway

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/amazon_api_gateway/ContentHandlerAmazonAPIGateway)

Adapter to prepare the inputs from Langchain to a format
that LLM model expects.

It also provides helper function to extract
the generated text from the model response.

## Signature

```python
ContentHandlerAmazonAPIGateway()
```

## Methods

- [`transform_input()`](https://reference.langchain.com/python/langchain-community/llms/amazon_api_gateway/ContentHandlerAmazonAPIGateway/transform_input)
- [`transform_output()`](https://reference.langchain.com/python/langchain-community/llms/amazon_api_gateway/ContentHandlerAmazonAPIGateway/transform_output)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/llms/amazon_api_gateway.py#L11)