

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# ListRestoreJobs
<a name="API_ListRestoreJobs"></a>

復旧プロセスの詳細など、保存されたリソースを復元するために が AWS Backup 開始したジョブのリストを返します。

## リクエストの構文
<a name="API_ListRestoreJobs_RequestSyntax"></a>

```
GET /restore-jobs/?accountId=ByAccountId&completeAfter=ByCompleteAfter&completeBefore=ByCompleteBefore&createdAfter=ByCreatedAfter&createdBefore=ByCreatedBefore&maxResults=MaxResults&nextToken=NextToken&parentJobId=ByParentJobId&resourceType=ByResourceType&restoreTestingPlanArn=ByRestoreTestingPlanArn&status=ByStatus HTTP/1.1
```

## URI リクエストパラメータ
<a name="API_ListRestoreJobs_RequestParameters"></a>

リクエストでは、次の URI パラメータを使用します。

 ** [ByAccountId](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByAccountId"></a>
ジョブを一覧表示するアカウント ID。指定されたアカウント ID に関連付けられた復元ジョブのみを返します。  
パターン: `^[0-9]{12}$` 

 ** [ByCompleteAfter](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByCompleteAfter"></a>
Unix 形式および協定世界時 (UTC) で表された日付の後に完了したコピージョブのみを返します。

 ** [ByCompleteBefore](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByCompleteBefore"></a>
Unix 形式および協定世界時 (UTC) で表される日付より前に完了したコピージョブのみを返します。

 ** [ByCreatedAfter](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByCreatedAfter"></a>
指定した日付より後に作成された復元ジョブのみを返します。

 ** [ByCreatedBefore](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByCreatedBefore"></a>
指定した日付より前に作成された復元ジョブのみを返します。

 ** [ByParentJobId](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByParentJobId"></a>
これは、親復元ジョブ ID に基づいて子 (ネストされた) 復元ジョブを一覧表示するフィルターです。

 ** [ByResourceType](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByResourceType"></a>
このパラメータを追加すると、指定されたリソースの復元ジョブのみを返します。  
+  Amazon Aurora の場合は `Aurora`
+  `CloudFormation` の AWS CloudFormation 
+  Amazon DocumentDB (MongoDB 互換性) の場合は `DocumentDB`
+  Amazon DynamoDB 用の `DynamoDB`
+  Amazon Elastic Block Store 用の `EBS`
+  Amazon Elastic Compute Cloud 用の `EC2`
+  Amazon Elastic File System 用の `EFS`
+  `EKS` for Amazon Elastic Kubernetes Service
+  Amazon FSx の場合 用の `FSx`
+  Amazon Neptune の場合 用の `Neptune`
+  Amazon Relational Database Service 用の `RDS`
+  Amazon Redshift 用の `Redshift`
+  Amazon Simple Storage Service (Amazon S3) 用の `S3`
+  Amazon Elastic Compute Cloud インスタンスでの SAP HANA データベース用の `SAP HANA on Amazon EC2`
+  `Storage Gateway` の AWS Storage Gateway 
+  Amazon Timestream 用の `Timestream`
+  VMware 仮想マシン用の `VirtualMachine`
パターン: `^[a-zA-Z0-9\-\_\.]{1,50}$` 

 ** [ByRestoreTestingPlanArn](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByRestoreTestingPlanArn"></a>
指定されたリソースの Amazon リソースネーム (ARN) に一致する復元テストジョブのみを返します。

 ** [ByStatus](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-ByStatus"></a>
指定されたジョブステータスに関連付けられた復元ジョブのみを返します。  
有効な値：`PENDING | RUNNING | COMPLETED | ABORTED | FAILED`

 ** [MaxResults](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-MaxResults"></a>
返されるアイテムの最大数。  
有効な範囲: 最小値 は 1 です。最大値は 1000 です。

 ** [NextToken](#API_ListRestoreJobs_RequestSyntax) **   <a name="Backup-ListRestoreJobs-request-uri-NextToken"></a>
返された項目の一部リストに続く次の項目。たとえば、`MaxResults` アイテム数のリクエストが行われるようにされた場合、`NextToken` では、次のトークンが指すロケーションから開始して、リスト内のより多くのアイテムを返すことができます。

## リクエスト本文
<a name="API_ListRestoreJobs_RequestBody"></a>

リクエストにリクエスト本文がありません。

## レスポンスの構文
<a name="API_ListRestoreJobs_ResponseSyntax"></a>

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

{
   "NextToken": "string",
   "RestoreJobs": [ 
      { 
         "AccountId": "string",
         "BackupSizeInBytes": number,
         "BackupVaultArn": "string",
         "CompletionDate": number,
         "CreatedBy": { 
            "RestoreTestingPlanArn": "string"
         },
         "CreatedResourceArn": "string",
         "CreationDate": number,
         "DeletionStatus": "string",
         "DeletionStatusMessage": "string",
         "ExpectedCompletionTimeMinutes": number,
         "IamRoleArn": "string",
         "IsParent": boolean,
         "ParentJobId": "string",
         "PercentDone": "string",
         "RecoveryPointArn": "string",
         "RecoveryPointCreationDate": number,
         "ResourceType": "string",
         "RestoreJobId": "string",
         "SourceResourceArn": "string",
         "Status": "string",
         "StatusMessage": "string",
         "ValidationStatus": "string",
         "ValidationStatusMessage": "string"
      }
   ]
}
```

## レスポンス要素
<a name="API_ListRestoreJobs_ResponseElements"></a>

アクションが成功すると、サービスは HTTP 200 レスポンスを返します。

サービスから以下のデータが JSON 形式で返されます。

 ** [NextToken](#API_ListRestoreJobs_ResponseSyntax) **   <a name="Backup-ListRestoreJobs-response-NextToken"></a>
返された項目の一部リストに続く次の項目。たとえば、`MaxResults` アイテム数のリクエストが行われるようにされた場合、`NextToken` では、次のトークンが指すロケーションから開始して、リスト内のより多くのアイテムを返すことができます。  
タイプ: 文字列

 ** [RestoreJobs](#API_ListRestoreJobs_ResponseSyntax) **   <a name="Backup-ListRestoreJobs-response-RestoreJobs"></a>
保存されたリソースをリストアするためのジョブに関する詳細情報を含むオブジェクトの配列。  
型: [RestoreJobsListMember](API_RestoreJobsListMember.md) オブジェクトの配列

## エラー
<a name="API_ListRestoreJobs_Errors"></a>

すべてのアクションに共通のエラーについては、「[一般的なエラータイプ](CommonErrors.md)」を参照してください。

 ** InvalidParameterValueException **   
パラメータの値に問題があることを示します。たとえば、値が範囲外であることです。    
 ** Context **   
  
 ** Type **   

HTTP ステータスコード: 400

 ** MissingParameterValueException **   
必須パラメータがないことを示します。    
 ** Context **   
  
 ** Type **   

HTTP ステータスコード: 400

 ** ResourceNotFoundException **   
アクションに必要なリソースは存在しません。    
 ** Context **   
  
 ** Type **   

HTTP ステータスコード: 400

 ** ServiceUnavailableException **   
サーバーの一時的障害のため、リクエストは失敗しました。    
 ** Context **   
  
 ** Type **   

HTTP ステータスコード: 500

## その他の参照資料
<a name="API_ListRestoreJobs_SeeAlso"></a>

言語固有の AWS SDKs のいずれかでこの API を使用する方法の詳細については、以下を参照してください。
+  [AWS コマンドラインインターフェイス V2](https://docs.aws.amazon.com/goto/cli2/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/backup-2018-11-15/ListRestoreJobs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/backup-2018-11-15/ListRestoreJobs) 