> For the complete documentation index, see [llms.txt](https://docs.kangal.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kangal.dev/tr/entegrasyonlar/aws-api-gateway.md).

# AWS API Gateway

AWS API Gateway entegrasyonu, seçilen AWS bölgesindeki REST ve v2 API envanterinin ilk sayfasını AWS Signature Version 4 ile doğrudan sorgular.

## Senkronizasyon nasıl çalışır?

Sürücü aşağıdaki yönetim çağrılarını yapar:

* `GET /restapis?limit={page_size}` ile REST API'leri listeler.
* `GET /v2/apis?MaxResults={page_size}` ile v2 API'leri listeler.
* REST-first birleşik listede varsayılan olarak ilk `10` API için `/restapis/{id}/stages` veya `/v2/apis/{id}/stages` çağrısıyla stage adlarını okur.

Endpoint bölgeye göre `https://apigateway.{region}.amazonaws.com` biçiminde kurulur.

## Yapılandırma

| Tür    | Alan                | Zorunlu | Açıklama                                                        |
| ------ | ------------------- | ------- | --------------------------------------------------------------- |
| Config | `region`            | Evet    | AWS bölgesi, örneğin `eu-west-1`                                |
| Config | `page_size`         | Hayır   | Form varsayılanı `25`; driver değeri `1-500` aralığına sınırlar |
| Secret | `access_key_id`     | Evet    | AWS access key ID                                               |
| Secret | `secret_access_key` | Evet    | AWS secret access key                                           |
| Secret | `session_token`     | Hayır   | Geçici kimlik bilgileri için session token                      |

Kimliğin API ve stage listeleme çağrılarına okuma erişimi olmalıdır.

## Dönen metadata

`region`, `rest_api_count`, `http_api_count`, `api_count`, `stage_count`, `truncated` ve `apis` alanları döner. Her API kaydı `id`, `name`, `type`, `created_date` ve `stage_names` içerir.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kangal.dev/tr/entegrasyonlar/aws-api-gateway.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
