

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.

# GetBotChannelAssociations
<a name="API_GetBotChannelAssociations"></a>

 Gibt eine Liste aller Kanäle zurück, die dem angegebenen Bot zugeordnet sind. 

Für den `GetBotChannelAssociations` Vorgang sind Berechtigungen für die `lex:GetBotChannelAssociations` Aktion erforderlich.

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

```
GET /bots/botName/aliases/aliasName/channels/?maxResults=maxResults&nameContains=nameContains&nextToken=nextToken HTTP/1.1
```

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

Die Anforderung verwendet die folgenden URI-Parameter.

 ** [aliasName](#API_GetBotChannelAssociations_RequestSyntax) **   <a name="lex-GetBotChannelAssociations-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_GetBotChannelAssociations_RequestSyntax) **   <a name="lex-GetBotChannelAssociations-request-uri-botName"></a>
Der Name des Amazon Lex-Bots in der Assoziation.  
Längenbeschränkungen: Mindestlänge von 2. Maximale Länge = 50 Zeichen.  
Pattern: `^([A-Za-z]_?)+$`   
Erforderlich: Ja

 ** [maxResults](#API_GetBotChannelAssociations_RequestSyntax) **   <a name="lex-GetBotChannelAssociations-request-uri-maxResults"></a>
Die maximale Anzahl von Assoziationen, die in der Antwort zurückgegeben werden sollen. Der Standardwert ist 50.   
Gültiger Bereich: Mindestwert 1. Maximaler Wert von 50.

 ** [nameContains](#API_GetBotChannelAssociations_RequestSyntax) **   <a name="lex-GetBotChannelAssociations-request-uri-nameContains"></a>
Teilzeichenfolge, die in den Namen der Kanalzuordnungen übereinstimmen soll. Eine Assoziation wird zurückgegeben, wenn ein Teil ihres Namens mit der Teilzeichenfolge übereinstimmt. Zum Beispiel entspricht „xyz“ sowohl „xyzabc“ als auch „abcxyz“. Um alle Bot-Kanalzuordnungen zurückzugeben, verwenden Sie einen Bindestrich („-“) als Parameter. `nameContains`  
Längenbeschränkungen: Minimale Länge von 1. Maximale Länge beträgt 100 Zeichen.  
Pattern: `^([A-Za-z]_?)+$` 

 ** [nextToken](#API_GetBotChannelAssociations_RequestSyntax) **   <a name="lex-GetBotChannelAssociations-request-uri-nextToken"></a>
Ein Paginierungstoken zum Abrufen der nächsten Seite mit Assoziationen. Wenn die Antwort auf diesen Anruf gekürzt wird, gibt Amazon Lex in der Antwort ein Paginierungstoken zurück. Um die nächste Seite mit Verknüpfungen abzurufen, geben Sie das Paginierungstoken in der nächsten Anfrage an. 

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

Der Anforderung besitzt keinen Anforderungstext.

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

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

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

## Antwortelemente
<a name="API_GetBotChannelAssociations_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.

 ** [botChannelAssociations](#API_GetBotChannelAssociations_ResponseSyntax) **   <a name="lex-GetBotChannelAssociations-response-botChannelAssociations"></a>
Eine Reihe von Objekten, eines für jede Assoziation, die Informationen über den Amazon Lex Lex-Bot und seine Zuordnung zum Kanal bereitstellt.   
Typ: Array von [BotChannelAssociation](API_BotChannelAssociation.md)-Objekten

 ** [nextToken](#API_GetBotChannelAssociations_ResponseSyntax) **   <a name="lex-GetBotChannelAssociations-response-nextToken"></a>
Ein Paginierungstoken, das die nächste Seite mit Assoziationen abruft. Wenn die Antwort auf diesen Anruf gekürzt wird, gibt Amazon Lex in der Antwort ein Paginierungstoken zurück. Um die nächste Seite mit Verknüpfungen abzurufen, geben Sie das Paginierungstoken in der nächsten Anfrage an.   
Typ: Zeichenfolge

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

 ** BadRequestException **   
Die Anfrage ist nicht korrekt formuliert. 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

## Weitere Informationen finden Sie unter:
<a name="API_GetBotChannelAssociations_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/GetBotChannelAssociations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK für JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK für Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK für Python](https://docs.aws.amazon.com/goto/boto3/lex-models-2017-04-19/GetBotChannelAssociations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lex-models-2017-04-19/GetBotChannelAssociations) 