

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

# ListArchiveRules
<a name="API_ListArchiveRules"></a>

指定されたアナライザー用に作成されたアーカイブルールのリストを取得します。

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

```
GET /analyzer/analyzerName/archive-rule?maxResults=maxResults&nextToken=nextToken HTTP/1.1
```

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

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

 ** [analyzerName](#API_ListArchiveRules_RequestSyntax) **   <a name="accessanalyzer-ListArchiveRules-request-uri-analyzerName"></a>
ルールを取得するアナライザーの名前。  
長さの制限：最小長 1、最大長は 255 です。  
パターン: `[A-Za-z][A-Za-z0-9_.-]*`   
必須: はい

 ** [maxResults](#API_ListArchiveRules_RequestSyntax) **   <a name="accessanalyzer-ListArchiveRules-request-uri-maxResults"></a>
リクエストで返される結果の最大数。

 ** [nextToken](#API_ListArchiveRules_RequestSyntax) **   <a name="accessanalyzer-ListArchiveRules-request-uri-nextToken"></a>
返された結果のページ分割に使用されるトークン。

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

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

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

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

{
   "archiveRules": [ 
      { 
         "createdAt": "string",
         "filter": { 
            "string" : { 
               "contains": [ "string" ],
               "eq": [ "string" ],
               "exists": boolean,
               "neq": [ "string" ]
            }
         },
         "ruleName": "string",
         "updatedAt": "string"
      }
   ],
   "nextToken": "string"
}
```

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

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

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

 ** [archiveRules](#API_ListArchiveRules_ResponseSyntax) **   <a name="accessanalyzer-ListArchiveRules-response-archiveRules"></a>
指定されたアナライザー用に作成されたアーカイブルールのリスト。  
型: [ArchiveRuleSummary](API_ArchiveRuleSummary.md) オブジェクトの配列

 ** [nextToken](#API_ListArchiveRules_ResponseSyntax) **   <a name="accessanalyzer-ListArchiveRules-response-nextToken"></a>
返された結果のページ分割に使用されるトークン。  
タイプ: 文字列

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

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

 ** AccessDeniedException **   
このアクションを実行する十分なアクセス権限がありません。  
HTTP ステータスコード: 403

 ** InternalServerException **   
内部サーバーエラー。    
 ** retryAfterSeconds **   
再試行を待機する秒数。
HTTP ステータスコード: 500

 ** ThrottlingException **   
スロットリング制限超過エラー。    
 ** retryAfterSeconds **   
再試行を待機する秒数。
HTTP ステータスコード: 429

 ** ValidationException **   
検証例外エラー。    
 ** fieldList **   
が検証しなかったフィールドのリスト。  
 ** reason **   
例外の理由。
HTTP ステータスコード: 400

## 以下の資料も参照してください。
<a name="API_ListArchiveRules_SeeAlso"></a>

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