

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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Regional](api-gateway-api-endpoint-types.md#api-gateway-api-endpoint-types-regional) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | 
| [Privat](api-gateway-api-endpoint-types.md#api-gateway-api-endpoint-types-private) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) 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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](rest-api-mutual-tls.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-mutual-tls.md) | 
| [Zertifikate für Backend-Authentifizierung](getting-started-client-side-ssl-authentication.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [AWS WAF](apigateway-control-access-aws-waf.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) 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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](permissions.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-access-control-iam.md) | 
| [Ressourcenrichtlinien](apigateway-resource-policies.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein<br /> | 
| [Amazon Cognito](apigateway-integrate-with-cognito.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja 1 | 
| [Benutzerdefinierte Autorisierung mit einer Funktion AWS Lambda](apigateway-use-lambda-authorizer.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](apigateway-use-lambda-authorizer.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-lambda-authorizer.md) | 
| [JSON Web Token (JWT)](http-api-jwt-authorizer.md) 2 | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) 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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](how-to-custom-domains.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-custom-domain-names.md) | 
| [API-Schlüssel](api-gateway-api-usage-plans.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Clientbasierte Ratenbegrenzung](api-gateway-request-throttling.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Clientbasierte Nutzungsdrosselung](api-gateway-api-usage-plans.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Entwicklerportal](apigateway-portals.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) 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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](how-to-cors.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-cors.md) | 
| [Testaufrufe](how-to-test-method.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Caching](api-gateway-caching.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Benutzergesteuerte Bereitstellungen](how-to-deploy-api.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](how-to-deploy-api.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-stages.md) | 
| [Automatische Bereitstellungen](http-api-stages.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | 
| [Benutzerdefinierte Gateway-Antworten](api-gateway-gatewayResponse-definition.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Canary-Release-Bereitstellungen](canary-release.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Anforderungsvalidierung](api-gateway-method-request-validation.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Transformation von Anfrageparametern](rest-api-data-transformations.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](rest-api-data-transformations.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-parameter-mapping.md) | 
| [Transformation von Anforderungstext](rest-api-data-transformations.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) 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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](monitoring-cloudwatch.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-metrics.md) | 
| [Zugriff auf Logs auf CloudWatch Logs](set-up-logging.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](set-up-logging.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-logging.md) | 
| [Zugriffsprotokolle für Amazon Data Firehose](apigateway-logging-to-kinesis.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Ausführungsprotokolle](set-up-logging.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [AWS X-Ray Rückverfolgung](apigateway-xray.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) 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) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](setup-http-integrations.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-develop-integrations-http.md) | 
| [AWS Dienstleistungen](api-gateway-api-integration-types.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](api-gateway-api-integration-types.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-develop-integrations-aws-services.md) | 
| [AWS Lambda Funktionen](set-up-lambda-integrations.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](set-up-lambda-integrations.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-develop-integrations-lambda.md) | 
| [Private Integrationen mit Network Load Balancers](set-up-private-integration.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](set-up-private-integration.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](http-api-develop-integrations-private.md) | 
| [Private Integrationen mit Application Load Balancers](http-api-develop-integrations-private.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) [ Ja](set-up-private-integration.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | 
| [Private Integrationen mit AWS Cloud Map](http-api-develop-integrations-private.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein<br /> | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | 
| [Pseudointegrationen](how-to-mock-integration.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 
| [Antwort-Streaming](response-transfer-mode.md) | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/success_icon.png) Ja | ![](http://docs.aws.amazon.com/de_de/apigateway/latest/developerguide/images/negative_icon.png) Nein | 