

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

# Wählen Sie zwischen REST APIs und HTTP APIs
<a name="http-api-vs-rest"></a>

REST APIs und HTTP APIs sind beide RESTful API-Produkte. REST APIs unterstützt mehr Funktionen als HTTP APIs, während HTTP APIs mit minimalen Funktionen konzipiert wurde, sodass sie zu einem niedrigeren Preis angeboten werden können. Wählen Sie REST, APIs wenn Sie Funktionen wie API-Schlüssel, Drosselung pro Client, Validierung von Anfragen, AWS WAF Integration oder private API-Endpunkte benötigen. Wählen Sie HTTP APIs , wenn Sie die in REST enthaltenen Funktionen nicht benötigen. APIs

In den folgenden Abschnitten werden die wichtigsten Funktionen zusammengefasst, die in REST APIs und HTTP APIs verfügbar sind. Der Einfachheit halber werden zusätzliche Links bereitgestellt, um zwischen den Abschnitten zu REST-API und HTTP-API im API Gateway-Entwicklerhandbuch zu navigieren.

## Endpunkttyp
<a name="http-api-vs-rest.differences.endpoint-type"></a>

Der Endpunkttyp bezieht sich auf den Endpunkt, den API Gateway für Ihre API erstellt. Weitere Informationen finden Sie unter [API-Endpunkttypen für REST APIs in API Gateway](api-gateway-api-endpoint-types.md). 


| Endpunkttypen | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [Edge-optimiert](api-gateway-api-endpoint-types.md#api-gateway-api-endpoint-types-edge-optimized)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Regional](api-gateway-api-endpoint-types.md#api-gateway-api-endpoint-types-regional)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | 
|  [Privat](api-gateway-api-endpoint-types.md#api-gateway-api-endpoint-types-private)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 

## Sicherheit
<a name="http-api-vs-rest.differences.security"></a>

API Gateway bietet eine Reihe von Möglichkeiten, Ihre API vor bestimmten Bedrohungen zu schützen, z. B. vor böswilligen Akteuren oder Spitzen im Datenverkehr. Weitere Informationen hierzu finden Sie unter [Schützen Sie Ihren REST APIs in API Gateway](rest-api-protect.md) und [Schutz Ihrer HTTP-APIs in API Gateway](http-api-protect.md).


| Sicherheitsfunktionen | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [Gegenseitige TLS-Authentifizierung](rest-api-mutual-tls.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](rest-api-mutual-tls.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-mutual-tls.md)  | 
|  [Zertifikate für Backend-Authentifizierung](getting-started-client-side-ssl-authentication.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [AWS WAF](apigateway-control-access-aws-waf.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 

## Autorisierung
<a name="http-api-vs-rest.differences.authorization"></a>

API Gateway unterstützt mehrere Mechanismen zur Steuerung und Verwaltung des Zugriffs auf Ihre API. Weitere Informationen erhalten Sie unter [Steuern und verwalten Sie den Zugriff auf REST APIs in API Gateway](apigateway-control-access-to-api.md) und [Steuern und verwalten Sie den Zugriff auf HTTP APIs in API Gateway](http-api-access-control.md).


| Autorisierungsoptionen | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [IAM](permissions.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](permissions.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-access-control-iam.md)  | 
|  [Ressourcenrichtlinien](apigateway-resource-policies.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein   | 
|  [Amazon Cognito](apigateway-integrate-with-cognito.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja 1  | 
|  [Benutzerdefinierte Autorisierung mit einer Funktion AWS Lambda](apigateway-use-lambda-authorizer.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](apigateway-use-lambda-authorizer.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-lambda-authorizer.md)  | 
|  [JSON Web Token (JWT)](http-api-jwt-authorizer.md) 2  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | 

1 Sie können Amazon Cognito mit einem [JWT-Genehmiger](http-api-jwt-authorizer.md) verwenden.

2 Sie können einen [Lambda-Autorisierer verwenden, um JWTs für REST](apigateway-use-lambda-authorizer.md) zu validieren. APIs

## API-Management
<a name="http-api-vs-rest.differences.management"></a>

Wählen Sie REST APIs , wenn Sie API-Verwaltungsfunktionen wie API-Schlüssel und Ratenbegrenzung pro Client benötigen. Weitere Informationen finden Sie unter [Verteilen Sie Ihren REST APIs an Kunden in API Gateway](rest-api-distribute.md), [Benutzerdefinierter Domainname für öffentliches REST APIs in API Gateway](how-to-custom-domains.md) und [Benutzerdefinierte Domainnamen für HTTP-APIs in API Gateway](http-api-custom-domain-names.md).


| Features | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [Benutzerdefinierte Domänen](how-to-custom-domains.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](how-to-custom-domains.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-custom-domain-names.md)  | 
|  [API-Schlüssel](api-gateway-api-usage-plans.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Clientbasierte Ratenbegrenzung](api-gateway-request-throttling.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Clientbasierte Nutzungsdrosselung](api-gateway-api-usage-plans.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Entwicklerportal](apigateway-portals.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 

## Entwicklung
<a name="http-api-vs-rest.differences.development"></a>

Während Sie Ihre API Gateway-API entwickeln, entscheiden Sie sich für eine Reihe von Merkmalen Ihrer API. Diese Eigenschaften hängen davon ab, wofür Ihre API verwendet werden soll. Weitere Informationen finden Sie unter [Entwickeln Sie REST APIs in API Gateway](rest-api-develop.md) und [Entwickeln Sie HTTP APIs in API Gateway](http-api-develop.md).


| Features | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [CORS-Konfiguration](how-to-cors.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](how-to-cors.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-cors.md)  | 
|  [Testaufrufe](how-to-test-method.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Caching](api-gateway-caching.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Benutzergesteuerte Bereitstellungen](how-to-deploy-api.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](how-to-deploy-api.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-stages.md)  | 
|  [Automatische Bereitstellungen](http-api-stages.md)  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | 
|  [Benutzerdefinierte Gateway-Antworten](api-gateway-gatewayResponse-definition.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Canary-Release-Bereitstellungen](canary-release.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Anforderungsvalidierung](api-gateway-method-request-validation.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Transformation von Anfrageparametern](rest-api-data-transformations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](rest-api-data-transformations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-parameter-mapping.md)  | 
|  [Transformation von Anforderungstext](rest-api-data-transformations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 

## Überwachen
<a name="http-api-vs-rest.differences.monitoring"></a>

API Gateway unterstützt verschiedene Optionen zum Protokollieren von API-Anfragen und zur Überwachung Ihrer APIs. Weitere Informationen erhalten Sie unter [REST APIs in API Gateway überwachen](rest-api-monitor.md) und [Überwachen Sie HTTP APIs im API Gateway](http-api-monitor.md).


| Feature | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [ CloudWatch Amazon-Metriken](monitoring-cloudwatch.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](monitoring-cloudwatch.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-metrics.md)  | 
|  [Zugriff auf Logs auf CloudWatch Logs](set-up-logging.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](set-up-logging.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-logging.md)  | 
|  [Zugriffsprotokolle für Amazon Data Firehose](apigateway-logging-to-kinesis.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Ausführungsprotokolle](set-up-logging.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [AWS X-Ray Rückverfolgung](apigateway-xray.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 

## Integrationen
<a name="http-api-vs-rest.differences.integrations"></a>

Integrationen verbinden Ihre API-Gateway-API mit Backend-Ressourcen. Weitere Informationen erhalten Sie unter [Integrationen für REST APIs in API Gateway](how-to-integration-settings.md) und [Erstellen von Integrationen für HTTP-APIs in API Gateway](http-api-develop-integrations.md).


| Feature | REST-API | HTTP-API | 
| --- | --- | --- | 
|  [Öffentliche HTTP-Endpunkte](setup-http-integrations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](setup-http-integrations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-develop-integrations-http.md)  | 
|  [AWS Dienstleistungen](api-gateway-api-integration-types.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](api-gateway-api-integration-types.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-develop-integrations-aws-services.md)  | 
|  [AWS Lambda Funktionen](set-up-lambda-integrations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](set-up-lambda-integrations.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-develop-integrations-lambda.md)  | 
|  [Private Integrationen mit Network Load Balancers](set-up-private-integration.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](set-up-private-integration.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](http-api-develop-integrations-private.md)  | 
|  [Private Integrationen mit Application Load Balancers](http-api-develop-integrations-private.md)  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) [ Ja](set-up-private-integration.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | 
|  [Private Integrationen mit AWS Cloud Map](http-api-develop-integrations-private.md)  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein   |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | 
|  [Pseudointegrationen](how-to-mock-integration.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 
|  [Antwort-Streaming](response-transfer-mode.md)  |  ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.svg) Ja  | ![\[alt text not found\]](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.svg) Nein  | 