

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.

# UpdateNotificationConfiguration
<a name="API_UpdateNotificationConfiguration"></a>

Aktualisiert die Benachrichtigungsinformationen für einen Stream.

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

```
POST /updateNotificationConfiguration HTTP/1.1
Content-type: application/json

{
   "NotificationConfiguration": { 
      "DestinationConfig": { 
         "Uri": "string"
      },
      "Status": "string"
   },
   "StreamARN": "string",
   "StreamName": "string"
}
```

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

Die Anforderung verwendet keine URI-Parameter.

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

Die Anforderung akzeptiert die folgenden Daten im JSON-Format.

 ** [NotificationConfiguration](#API_UpdateNotificationConfiguration_RequestSyntax) **   <a name="KinesisVideo-UpdateNotificationConfiguration-request-NotificationConfiguration"></a>
Die Struktur, die die für Benachrichtigungen erforderlichen Informationen enthält. Wenn die Struktur Null ist, wird die Konfiguration aus dem Stream gelöscht.  
Typ: [NotificationConfiguration](API_NotificationConfiguration.md) Objekt  
Erforderlich: Nein

 ** [StreamARN](#API_UpdateNotificationConfiguration_RequestSyntax) **   <a name="KinesisVideo-UpdateNotificationConfiguration-request-StreamARN"></a>
Der Amazon-Ressourcenname (ARN) des Kinesis-Videostreams, von dem aus Sie die Benachrichtigungskonfiguration aktualisieren möchten. Sie müssen entweder den `StreamName` oder den `StreamARN` angeben.  
Typ: Zeichenfolge  
Längenbeschränkungen: Minimale Länge von 1. Maximale Länge beträgt 1024 Zeichen.  
Pattern: `arn:[a-z\d-]+:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+`   
Erforderlich: Nein

 ** [StreamName](#API_UpdateNotificationConfiguration_RequestSyntax) **   <a name="KinesisVideo-UpdateNotificationConfiguration-request-StreamName"></a>
Der Name des Streams, aus dem die Benachrichtigungskonfiguration aktualisiert werden soll. Sie müssen entweder den `StreamName` oder den angeben`StreamARN`.  
Typ: Zeichenfolge  
Längenbeschränkungen: Minimale Länge beträgt 1 Zeichen. Maximale Länge beträgt 256 Zeichen.  
Pattern: `[a-zA-Z0-9_.-]+`   
Erforderlich: Nein

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

```
HTTP/1.1 200
```

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

Wenn die Aktion erfolgreich ist, gibt der Dienst eine HTTP 200-Antwort mit leerem HTTP-Textinhalt zurück.

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

Weitere Informationen zu den allgemeinen Fehlern, die bei allen Aktionen zurückgegeben werden, finden Sie unter [Häufige Fehlertypen](CommonErrors.md).

 ** AccessDeniedException **   
Sie verfügen nicht über die erforderlichen Berechtigungen, um diesen Vorgang auszuführen.  
HTTP-Statuscode: 401

 ** ClientLimitExceededException **   
Kinesis Video Streams hat die Anfrage gedrosselt, weil Sie das Limit der erlaubten Client-Aufrufe überschritten haben. Versuchen Sie später, den Anruf zu tätigen.  
HTTP-Statuscode: 400

 ** InvalidArgumentException **   
Der Wert für diesen Eingabeparameter ist ungültig.  
HTTP-Statuscode: 400

 ** NoDataRetentionException **   
Die Stream-Datenspeicherung in Stunden ist gleich Null.  
HTTP-Statuscode: 400

 ** ResourceInUseException **   
Wenn der Eingang `StreamARN` oder `ChannelARN` Eingang bereits einer anderen Kinesis Video Stream-Ressource zugeordnet `CLOUD_STORAGE_MODE` ist oder wenn sich der angegebene Eingang `StreamARN` oder Eingang nicht im Status Aktiv `ChannelARN` befindet, versuchen Sie es mit einer der folgenden Methoden:   

1. Die `DescribeMediaStorageConfiguration` API, um zu ermitteln, welchem Stream der angegebene Kanal zugeordnet ist. 

1. Die `DescribeMappedResourceConfiguration` API zur Bestimmung des Kanals, dem der angegebene Stream zugeordnet ist. 

1. Die `DescribeStream` oder `DescribeSignalingChannel` API zur Bestimmung des Status der Ressource. 
HTTP-Statuscode: 400

 ** ResourceNotFoundException **   
Amazon Kinesis Video Streams kann den von Ihnen angegebenen Stream nicht finden.  
HTTP-Statuscode: 404

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

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