

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.

# GetBackupPlan
<a name="API_GetBackupPlan"></a>

Gibt `BackupPlan`-Details für die angegebene `BackupPlanId` zurück. Bei den Details handelt es sich zusätzlich zu den Plan-Metadaten um den Text eines Backup-Plans im JSON-Format.

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

```
GET /backup/plans/backupPlanId/?MaxScheduledRunsPreview=MaxScheduledRunsPreview&versionId=VersionId HTTP/1.1
```

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

Die Anforderung verwendet die folgenden URI-Parameter.

 ** [backupPlanId](#API_GetBackupPlan_RequestSyntax) **   <a name="Backup-GetBackupPlan-request-uri-BackupPlanId"></a>
Identifiziert einen Backup-Plan.  
Erforderlich: Ja

 ** [MaxScheduledRunsPreview](#API_GetBackupPlan_RequestSyntax) **   <a name="Backup-GetBackupPlan-request-uri-MaxScheduledRunsPreview"></a>
Anzahl der future geplanten Backup-Läufe für die Vorschau. Wenn der Wert auf 0 gesetzt ist (Standard), ist keine Vorschau für geplante Läufe in der Antwort enthalten. Der gültige Bereich liegt zwischen 0 und 10.  
Gültiger Bereich: Mindestwert 0. Der Maximalwert ist 10.

 ** [VersionId](#API_GetBackupPlan_RequestSyntax) **   <a name="Backup-GetBackupPlan-request-uri-VersionId"></a>
Eindeutige, zufällig generierte Unicode- und UTF-8-kodierte Zeichenfolgen, die maximal 1.024 Bytes lang sind. Version IDs kann nicht bearbeitet werden.

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

Der Anforderung besitzt keinen Anforderungstext.

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

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

{
   "AdvancedBackupSettings": [ 
      { 
         "BackupOptions": { 
            "string" : "string" 
         },
         "ResourceType": "string"
      }
   ],
   "BackupPlan": { 
      "AdvancedBackupSettings": [ 
         { 
            "BackupOptions": { 
               "string" : "string" 
            },
            "ResourceType": "string"
         }
      ],
      "BackupPlanName": "string",
      "Rules": [ 
         { 
            "CompletionWindowMinutes": number,
            "CopyActions": [ 
               { 
                  "DestinationBackupVaultArn": "string",
                  "Lifecycle": { 
                     "DeleteAfterDays": number,
                     "DeleteAfterEvent": "string",
                     "MoveToColdStorageAfterDays": number,
                     "OptInToArchiveForSupportedResources": boolean
                  }
               }
            ],
            "EnableContinuousBackup": boolean,
            "IndexActions": [ 
               { 
                  "ResourceTypes": [ "string" ]
               }
            ],
            "Lifecycle": { 
               "DeleteAfterDays": number,
               "DeleteAfterEvent": "string",
               "MoveToColdStorageAfterDays": number,
               "OptInToArchiveForSupportedResources": boolean
            },
            "RecoveryPointTags": { 
               "string" : "string" 
            },
            "RuleId": "string",
            "RuleName": "string",
            "ScanActions": [ 
               { 
                  "MalwareScanner": "string",
                  "ScanMode": "string"
               }
            ],
            "ScheduleExpression": "string",
            "ScheduleExpressionTimezone": "string",
            "StartWindowMinutes": number,
            "TargetBackupVaultName": "string",
            "TargetLogicallyAirGappedBackupVaultArn": "string"
         }
      ],
      "ScanSettings": [ 
         { 
            "MalwareScanner": "string",
            "ResourceTypes": [ "string" ],
            "ScannerRoleArn": "string"
         }
      ]
   },
   "BackupPlanArn": "string",
   "BackupPlanId": "string",
   "CreationDate": number,
   "CreatorRequestId": "string",
   "DeletionDate": number,
   "LastExecutionDate": number,
   "ScheduledRunsPreview": [ 
      { 
         "ExecutionTime": number,
         "RuleExecutionType": "string",
         "RuleId": "string"
      }
   ],
   "VersionId": "string"
}
```

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

 ** [AdvancedBackupSettings](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-AdvancedBackupSettings"></a>
Enthält eine Liste von `BackupOptions` für jeden Ressourcentyp. Die Liste wird nur aufgefüllt, wenn die erweiterte Option für den Backup-Plan festgelegt ist.  
Typ: Array von [AdvancedBackupSetting](API_AdvancedBackupSetting.md)-Objekten

 ** [BackupPlan](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-BackupPlan"></a>
Gibt den Text eines Backup-Plans an. Beinhaltet einen `BackupPlanName` und einen oder mehrere Sätze von `Rules`.  
Typ: [BackupPlan](API_BackupPlan.md) Objekt

 ** [BackupPlanArn](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-BackupPlanArn"></a>
Ein Amazon-Ressourcenname (ARN), der einen Backup-Plan eindeutig identifiziert, z. B. `arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50`.  
Typ: Zeichenfolge

 ** [BackupPlanId](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-BackupPlanId"></a>
Identifiziert einen Backup-Plan.  
Typ: Zeichenfolge

 ** [CreationDate](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-CreationDate"></a>
Das Datum und die Uhrzeit der Erstellung der Domainliste im Unix-Zeitformat und in der koordinierten Weltzeit (UTC). Der Wert von `CreationDate` ist auf Millisekunden genau. Der Wert 1516925490.087 steht beispielsweise für Freitag, 26. Januar 2018, 12:11:30.087 Uhr.  
Typ: Zeitstempel

 ** [CreatorRequestId](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-CreatorRequestId"></a>
Eine eindeutige Zeichenfolge, die die Anfrage angibt und die Wiederholung fehlgeschlagener Anforderungen ermöglicht, ohne dass das Risiko besteht, dass die Operation zweimal ausgeführt wird.   
Typ: Zeichenfolge

 ** [DeletionDate](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-DeletionDate"></a>
Das Datum und die Uhrzeit der Löschung eines Backup-Plans im Unix-Zeitformat und in der koordinierten Weltzeit (UTC). Der Wert von `DeletionDate` ist auf Millisekunden genau. Der Wert 1516925490.087 steht beispielsweise für Freitag, 26. Januar 2018, 12:11:30.087 Uhr.  
Typ: Zeitstempel

 ** [LastExecutionDate](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-LastExecutionDate"></a>
Das letzte Mal, als dieser Backup-Plan ausgeführt wurde. Datum und Uhrzeit im Unix-Format sowie in UTC (Universal Coordinated Time). Der Wert von `LastExecutionDate` ist auf Millisekunden genau. Der Wert 1516925490.087 steht beispielsweise für Freitag, 26. Januar 2018, 12:11:30.087 Uhr.  
Typ: Zeitstempel

 ** [ScheduledRunsPreview](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-ScheduledRunsPreview"></a>
Liste der bevorstehenden geplanten Backup-Läufe. Nur enthalten, wenn der `MaxScheduledRunsPreview` Parameter größer als 0 ist. Enthält bis zu 10 future Backup-Ausführungen mit ihren geplanten Zeiten, Ausführungstypen und zugehörigen Regeln IDs.  
Typ: Array von [ScheduledPlanExecutionMember](API_ScheduledPlanExecutionMember.md)-Objekten

 ** [VersionId](#API_GetBackupPlan_ResponseSyntax) **   <a name="Backup-GetBackupPlan-response-VersionId"></a>
Eindeutige, zufällig generierte Unicode- und UTF-8-kodierte Zeichenfolgen, die maximal 1.024 Bytes lang sind. Die Version IDs kann nicht bearbeitet werden.  
Typ: Zeichenfolge

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

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

 ** InvalidParameterValueException **   
Zeigt an, dass etwas mit dem Wert eines Parameters nicht stimmt. Beispielsweise liegt der Wert außerhalb des zulässigen Bereichs.    
 ** Context **   
  
 ** Type **   

HTTP-Statuscode: 400

 ** MissingParameterValueException **   
Zeigt an, dass ein erforderlicher Parameter fehlt.    
 ** Context **   
  
 ** Type **   

HTTP-Statuscode: 400

 ** ResourceNotFoundException **   
Eine Ressource, die für die Aktion erforderlich ist, ist nicht vorhanden.    
 ** Context **   
  
 ** Type **   

HTTP-Statuscode: 400

 ** ServiceUnavailableException **   
Die Anforderung ist aufgrund eines temporären Fehlers des Servers fehlgeschlagen.    
 ** Context **   
  
 ** Type **   

HTTP Status Code: 500

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