

Hinweis zum Ende des Supports: Am 15. September 2025 AWS wird der Support für Amazon Lex V1 eingestellt. Nach dem 15. September 2025 können Sie nicht mehr auf die Amazon-Lex-V1-Konsole oder die Amazon-Lex-V1-Ressourcen zugreifen. Wenn Sie Amazon Lex V2 verwenden, lesen Sie stattdessen das [Amazon Lex V2-Handbuch](https://docs.aws.amazon.com/lexv2/latest/dg/what-is.html). 

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.

# GetBotChannelAssociation
<a name="API_GetBotChannelAssociation"></a>

Gibt Informationen über die Verbindung zwischen einem Amazon Lex Lex-Bot und einer Messaging-Plattform zurück.

Diese Operation erfordert Berechtigungen für die Aktion `lex:GetBotChannelAssociation`.

## Anforderungssyntax
<a name="API_GetBotChannelAssociation_RequestSyntax"></a>

```
GET /bots/botName/aliases/aliasName/channels/name HTTP/1.1
```

## URI-Anfrageparameter
<a name="API_GetBotChannelAssociation_RequestParameters"></a>

Die Anforderung verwendet die folgenden URI-Parameter.

 ** [aliasName](#API_GetBotChannelAssociation_RequestSyntax) **   <a name="lex-GetBotChannelAssociation-request-uri-botAlias"></a>
Ein Alias, der auf die spezifische Version des Amazon Lex Lex-Bot verweist, zu dem diese Zuordnung hergestellt wird.  
Längenbeschränkungen: Minimale Länge von 1. Maximale Länge beträgt 100 Zeichen.  
Pattern: `^([A-Za-z]_?)+$`   
Erforderlich: Ja

 ** [botName](#API_GetBotChannelAssociation_RequestSyntax) **   <a name="lex-GetBotChannelAssociation-request-uri-botName"></a>
Der Name des Amazon Lex Lex-Bot.  
Längenbeschränkungen: Mindestlänge von 2. Maximale Länge = 50 Zeichen.  
Pattern: `^([A-Za-z]_?)+$`   
Erforderlich: Ja

 ** [name](#API_GetBotChannelAssociation_RequestSyntax) **   <a name="lex-GetBotChannelAssociation-request-uri-name"></a>
Der Name der Assoziation zwischen dem Bot und dem Kanal. Der Name berücksichtigt Groß- und Kleinschreibung.   
Längenbeschränkungen: Minimale Länge von 1. Maximale Länge beträgt 100 Zeichen.  
Pattern: `^([A-Za-z]_?)+$`   
Erforderlich: Ja

## Anforderungstext
<a name="API_GetBotChannelAssociation_RequestBody"></a>

Der Anforderung besitzt keinen Anforderungstext.

## Antwortsyntax
<a name="API_GetBotChannelAssociation_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "botAlias": "string",
   "botConfiguration": { 
      "string" : "string" 
   },
   "botName": "string",
   "createdDate": number,
   "description": "string",
   "failureReason": "string",
   "name": "string",
   "status": "string",
   "type": "string"
}
```

## Antwortelemente
<a name="API_GetBotChannelAssociation_ResponseElements"></a>

Wenn die Aktion erfolgreich ist, sendet der Service eine HTTP 200-Antwort zurück.

Die folgenden Daten werden vom Service im JSON-Format zurückgegeben.

 ** [botAlias](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-botAlias"></a>
Ein Alias, der auf die spezifische Version des Amazon Lex Lex-Bot verweist, zu dem diese Zuordnung hergestellt wird.  
Typ: Zeichenfolge  
Längenbeschränkungen: Minimale Länge von 1. Maximale Länge beträgt 100 Zeichen.  
Pattern: `^([A-Za-z]_?)+$` 

 ** [botConfiguration](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-botConfiguration"></a>
Stellt Informationen bereit, die die Messaging-Plattform für die Kommunikation mit dem Amazon Lex Lex-Bot benötigt.  
Typ: Abbildung einer Zeichenfolge auf eine Zeichenfolge  
Karteneinträge: Maximale Anzahl von 10 Elementen.

 ** [botName](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-botName"></a>
Der Name des Amazon Lex Lex-Bot.  
Typ: Zeichenfolge  
Längenbeschränkungen: Mindestlänge von 2. Maximale Länge = 50 Zeichen.  
Pattern: `^([A-Za-z]_?)+$` 

 ** [createdDate](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-createdDate"></a>
Das Datum, an dem die Verbindung zwischen dem Bot und dem Kanal erstellt wurde.  
Typ: Zeitstempel

 ** [description](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-description"></a>
Eine Beschreibung der Verbindung zwischen dem Bot und dem Kanal.  
Typ: Zeichenfolge  
Längenbeschränkungen: Minimale Länge von 0. Höchstlänge = 200 Zeichen.

 ** [failureReason](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-failureReason"></a>
Falls `status` ja`FAILED`, gibt Amazon Lex den Grund an, warum die Zuordnung nicht erstellt werden konnte.  
Typ: Zeichenfolge

 ** [name](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-name"></a>
Der Name der Assoziation zwischen dem Bot und dem Kanal.  
Typ: Zeichenfolge  
Längenbeschränkungen: Minimale Länge von 1. Maximale Länge beträgt 100 Zeichen.  
Pattern: `^([A-Za-z]_?)+$` 

 ** [status](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-status"></a>
Der Status des Bot-Kanals.   
+  `CREATED`- Der Kanal wurde erstellt und ist einsatzbereit.
+  `IN_PROGRESS`- Die Erstellung des Kanals ist im Gange.
+  `FAILED`- Beim Erstellen des Kanals ist ein Fehler aufgetreten. Informationen zur Ursache des Fehlers finden Sie in dem `failureReason` Feld.
Typ: Zeichenfolge  
Zulässige Werte: `IN_PROGRESS | CREATED | FAILED` 

 ** [type](#API_GetBotChannelAssociation_ResponseSyntax) **   <a name="lex-GetBotChannelAssociation-response-type"></a>
Der Typ der Messaging-Plattform.  
Typ: Zeichenfolge  
Zulässige Werte: `Facebook | Slack | Twilio-Sms | Kik` 

## Fehler
<a name="API_GetBotChannelAssociation_Errors"></a>

 ** BadRequestException **   
Die Anfrage ist nicht wohlformuliert. Beispielsweise ist ein Wert ungültig oder ein erforderliches Feld fehlt. Überprüfen Sie die Feldwerte und versuchen Sie es erneut.  
HTTP-Statuscode: 400

 ** InternalFailureException **   
Ein interner Amazon Lex Lex-Fehler ist aufgetreten. Versuchen Sie es erneut.  
HTTP Status Code: 500

 ** LimitExceededException **   
Die Anfrage hat ein Limit überschritten. Versuchen Sie es erneut.  
HTTP-Statuscode: 429

 ** NotFoundException **   
Die in der Anfrage angegebene Ressource wurde nicht gefunden. Überprüfen Sie die Ressource und versuchen Sie es erneut.  
HTTP-Statuscode: 404

## Weitere Informationen finden Sie unter:
<a name="API_GetBotChannelAssociation_SeeAlso"></a>

Weitere Informationen zur Verwendung dieser API in einer der sprachspezifischen Sprachen AWS SDKs finden Sie im Folgenden:
+  [AWS Befehlszeilenschnittstelle V2](https://docs.aws.amazon.com/goto/cli2/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK für JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK für Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK für Python](https://docs.aws.amazon.com/goto/boto3/lex-models-2017-04-19/GetBotChannelAssociation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lex-models-2017-04-19/GetBotChannelAssociation) 