

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.

# CreateSnapshot
<a name="API_CreateSnapshot"></a>

Erstellt zu einem bestimmten Zeitpunkt eine Kopie eines gesamten Clusters.

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

```
{
   "ClusterName": "string",
   "KmsKeyId": "string",
   "SnapshotName": "string",
   "Tags": [ 
      { 
         "Key": "string",
         "Value": "string"
      }
   ]
}
```

## Anforderungsparameter
<a name="API_CreateSnapshot_RequestParameters"></a>

Informationen zu den Parametern, die alle Aktionen gemeinsam haben, finden Sie unter [Allgemeine Parameter](CommonParameters.md).

Die Anforderung akzeptiert die folgenden Daten im JSON-Format.

 ** [ClusterName](#API_CreateSnapshot_RequestSyntax) **   <a name="MemoryDB-CreateSnapshot-request-ClusterName"></a>
Der Snapshot wird von diesem Cluster aus erstellt.  
Typ: Zeichenfolge  
Erforderlich: Ja

 ** [KmsKeyId](#API_CreateSnapshot_RequestSyntax) **   <a name="MemoryDB-CreateSnapshot-request-KmsKeyId"></a>
Die ID des KMS-Schlüssels, der zum Verschlüsseln des Snapshots verwendet wurde.  
Typ: Zeichenfolge  
Erforderlich: Nein

 ** [SnapshotName](#API_CreateSnapshot_RequestSyntax) **   <a name="MemoryDB-CreateSnapshot-request-SnapshotName"></a>
Ein Name für den Snapshot, der erstellt wird. Dieser Wert wird als Zeichenfolge in Kleinbuchstaben gespeichert.  
Typ: Zeichenfolge  
Erforderlich: Ja

 ** [Tags](#API_CreateSnapshot_RequestSyntax) **   <a name="MemoryDB-CreateSnapshot-request-Tags"></a>
Eine Liste von Tags, die dieser Ressource hinzugefügt werden sollen. Ein Tag ist ein Schlüsselwertpaar. Ein Tag-Schlüssel muss von einem Tag-Wert begleitet werden, obwohl Null akzeptiert wird.  
Typ: Array von [Tag](API_Tag.md)-Objekten  
Array-Mitglieder: Maximale Anzahl von 200 Elementen.  
Erforderlich: Nein

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

```
{
   "Snapshot": { 
      "ARN": "string",
      "ClusterConfiguration": { 
         "Description": "string",
         "Engine": "string",
         "EngineVersion": "string",
         "MaintenanceWindow": "string",
         "MultiRegionClusterName": "string",
         "MultiRegionParameterGroupName": "string",
         "Name": "string",
         "NodeType": "string",
         "NumShards": number,
         "ParameterGroupName": "string",
         "Port": number,
         "Shards": [ 
            { 
               "Configuration": { 
                  "ReplicaCount": number,
                  "Slots": "string"
               },
               "Name": "string",
               "Size": "string",
               "SnapshotCreationTime": number
            }
         ],
         "SnapshotRetentionLimit": number,
         "SnapshotWindow": "string",
         "SubnetGroupName": "string",
         "TopicArn": "string",
         "VpcId": "string"
      },
      "DataTiering": "string",
      "KmsKeyId": "string",
      "Name": "string",
      "Source": "string",
      "Status": "string"
   }
}
```

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

 ** [Snapshot](#API_CreateSnapshot_ResponseSyntax) **   <a name="MemoryDB-CreateSnapshot-response-Snapshot"></a>
Der neu erstellte Snapshot.  
Typ: [Snapshot](API_Snapshot.md) Objekt

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

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

 ** ClusterNotFoundFault **   
  
HTTP-Statuscode: 400

 ** InvalidClusterStateFault **   
  
HTTP-Statuscode: 400

 ** InvalidParameterCombinationException **   
  
HTTP-Statuscode: 400

 ** InvalidParameterValueException **   
  
HTTP-Statuscode: 400

 ** ServiceLinkedRoleNotFoundFault **   
  
HTTP-Statuscode: 400

 ** SnapshotAlreadyExistsFault **   
  
HTTP-Statuscode: 400

 ** SnapshotQuotaExceededFault **   
  
HTTP-Statuscode: 400

 ** TagQuotaPerResourceExceeded **   
  
HTTP-Statuscode: 400

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

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